Skip to content

Commit

Permalink
Version 0.11.1
Browse files Browse the repository at this point in the history
  • Loading branch information
salphonso committed Dec 9, 2015
1 parent 6f42bab commit 4f0a0e0
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 7 deletions.
6 changes: 5 additions & 1 deletion Contents/Code/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down Expand Up @@ -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,
Expand Down
18 changes: 12 additions & 6 deletions Contents/DefaultPrefs.json
Original file line number Diff line number Diff line change
@@ -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",
Expand All @@ -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",
Expand Down

0 comments on commit 4f0a0e0

Please sign in to comment.