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

Cannot use auto play next file on cli #94

Open
Denkishi opened this issue Oct 24, 2024 · 2 comments
Open

Cannot use auto play next file on cli #94

Denkishi opened this issue Oct 24, 2024 · 2 comments

Comments

@Denkishi
Copy link

I'm only able to use the lite version go2tv-lite for some reason and i'd like to use the auto play for every file in the folder, but i don't know what's the argument to pass in the cli to auto play and the -h list doesn't show anything useful about that

@alexballas
Copy link
Owner

alexballas commented Oct 24, 2024

The go2tv-lite version is a minimalist version that focuses on essential functionality, without the full range of features provided by the GUI version, including the auto play next. However this also offers a level of flexibility. You can combine go2tv-lite with bash scripts (for linux) or power shell scripts (for windows)

Some examples in bash:

$ for file in ~/Videos/*.mp4;do echo "playing $file"; ./go2tv-lite -v "$file";sleep 2;done

This line will play all mp4 files in you ~/Videos folder in an alphabetical order one by one with a 2 seconds delay in-between.

$ find ~/Music/ -name "*.mp3" -print0 | while IFS= read -r -d '' file; do echo playing "$file"; ./go2tv-lite -v "$file"; sleep 5;done

This line will play all mp3 files in you ~/Music folder recursively with a 2 seconds delay in-between.

These are just some examples from the top of my head. I'm sure there are a lot more creative ways to run it!

@Denkishi
Copy link
Author

Thank you for the heads up, and what about the full version? Can i use the autoplay from its cli?

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

2 participants