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

feat: add playlist option #168

Merged
merged 9 commits into from
Jul 15, 2021
Merged

feat: add playlist option #168

merged 9 commits into from
Jul 15, 2021

Conversation

loiccoyle
Copy link
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

welcome bot commented Jun 16, 2021

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

@DiegoRBaquero
Copy link
Member

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

bin/cmd.js Outdated Show resolved Hide resolved
@loiccoyle
Copy link
Contributor Author

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

bin/cmd.js Outdated Show resolved Hide resolved
@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

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

🎉 This PR is included in version 3.5.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@loiccoyle
Copy link
Contributor Author

Nice ! Thanks !

@eNV25
Copy link

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