2014-01-15, 02:57
I needed to reset my password and found myself unable to play any videos because I couldn't get to the login screen. Turns out it was pretty trivial to add a new item to the main menu to load the logout/login screen. Just add the attached python script to the plugin's /resources/lib folder and add the following line to default.py:
This will log you out of your current session and take you to the Amazon Login page. Once you're logged in, close the window just like you would after watching a video. The new script is based on the existing play.py script.
@Romans I XVI, feel free to add this and/or modify it to suit your best practices.
- Dave
Link to script: https://www.dropbox.com/s/o10ylmqaibvjtf...gin.py.zip
Code:
common.addDir('Television','listtv','LIST_TV_ROOT', cm=updatetv)
common.addDir('Search Prime','appfeed','SEARCH_PRIME','')
# ADD THE NEXT LINE
common.addDir('Login to Amazon','amazonlogin','AMAZONLOGIN','')
This will log you out of your current session and take you to the Amazon Login page. Once you're logged in, close the window just like you would after watching a video. The new script is based on the existing play.py script.
@Romans I XVI, feel free to add this and/or modify it to suit your best practices.
- Dave
Link to script: https://www.dropbox.com/s/o10ylmqaibvjtf...gin.py.zip