Giter Club home page Giter Club logo

Comments (5)

khloke avatar khloke commented on August 22, 2024

Hi antione,

The extension already supports playlists. You simply have to use the 'Queue Playlist' button for playlists.

playlist

Hope that helps you and thanks for supporting the extension!

Cheers,
Khee-Hong

from play-to-xbmc-chrome.

antoine-morisseau avatar antoine-morisseau commented on August 22, 2024

But for playlist that have more than 25 videos it stop at 25 playlist items.

Tried this one for example :
https://www.youtube.com/playlist?list=PL9MoLfABC7y5GdzSbRwTriVFEfHHvB5nP

Second issue for me it's that if i select the number 12 in the playlist and click on the Queue Playlist it will go on the first element in the whole playlist and not on the 13 item.

P.S : i quicked checked the v2 api of youtube and the js code that you're using to add the playlist
I think it's kind easy since we can retrieve the position of the playlist when i'm selecting the number 12 since it's directly into the url (https://www.youtube.com/watch?v=Qao8Ue83JoQ&index=12&list=PL9MoLfABC7y5GdzSbRwTriVFEfHHvB5nP) the index=12 is the answer

and i found online that the api only retrieve the 25 items in a request so you just have to loop on it until the list of item returned is under that 25 :)
in order to get the 25 next is done that way : http://gdata.youtube.com/feeds/api/playlists/PL9MoLfABC7y5GdzSbRwTriVFEfHHvB5nP?v=2&alt=json&start-index=26

from play-to-xbmc-chrome.

khloke avatar khloke commented on August 22, 2024

Wow you've even found me the cause of the issues! Thanks for that. I'll get to it as soon as I can.

from play-to-xbmc-chrome.

antoine-morisseau avatar antoine-morisseau commented on August 22, 2024

Glad to help :)

from play-to-xbmc-chrome.

khloke avatar khloke commented on August 22, 2024

Fix has been committed to the repository.

from play-to-xbmc-chrome.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.