2014-05-10, 16:22
I'm new to Netflix. From my quick research it appears that "My List" is empty if you have a "kid friendly profile", which I do. I dislike having entries in a list that will always be empty, and it is confusing for others in my family that want to use it.
I've created a patch:
in default.py add showMyList under viewIdActivity:
and change def index() from:
to:
Add to settings.xml - showMyList below viewIdActivity:
and add this to strings.xml:
While where here, fix the typos:
It seems to require a restart of xbmc to hide the My List (I'm new to video plugins) but otherwise seems to work. Hopefully this is a useful addition to this excellent addon!
I've created a patch:
in default.py add showMyList under viewIdActivity:
PHP Code:
viewIdActivity = addon.getSetting("viewIdActivity")
showMyList = addon.getSetting("showMyList")
and change def index() from:
PHP Code:
def index():
if login():
addDir(translation(30002), urlMain+"/MyList?leid=595&link=seeall", 'listVideos', "")
to:
PHP Code:
def index():
if login():
if (showMyList == "true"):
addDir(translation(30002), urlMain+"/MyList?leid=595&link=seeall", 'listVideos', "")
Add to settings.xml - showMyList below viewIdActivity:
PHP Code:
<setting id="viewIdActivity" type="number" label="30130" enable="eq(-3,true)" default="51"/>
<setting type="sep"/>
<setting label="30139" type="lsep"/>
<setting id="showMyList" type="bool" label="30138" default="true"/>
and add this to strings.xml:
PHP Code:
<string id="30138">Display My List</string>
<string id="30139">"My List" is empty for kid friendly profiles</string>
While where here, fix the typos:
PHP Code:
<string id="30107">Windows: Use Control Utility</string>
<string id="30116">Configure Control Utility</string>
It seems to require a restart of xbmc to hide the My List (I'm new to video plugins) but otherwise seems to work. Hopefully this is a useful addition to this excellent addon!