diff --git a/Contents/Code/__init__.py b/Contents/Code/__init__.py index 0d01e41..a324df3 100644 --- a/Contents/Code/__init__.py +++ b/Contents/Code/__init__.py @@ -27,7 +27,7 @@ SERVERWMC_IP = Prefs['serverwmc_ip'] SERVERWMC_PORT = Prefs['serverwmc_port'] SERVERWMC_ADDR = (SERVERWMC_IP, int(SERVERWMC_PORT)) -VERSION = '0.11.0' +VERSION = '0.11.1' MACHINENAME = socket.gethostname() IDSTREAMINT = 0 GETSTREAMINFO = 'IncludeStreamInfo' @@ -129,6 +129,10 @@ def SubMenu(title, offset = 0): title=channelTitle, summary=Summary, thumb=Thumb)) if title=='Channels': + if Prefs['nowPlaying_channels']==True: + summaryData = getListingInfo(chID=channelID, progItem='programName', infoType='nowPlaying') + channelTitle = channelTitle + ' - Now Playing: ' + summaryData + oc.add(CreateVCO( url=channelURL, title=channelTitle, diff --git a/Contents/DefaultPrefs.json b/Contents/DefaultPrefs.json index 3f62935..f9ba092 100644 --- a/Contents/DefaultPrefs.json +++ b/Contents/DefaultPrefs.json @@ -1,4 +1,16 @@ [ + { + "id": "nowPlaying_channels", + "type": "bool", + "label": "Show Now Playing in Title", + "default": "False" + }, + { + "id": "ItemsPerPage", + "type": "text", + "label": "Items Per Page", + "default": "25" + }, { "id": "serverwmc_ip", "type": "text", @@ -18,12 +30,6 @@ "values": ["1","2","3","4","5","6","7"], "default": "1" }, - { - "id": "ItemsPerPage", - "type": "text", - "label": "Items Per Page", - "default": "25" - }, { "id": "serverwmc_quality", "type": "enum",