Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Playlists only work when logged in #64

Open
scroach opened this issue Jul 16, 2014 · 2 comments
Open

Playlists only work when logged in #64

scroach opened this issue Jul 16, 2014 · 2 comments

Comments

@scroach
Copy link

scroach commented Jul 16, 2014

Is there any reason or why are playlists only working when logged in?
Public playlists should work even if no credentials are specified.

I tried starting a playlist via JSON RPC and if not logged in the youtube settings dialog pops up but nothing happens.

@TobiasTheViking
Copy link
Collaborator

Seems weird, will have to investigate

@ac3d912
Copy link

ac3d912 commented Jul 30, 2014

Just as an FYI, I've been looking into this as well as its a feature I want to work.

The problem is

YouTubePlaylistControl.py:55 params["login"] = "true"
-- By commenting this out it works fine

However, I'm sure that was in there for some other reason, so I wonder if there is a way to tell if its a public playlist or a user_feed? Add in a source parameter?

Details:

I attempted the following with JSONRPC (xbmcjson module):
>>> xbmc.Playlist.Add(playlistid=1,item={"file":"plugin://plugin.video.youtube/?path=/root/video&action=play_all&playlist=RDHCZlZkD1cA4Uw"})
{u'jsonrpc': u'2.0', u'id': 4, u'result': u'OK'}
>>> xbmc.Player.Open(item={"playlistid":1,"position":0})
{u'jsonrpc': u'2.0', u'id': 5, u'result': u'OK'}

xbmc: Pops the User login page.

After commenting out the line mentioned above it works fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants