Schedule can be deactivated

This commit is contained in:
marmei
2020-06-03 23:11:25 +02:00
parent 38333d65cb
commit d8fc1aea97
6 changed files with 228 additions and 136 deletions

View File

@@ -1,6 +1,8 @@
{ {
"mainMenu": { "mainMenu":
"item":{ {
"item":
{
"playlist": "Playlist", "playlist": "Playlist",
"pmsID": "PMS ID", "pmsID": "PMS ID",
"filter": "Filter", "filter": "Filter",
@@ -11,7 +13,8 @@
"log": "Log", "log": "Log",
"logout": "Logout" "logout": "Logout"
}, },
"headline": { "headline":
{
"playlist": "Local or remote playlists", "playlist": "Local or remote playlists",
"filter": "Filter playlist", "filter": "Filter playlist",
"xmltv": "Local or remote XMLTV files", "xmltv": "Local or remote XMLTV files",
@@ -22,15 +25,18 @@
"logout": "Logout" "logout": "Logout"
} }
}, },
"confirm":{ "confirm":
{
"restore": "All data will be replaced with those from the backup. Should the files be restored?" "restore": "All data will be replaced with those from the backup. Should the files be restored?"
}, },
"alert": { "alert":
{
"fileLoadingError": "File couldn't be loaded", "fileLoadingError": "File couldn't be loaded",
"invalidChannelNumber": "Invalid channel number", "invalidChannelNumber": "Invalid channel number",
"missingInput": "Missing input" "missingInput": "Missing input"
}, },
"button":{ "button":
{
"back": "Back", "back": "Back",
"backup": "Backup", "backup": "Backup",
"bulkEdit": "Bulk Edit", "bulkEdit": "Bulk Edit",
@@ -48,58 +54,70 @@
"resetLogs": "Reset Logs", "resetLogs": "Reset Logs",
"uploadLogo": "Upload Logo" "uploadLogo": "Upload Logo"
}, },
"filter": { "filter":
"table": { {
"table":
{
"name": "Filter Name", "name": "Filter Name",
"type": "Filter Type", "type": "Filter Type",
"filter": "Filter" "filter": "Filter"
}, },
"custom": "Custom", "custom": "Custom",
"group": "Group", "group": "Group",
"name": { "name":
{
"title": "Filter Name", "title": "Filter Name",
"placeholder": "Filter name", "placeholder": "Filter name",
"description": "" "description": ""
}, },
"description": { "description":
{
"title": "Description", "title": "Description",
"placeholder": "Description", "placeholder": "Description",
"description": "" "description": ""
}, },
"type": { "type":
{
"title": "Type", "title": "Type",
"groupTitle": "Group Title", "groupTitle": "Group Title",
"customFilter": "Custom Filter" "customFilter": "Custom Filter"
}, },
"caseSensitive": { "caseSensitive":
{
"title": "Case Sensitive", "title": "Case Sensitive",
"placeholder": "", "placeholder": "",
"description": "" "description": ""
}, },
"filterRule": { "filterRule":
{
"title": "Filter Rule", "title": "Filter Rule",
"placeholder": "Sport {HD} !{ES,IT}", "placeholder": "Sport {HD} !{ES,IT}",
"description": "" "description": ""
}, },
"filterGroup": { "filterGroup":
{
"title": "Group Title", "title": "Group Title",
"placeholder": "", "placeholder": "",
"description": "Select a M3U group. (Counter)<br>Changing the group title in the M3U invalidates the filter." "description": "Select a M3U group. (Counter)<br>Changing the group title in the M3U invalidates the filter."
}, },
"include": { "include":
{
"title": "Include", "title": "Include",
"placeholder": "FHD,UHD", "placeholder": "FHD,UHD",
"description": "Channel name must include.<br>(Comma separated) Comma means or" "description": "Channel name must include.<br>(Comma separated) Comma means or"
}, },
"exclude": { "exclude":
{
"title": "Exclude", "title": "Exclude",
"placeholder": "ES,IT", "placeholder": "ES,IT",
"description": "Channel name must not contain.<br>(Comma separated) Comma means or" "description": "Channel name must not contain.<br>(Comma separated) Comma means or"
} }
}, },
"playlist": { "playlist":
"table": { {
"table":
{
"playlist": "Playlist", "playlist": "Playlist",
"tuner": "Tuner", "tuner": "Tuner",
"lastUpdate": "Last Update", "lastUpdate": "Last Update",
@@ -110,68 +128,82 @@
"tvgID": "tvg-id", "tvgID": "tvg-id",
"uniqueID": "Unique ID" "uniqueID": "Unique ID"
}, },
"playlistType": { "playlistType":
{
"title": "Playlist type", "title": "Playlist type",
"placeholder": "", "placeholder": "",
"description": "" "description": ""
}, },
"type": { "type":
{
"title": "Type", "title": "Type",
"placeholder": "", "placeholder": "",
"description": "" "description": ""
}, },
"name": { "name":
{
"title": "Name", "title": "Name",
"placeholder": "Playlist name", "placeholder": "Playlist name",
"description": "" "description": ""
}, },
"description": { "description":
{
"title": "Description", "title": "Description",
"placeholder": "Description", "placeholder": "Description",
"description": "" "description": ""
}, },
"fileM3U": { "fileM3U":
{
"title": "M3U File", "title": "M3U File",
"placeholder": "File path or URL of the M3U", "placeholder": "File path or URL of the M3U",
"description": "" "description": ""
}, },
"fileHDHR": { "fileHDHR":
{
"title": "HDHomeRun IP", "title": "HDHomeRun IP",
"placeholder": "IP address and port (192.168.1.10:5004)", "placeholder": "IP address and port (192.168.1.10:5004)",
"description": "" "description": ""
}, },
"tuner": { "tuner":
{
"title": "Tuner / Streams", "title": "Tuner / Streams",
"placeholder": "", "placeholder": "",
"description": "Number of parallel connections that can be established to the provider. <br>Only available with activated buffer.<br>New settings will only be applied after quitting all streams." "description": "Number of parallel connections that can be established to the provider. <br>Only available with activated buffer.<br>New settings will only be applied after quitting all streams."
} }
}, },
"xmltv": { "xmltv":
"table": { {
"table":
{
"guide": "Guide", "guide": "Guide",
"lastUpdate": "Last Update", "lastUpdate": "Last Update",
"availability": "Availability", "availability": "Availability",
"channels": "Channels", "channels": "Channels",
"programs": "Programs" "programs": "Programs"
}, },
"name": { "name":
{
"title": "Name", "title": "Name",
"placeholder": "Guide name", "placeholder": "Guide name",
"description": "" "description": ""
}, },
"description": { "description":
{
"title": "Description", "title": "Description",
"placeholder": "Description", "placeholder": "Description",
"description": "" "description": ""
}, },
"fileXMLTV": { "fileXMLTV":
{
"title": "XMLTV File", "title": "XMLTV File",
"placeholder": "File path or URL of the XMLTV", "placeholder": "File path or URL of the XMLTV",
"description": "" "description": ""
} }
}, },
"mapping": { "mapping":
"table": { {
"table":
{
"chNo": "Ch. No.", "chNo": "Ch. No.",
"logo": "Logo", "logo": "Logo",
"channelName": "Channel Name", "channelName": "Channel Name",
@@ -180,59 +212,71 @@
"xmltvFile": "XMLTV File", "xmltvFile": "XMLTV File",
"xmltvID": "XMLTV ID" "xmltvID": "XMLTV ID"
}, },
"active": { "active":
{
"title": "Active", "title": "Active",
"placeholder": "", "placeholder": "",
"description": "" "description": ""
}, },
"channelName": { "channelName":
{
"title": "Channel Name", "title": "Channel Name",
"placeholder": "", "placeholder": "",
"description": "" "description": ""
}, },
"description": { "description":
{
"title": "Channel Description", "title": "Channel Description",
"placeholder": "Used by the Dummy as an XML description", "placeholder": "Used by the Dummy as an XML description",
"description": "" "description": ""
}, },
"updateChannelName": { "updateChannelName":
{
"title": "Update Channel Name", "title": "Update Channel Name",
"placeholder": "", "placeholder": "",
"description": "" "description": ""
}, },
"channelLogo": { "channelLogo":
{
"title": "Logo URL", "title": "Logo URL",
"placeholder": "", "placeholder": "",
"description": "" "description": ""
}, },
"updateChannelLogo": { "updateChannelLogo":
{
"title": "Update Channel Logo", "title": "Update Channel Logo",
"placeholder": "", "placeholder": "",
"description": "" "description": ""
}, },
"epgCategory": { "epgCategory":
{
"title": "EPG Category", "title": "EPG Category",
"placeholder": "", "placeholder": "",
"description": "" "description": ""
}, },
"m3uGroupTitle": { "m3uGroupTitle":
{
"title": "Group Title (xteve.m3u)", "title": "Group Title (xteve.m3u)",
"placeholder": "", "placeholder": "",
"description": "" "description": ""
}, },
"xmltvFile": { "xmltvFile":
{
"title": "XMLTV File", "title": "XMLTV File",
"placeholder": "", "placeholder": "",
"description": "" "description": ""
}, },
"xmltvChannel": { "xmltvChannel":
{
"title": "XMLTV Channel", "title": "XMLTV Channel",
"placeholder": "", "placeholder": "",
"description": "" "description": ""
} }
}, },
"users": { "users":
"table": { {
"table":
{
"username": "Username", "username": "Username",
"password": "Password", "password": "Password",
"web": "WEB", "web": "WEB",
@@ -241,89 +285,108 @@
"xml": "XML", "xml": "XML",
"api": "API" "api": "API"
}, },
"username": { "username":
{
"title": "Username", "title": "Username",
"placeholder": "Username", "placeholder": "Username",
"description": "" "description": ""
}, },
"password": { "password":
{
"title": "Password", "title": "Password",
"placeholder": "Password", "placeholder": "Password",
"description": "" "description": ""
}, },
"confirm": { "confirm":
{
"title": "Confirm", "title": "Confirm",
"placeholder": "Password confirm", "placeholder": "Password confirm",
"description": "" "description": ""
}, },
"web": { "web":
{
"title": "Web Access", "title": "Web Access",
"placeholder": "", "placeholder": "",
"description": "" "description": ""
}, },
"pms": { "pms":
{
"title": "PMS Access", "title": "PMS Access",
"placeholder": "", "placeholder": "",
"description": "" "description": ""
}, },
"m3u": { "m3u":
{
"title": "M3U Access", "title": "M3U Access",
"placeholder": "", "placeholder": "",
"description": "" "description": ""
}, },
"xml": { "xml":
{
"title": "XML Access", "title": "XML Access",
"placeholder": "", "placeholder": "",
"description": "" "description": ""
}, },
"api": { "api":
{
"title": "API Access", "title": "API Access",
"placeholder": "", "placeholder": "",
"description": "" "description": ""
} }
}, },
"settings": { "settings":
"category": { {
"category":
{
"general": "General", "general": "General",
"files": "Files", "files": "Files",
"streaming": "Streaming", "streaming": "Streaming",
"backup": "Backup", "backup": "Backup",
"authentication": "Authentication" "authentication": "Authentication"
}, },
"update": { "update":
{
"title": "Schedule for updating (Playlist, XMLTV, Backup)", "title": "Schedule for updating (Playlist, XMLTV, Backup)",
"placeholder": "0000,1000,2000", "placeholder": "0000,1000,2000",
"description": "Time in 24 hour format (0800 = 8:00 am). More times can be entered comma separated." "description": "Time in 24 hour format (0800 = 8:00 am). More times can be entered comma separated. Leave this field empty if no updates are to be carried out."
}, },
"api": { "api":
{
"title": "API Interface", "title": "API Interface",
"description": "Via API interface it is possible to send commands to xTeVe. API documentation is <a href='https://github.com/xteve-project/xTeVe-Documentation/blob/master/en/configuration.md#api'>here</a>" "description": "Via API interface it is possible to send commands to xTeVe. API documentation is <a href='https://github.com/xteve-project/xTeVe-Documentation/blob/master/en/configuration.md#api'>here</a>"
}, },
"epgSource": { "epgSource":
{
"title": "EPG Source", "title": "EPG Source",
"description": "PMS:<br>- Use EPG data from Plex or Emby <br><br>XEPG:<br>- Use of one or more XMLTV files<br>- Channel management<br>- M3U / XMLTV export (HTTP link for IPTV apps)" "description": "PMS:<br>- Use EPG data from Plex or Emby <br><br>XEPG:<br>- Use of one or more XMLTV files<br>- Channel management<br>- M3U / XMLTV export (HTTP link for IPTV apps)"
}, },
"tuner":{ "tuner":
{
"title": "Number of Tuners", "title": "Number of Tuners",
"description": "Number of parallel connections that can be established to the provider.<br>Available for: Plex, Emby (HDHR), M3U (with active buffer).<br>After a change, xTeVe must be delete in the Plex / Emby DVR settings and set up again." "description": "Number of parallel connections that can be established to the provider.<br>Available for: Plex, Emby (HDHR), M3U (with active buffer).<br>After a change, xTeVe must be delete in the Plex / Emby DVR settings and set up again."
}, },
"filesUpdate": { "filesUpdate":
{
"title": "Updates all files at startup", "title": "Updates all files at startup",
"description": "Updates all playlists, tuner and XMLTV files at startup." "description": "Updates all playlists, tuner and XMLTV files at startup."
}, },
"cacheImages": { "cacheImages":
{
"title": "Image Caching", "title": "Image Caching",
"description": "All images from the XMLTV file are cached, allowing faster rendering of the grid in the client.<br>Downloading the images may take a while and will be done in the background." "description": "All images from the XMLTV file are cached, allowing faster rendering of the grid in the client.<br>Downloading the images may take a while and will be done in the background."
}, },
"replaceEmptyImages": { "replaceEmptyImages":
{
"title": "Replace missing program images", "title": "Replace missing program images",
"description": "If the poster in the XMLTV program is missing, the channel logo will be used." "description": "If the poster in the XMLTV program is missing, the channel logo will be used."
}, },
"xteveAutoUpdate": { "xteveAutoUpdate":
{
"title": "Automatic update of xTeVe", "title": "Automatic update of xTeVe",
"description": "If a new version of xTeVe is available, it will be automatically installed. The updates are downloaded from GitHub." "description": "If a new version of xTeVe is available, it will be automatically installed. The updates are downloaded from GitHub."
}, },
"streamBuffering": { "streamBuffering":
{
"title": "Stream Buffer", "title": "Stream Buffer",
"description": "Functions of the buffer:<br>- The stream is passed from xTeVe, FFmpeg or VLC to Plex, Emby or M3U Player<br>- Small jerking of the streams can be compensated<br>- HLS / M3U8 support<br>- RTP / RTPS support (only FFmpeg or VLC)<br>- Re-streaming<br>- Separate tuner limit for each playlist", "description": "Functions of the buffer:<br>- The stream is passed from xTeVe, FFmpeg or VLC to Plex, Emby or M3U Player<br>- Small jerking of the streams can be compensated<br>- HLS / M3U8 support<br>- RTP / RTPS support (only FFmpeg or VLC)<br>- Re-streaming<br>- Separate tuner limit for each playlist",
"info_false": "No Buffer (Client connects to the streaming server)", "info_false": "No Buffer (Client connects to the streaming server)",
@@ -332,126 +395,154 @@
"info_vlc": "VLC connects to the streaming server" "info_vlc": "VLC connects to the streaming server"
}, },
"udpxy": { "udpxy":
{
"title": "UDPxy address", "title": "UDPxy address",
"description": "The address of your UDPxy server. If set, and the channel URLs in the m3u is multicast, xTeVe will rewrite it so that it is accessed via the UDPxy service.", "description": "The address of your UDPxy server. If set, and the channel URLs in the m3u is multicast, xTeVe will rewrite it so that it is accessed via the UDPxy service.",
"placeholder": "host:port" "placeholder": "host:port"
}, },
"ffmpegPath": { "ffmpegPath":
{
"title": "FFmpeg Binary Path", "title": "FFmpeg Binary Path",
"description": "Path to FFmpeg binary.", "description": "Path to FFmpeg binary.",
"placeholder": "/path/to/ffmpeg" "placeholder": "/path/to/ffmpeg"
}, },
"ffmpegOptions": { "ffmpegOptions":
{
"title": "FFmpeg Options", "title": "FFmpeg Options",
"description": "FFmpeg options.<br>Only change if you know what you are doing.<br>Leave blank to set default settings.", "description": "FFmpeg options.<br>Only change if you know what you are doing.<br>Leave blank to set default settings.",
"placeholder": "Leave blank to set default settings" "placeholder": "Leave blank to set default settings"
}, },
"vlcPath": { "vlcPath":
{
"title": "VLC / CVLC Binary Path", "title": "VLC / CVLC Binary Path",
"description": "Path to VLC / CVLC binary.", "description": "Path to VLC / CVLC binary.",
"placeholder": "/path/to/cvlc" "placeholder": "/path/to/cvlc"
}, },
"vlcOptions": { "vlcOptions":
{
"title": "VLC / CVLC Options", "title": "VLC / CVLC Options",
"description": "VLC / CVLC options.<br>Only change if you know what you are doing.<br>Leave blank to set default settings.", "description": "VLC / CVLC options.<br>Only change if you know what you are doing.<br>Leave blank to set default settings.",
"placeholder": "Leave blank to set default settings" "placeholder": "Leave blank to set default settings"
}, },
"bufferSize": { "bufferSize":
{
"title": "Buffer Size", "title": "Buffer Size",
"description": "Buffer size in MB.<br>M3U8: If the TS segment smaller then the buffer size, the file size of the segment is used." "description": "Buffer size in MB.<br>M3U8: If the TS segment smaller then the buffer size, the file size of the segment is used."
}, },
"bufferTimeout": { "bufferTimeout":
{
"title": "Timeout for new client connections", "title": "Timeout for new client connections",
"description": "The xTeVe buffer waits until new client connections are established. Helpful for fast channel switching. Value in milliseconds.", "description": "The xTeVe buffer waits until new client connections are established. Helpful for fast channel switching. Value in milliseconds.",
"placeholder": "100" "placeholder": "100"
}, },
"userAgent": { "userAgent":
{
"title": "User Agent", "title": "User Agent",
"description": "User Agent for HTTP requests. For every HTTP connection, this value is used for the user agent. Should only be changed if xTeVe is blocked.", "description": "User Agent for HTTP requests. For every HTTP connection, this value is used for the user agent. Should only be changed if xTeVe is blocked.",
"placeholder": "xTeVe" "placeholder": "xTeVe"
}, },
"backupPath": { "backupPath":
{
"title": "Location for automatic backups", "title": "Location for automatic backups",
"placeholder": "/mnt/data/backup/xteve/", "placeholder": "/mnt/data/backup/xteve/",
"description": "Before any update of the provider data by the schedule, xTeVe creates a backup. The path for the automatic backups can be changed. xTeVe requires write permission for this folder." "description": "Before any update of the provider data by the schedule, xTeVe creates a backup. The path for the automatic backups can be changed. xTeVe requires write permission for this folder."
}, },
"tempPath": { "tempPath":
{
"title": "Location for the temporary files", "title": "Location for the temporary files",
"placeholder": "/tmp/xteve/", "placeholder": "/tmp/xteve/",
"description": "Location for the buffer files." "description": "Location for the buffer files."
}, },
"backupKeep": { "backupKeep":
{
"title": "Number of backups to keep", "title": "Number of backups to keep",
"description": "Number of backups to keep. Older backups are automatically deleted." "description": "Number of backups to keep. Older backups are automatically deleted."
}, },
"authenticationWEB": { "authenticationWEB":
{
"title": "WEB Authentication", "title": "WEB Authentication",
"description": "Access to the web interface only possible with credentials." "description": "Access to the web interface only possible with credentials."
}, },
"authenticationPMS": { "authenticationPMS":
{
"title": "PMS Authentication", "title": "PMS Authentication",
"description": "Plex requests are only possible with authentication. <br><b>Warning!!!</b> After activating this function xTeVe must be delete in the PMS DVR settings and set up again." "description": "Plex requests are only possible with authentication. <br><b>Warning!!!</b> After activating this function xTeVe must be delete in the PMS DVR settings and set up again."
}, },
"authenticationM3U": { "authenticationM3U":
{
"title": "M3U Authentication", "title": "M3U Authentication",
"description": "Downloading the xteve.m3u file via an HTTP request is only possible with authentication." "description": "Downloading the xteve.m3u file via an HTTP request is only possible with authentication."
}, },
"authenticationXML": { "authenticationXML":
{
"title": "XML Authentication", "title": "XML Authentication",
"description": "Downloading the xteve.xml file via an HTTP request is only possible with authentication" "description": "Downloading the xteve.xml file via an HTTP request is only possible with authentication"
}, },
"authenticationAPI": { "authenticationAPI":
{
"title": "API Authentication", "title": "API Authentication",
"description": "Access to the API interface is only possible with authentication." "description": "Access to the API interface is only possible with authentication."
} }
}, },
"wizard": { "wizard":
"epgSource": { {
"epgSource":
{
"title": "EPG Source", "title": "EPG Source",
"description": "PMS:<br>- Use EPG data from Plex or Emby <br><br>XEPG:<br>- Use of one or more XMLTV files<br>- Channel management<br>- M3U / XMLTV export (HTTP link for IPTV apps)" "description": "PMS:<br>- Use EPG data from Plex or Emby <br><br>XEPG:<br>- Use of one or more XMLTV files<br>- Channel management<br>- M3U / XMLTV export (HTTP link for IPTV apps)"
}, },
"tuner":{ "tuner":
{
"title": "Number of tuners", "title": "Number of tuners",
"description": "Number of parallel connections that can be established to the provider.<br>Available for: Plex, Emby (HDHR), M3U (with active buffer).<br>After a change, xTeVe must be delete in the Plex / Emby DVR settings and set up again." "description": "Number of parallel connections that can be established to the provider.<br>Available for: Plex, Emby (HDHR), M3U (with active buffer).<br>After a change, xTeVe must be delete in the Plex / Emby DVR settings and set up again."
}, },
"m3u": { "m3u":
{
"title": "M3U Playlist", "title": "M3U Playlist",
"placeholder": "File path or URL of the M3U", "placeholder": "File path or URL of the M3U",
"description": "Local or remote playlists" "description": "Local or remote playlists"
}, },
"xmltv": { "xmltv":
{
"title": "XMLTV File", "title": "XMLTV File",
"placeholder": "File path or URL of the XMLTV", "placeholder": "File path or URL of the XMLTV",
"description": "Local or remote XMLTV file" "description": "Local or remote XMLTV file"
} }
}, },
"login": { "login":
{
"failed": "User authentication failed", "failed": "User authentication failed",
"headline": "Login", "headline": "Login",
"username": { "username":
{
"title": "Username", "title": "Username",
"placeholder": "Username" "placeholder": "Username"
}, },
"password": { "password":
{
"title": "Password", "title": "Password",
"placeholder": "Password" "placeholder": "Password"
} }
}, },
"account": { "account":
{
"failed": "Password does not match", "failed": "Password does not match",
"headline": "Create user account", "headline": "Create user account",
"username": { "username":
{
"title": "Username", "title": "Username",
"placeholder": "Username" "placeholder": "Username"
}, },
"password": { "password":
{
"title": "Password", "title": "Password",
"placeholder": "Password" "placeholder": "Password"
}, },
"confirm": { "confirm":
{
"title": "Confirm", "title": "Confirm",
"placeholder": "Confirm" "placeholder": "Confirm"
} }
} }
} }

