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

Error when pressing 'r' #11

Closed
nobef opened this issue Jan 12, 2023 · 2 comments
Closed

Error when pressing 'r' #11

nobef opened this issue Jan 12, 2023 · 2 comments

Comments

@nobef
Copy link

nobef commented Jan 12, 2023

When playing and pressing "r' such an error
изображение
The player also closes if you press Shift + r (R) again

@jonniek
Copy link
Owner

jonniek commented Jan 13, 2023

This means the savepath was not opened succesfully, did you change it to a file in your system?

Pressing shift R again will call mp.command("stop") which will stop playback and close the player unless idle is used. If you prefer not to have this you can remove these two lines:

mpv-scripts/radio.lua

Lines 28 to 29 in 9dbf4dd

mp.command("stop")
radio_playing=false

@nobef
Copy link
Author

nobef commented Jan 13, 2023

@jonniek Thank you, everything is done. Everything works well! I did not understand then that the savepath line should also be changed. To be honest, I didn’t even know that you can save track names.
The best script!

@jonniek jonniek closed this as completed Jan 13, 2023
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