Giter Site home page Giter Site logo

Comments (10)

devoxin avatar devoxin commented on August 15, 2024 2

URL encoding appears to have worked. Thanks ^^

from lavalink.

devoxin avatar devoxin commented on August 15, 2024 1

Update
There's a small work-around discovered by @Zenrac to load mixes as expected

https://youtu.be/videoid?list=playlistid will load all tracks from a mix list, whereas the standard URL (https://youtube.com/watch?v=videoid&list=playlistid) will only return a single track.

Tried and tested on Lavalink V3, build 562 - Lavaplayer 1.3.7

from lavalink.

shikhir-arora avatar shikhir-arora commented on August 15, 2024
~~`https://www.youtube.com/watch?v=v7Srbp8WPMY&list=RDv7Srbp8WPMY`
 should normally parse to `https://www.youtube.com/watch?v=v7Srbp8WPMY`~~ 

from lavalink.

freyacodes avatar freyacodes commented on August 15, 2024

As far as I'm aware, that is intended behavior. When you copy-paste a video from a playlist, you get a link like that, and most of the times the intended use is to play that single video alone.

No, it's not intended

@devoxin what version are you using?

from lavalink.

devoxin avatar devoxin commented on August 15, 2024

The dev build you linked me in the JDA server

(https://ci.fredboat.com/viewLog.html?buildId=2252&buildTypeId=Lavalink_Build&tab=artifacts)

from lavalink.

devoxin avatar devoxin commented on August 15, 2024

Update: I don't think this issue is limited to mix playlists. URLs such as https://www.youtube.com/watch?v=VYz3VIQeET8&list=PL0syuOXMyw6ao11w7sAbQaLK_ARRn-jyS only return one track, however if you change the URL to https://www.youtube.com/playlist?list=PL0syuOXMyw6ao11w7sAbQaLK_ARRn-jyS it returns all of the tracks. RegEx issue?

from lavalink.

shikhir-arora avatar shikhir-arora commented on August 15, 2024

I assumed it was intended behavior because depending on how it's configured, it can go both ways. I self host FredBoat and dabBot and dabBot will just play the track, while FredBoat does load the playlist. It would be a regex thing up to the creator of the bot at the end of it.

from lavalink.

devoxin avatar devoxin commented on August 15, 2024

(Just to note this is also reproducible on Lavalink V3, Build 475 (02 Jun 18 12:34))

Lavaplayer itself (on a Java bot) loads all tracks from a mix list

from lavalink.

schnapster avatar schnapster commented on August 15, 2024

Try properly URL encoding the identifier.

from lavalink.

schnapster avatar schnapster commented on August 15, 2024

Bad call:

curl -i -H "Authorization: youshallnotpass" "127.0.0.1:2333/loadtracks?identifier=https://www.youtube.com/watch?v=c5R3lNsNjLs&list=RDc5R3lNsNjLs"

Good call:

curl -i -H "Authorization: youshallnotpass" "127.0.0.1:2333/loadtracks?identifier=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3Dc5R3lNsNjLs%26list%3DRDc5R3lNsNjLs"

from lavalink.

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.