View File

@@ -231,7 +231,7 @@ func StartSystem(updateProviderFiles bool) (err error) {
showInfo(fmt.Sprintf("Tuner (Plex / Emby):%d", Settings.Tuner)) showInfo(fmt.Sprintf("Tuner (Plex / Emby):%d", Settings.Tuner))
showInfo(fmt.Sprintf("EPG Source:%s", Settings.EpgSource)) showInfo(fmt.Sprintf("EPG Source:%s", Settings.EpgSource))
showInfo(fmt.Sprintf("Plex Channel Limit:%d", System.PlexChannelLimit)) showInfo(fmt.Sprintf("Plex Channel Limit:%d", System.PlexChannelLimit))
showInfo(fmt.Sprintf("Unfiltered Channel Limit:%d", System.UnfilteredChannelLimit)) showInfo(fmt.Sprintf("Unfiltered Chan. Limit:%d", System.UnfilteredChannelLimit))
// Providerdaten aktualisieren // Providerdaten aktualisieren
if len(Settings.Files.M3U) > 0 && Settings.FilesUpdate == true || updateProviderFiles == true { if len(Settings.Files.M3U) > 0 && Settings.FilesUpdate == true || updateProviderFiles == true {

View File

@@ -40,7 +40,7 @@ func updateServerSettings(request RequestStruct) (settings SettingsStruct, err e
case "update": case "update":
// Leerzeichen aus den Werten entfernen und Formatierung der Uhrzeit überprüfen (0000 - 2359) // Leerzeichen aus den Werten entfernen und Formatierung der Uhrzeit überprüfen (0000 - 2359)
var newUpdateTimes []string var newUpdateTimes = make([]string, 0)
for _, v := range value.([]interface{}) { for _, v := range value.([]interface{}) {
@@ -57,7 +57,7 @@ func updateServerSettings(request RequestStruct) (settings SettingsStruct, err e
} }
if len(newUpdateTimes) == 0 { if len(newUpdateTimes) == 0 {
newUpdateTimes = append(newUpdateTimes, "0000") //newUpdateTimes = append(newUpdateTimes, "0000")
} }
value = newUpdateTimes value = newUpdateTimes

View File

@@ -16,7 +16,7 @@ func showInfo(str string) {
return return
} }
var max = 22 var max = 23
var msg = strings.SplitN(str, ":", 2) var msg = strings.SplitN(str, ":", 2)
var length = len(msg[0]) var length = len(msg[0])
var space string var space string
@@ -48,7 +48,7 @@ func showDebug(str string, level int) {
return return
} }
var max = 22 var max = 23
var msg = strings.SplitN(str, ":", 2) var msg = strings.SplitN(str, ":", 2)
var length = len(msg[0]) var length = len(msg[0])
var space string var space string
@@ -78,7 +78,7 @@ func showDebug(str string, level int) {
func showHighlight(str string) { func showHighlight(str string) {
var max = 22 var max = 23
var msg = strings.SplitN(str, ":", 2) var msg = strings.SplitN(str, ":", 2)
var length = len(msg[0]) var length = len(msg[0])
var space string var space string

File diff suppressed because one or more lines are too long

View File

@@ -39,7 +39,7 @@ var GitHub = GitHubStruct{Branch: "master", User: "xteve-project", Repo: "xTeVe-
const Name = "xTeVe" const Name = "xTeVe"
// Version : Version, die Build Nummer wird in der main func geparst. // Version : Version, die Build Nummer wird in der main func geparst.
const Version = "2.1.2.0122" const Version = "2.1.2.0125"
// DBVersion : Datanbank Version // DBVersion : Datanbank Version
const DBVersion = "2.1.0" const DBVersion = "2.1.0"