v2.0.0.0009-beta
This commit is contained in:
@@ -1252,6 +1252,7 @@ function openPopUp(dataType, element) {
|
||||
input.setAttribute("readonly", "true");
|
||||
}
|
||||
content.appendRow("{{.mapping.channelName.title}}", input);
|
||||
content.description(data["name"]);
|
||||
// Aktualisierung des Kanalnamens
|
||||
if (data.hasOwnProperty("_uuid.key")) {
|
||||
if (data["_uuid.key"] != "") {
|
||||
|
||||
68
src/webUI.go
68
src/webUI.go
File diff suppressed because one or more lines are too long
@@ -597,10 +597,14 @@ func Web(w http.ResponseWriter, r *http.Request) {
|
||||
|
||||
if getFilenameFromPath(requestFile) == "html" {
|
||||
|
||||
if len(Data.Streams.All) == 0 && System.ScanInProgress == 0 {
|
||||
if System.ScanInProgress == 0 {
|
||||
|
||||
if len(Settings.Files.M3U) == 0 || len(Settings.Files.HDHR) == 0 {
|
||||
System.ConfigurationWizard = true
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
switch System.ConfigurationWizard {
|
||||
|
||||
case true:
|
||||
|
||||
@@ -760,7 +760,9 @@ func createDummyProgram(xepgChannel XEPGChannelStruct) (dummyXMLTV XMLTV) {
|
||||
epg.Poster = append(epg.Poster, poster)
|
||||
}
|
||||
|
||||
if xepgChannel.XCategory != "Movie" {
|
||||
epg.EpisodeNum = append(epg.EpisodeNum, &EpisodeNum{Value: epgStartTime.Format("2006-01-02 15:04:05"), System: "original-air-date"})
|
||||
}
|
||||
|
||||
epg.New = &New{Value: ""}
|
||||
|
||||
@@ -823,10 +825,10 @@ func getEpisodeNum(program *Program, xmltvProgram *Program, xepgChannel XEPGChan
|
||||
|
||||
program.EpisodeNum = xmltvProgram.EpisodeNum
|
||||
|
||||
if len(xepgChannel.XCategory) > 0 {
|
||||
if len(xepgChannel.XCategory) > 0 && xepgChannel.XCategory != "Movie" {
|
||||
|
||||
if len(xmltvProgram.EpisodeNum) == 0 {
|
||||
program.EpisodeNum = append(program.EpisodeNum, &EpisodeNum{Value: time.Now().Format("2006-01-02"), System: "original-air-date"})
|
||||
program.EpisodeNum = append(program.EpisodeNum, &EpisodeNum{Value: time.Now().Format("2006-01-02 15:04:05"), System: "original-air-date"})
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -1530,6 +1530,8 @@ function openPopUp(dataType, element) {
|
||||
}
|
||||
content.appendRow("{{.mapping.channelName.title}}", input)
|
||||
|
||||
content.description(data["name"])
|
||||
|
||||
// Aktualisierung des Kanalnamens
|
||||
if (data.hasOwnProperty("_uuid.key")) {
|
||||
if (data["_uuid.key"] != "") {
|
||||
|
||||
Reference in New Issue
Block a user