Skip to content

feat: add playlist option#168

Merged
DiegoRBaquero merged 9 commits intowebtorrent:masterfrom
loiccoyle:master
Jul 15, 2021
Merged

feat: add playlist option#168
DiegoRBaquero merged 9 commits intowebtorrent:masterfrom
loiccoyle:master

Conversation

@loiccoyle
Copy link
Copy Markdown
Contributor

What is the purpose of this pull request? (put an "X" next to item)

[ ] Documentation update
[ ] Bug fix
[ x] New feature
[ ] Other, please explain:

What changes did you make? (Give an overview)
I added the --playlist option which will open all the urls of the files in the torrent in a playlist in supported players. I could only get mpv, mplayer and vlc working. If you know how to do this for any of the other players I'm all ears.

Which issue (if any) does this pull request address?
#166

Is there anything you'd like reviewers to focus on?
I didn't test the vlc on windows, its probably a good idea to do so. This option is most likely incompatible with the --subtitles option, I didn't enforce it though, maybe it should be checked and enforced?

I don't have much experience with JS so if I'm not following best practices, feel free to correct me!

@welcome
Copy link
Copy Markdown

welcome bot commented Jun 16, 2021

🙌 Thanks for opening this pull request! You're awesome.

@DiegoRBaquero
Copy link
Copy Markdown
Member

Hi! Can you please re-base? I can review after it's clean

Comment thread bin/cmd.js
@loiccoyle
Copy link
Copy Markdown
Contributor Author

I merged upstream. I also fixed a typo in the smplayer args and I also added playlist support for smplayer.

Comment thread bin/cmd.js Outdated
Comment thread bin/cmd.js
@DiegoRBaquero DiegoRBaquero changed the title Add playlist option feat: add playlist option Jul 15, 2021
@DiegoRBaquero DiegoRBaquero merged commit a003e7e into webtorrent:master Jul 15, 2021
@welcome
Copy link
Copy Markdown

welcome bot commented Jul 15, 2021

🎉 Congrats on getting your first pull request landed!

webtorrent-bot pushed a commit that referenced this pull request Jul 15, 2021
# [3.5.0](v3.4.1...v3.5.0) (2021-07-15)

### Features

* add playlist option ([#168](#168)) ([a003e7e](a003e7e))
@webtorrent-bot
Copy link
Copy Markdown

🎉 This PR is included in version 3.5.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@loiccoyle
Copy link
Copy Markdown
Contributor Author

Nice ! Thanks !

@eNV25
Copy link
Copy Markdown

eNV25 commented Apr 16, 2024

I think this would work better if we generated an .m3u file from the URLs, instead of just passing URLs as arguments.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants