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

[StreamRipper] Always record #10

Open
GreenLunar opened this issue Oct 23, 2015 · 2 comments
Open

[StreamRipper] Always record #10

GreenLunar opened this issue Oct 23, 2015 · 2 comments

Comments

@GreenLunar
Copy link

Please read the following suggestion carefully. I apologies for being too verbal.

Scenario:
Kimberly listens to a rare 05:00 minutes long music track of a rare genre, then Kimberly realizes that she really likes that music track, but, unfortunately, she has started to record the track from minute 03:00, and that music track is either rare or is either misnamed, thus she can not find further information about it.

Proposed solution:
When plugin StreamRipper is enabled and a stream is being played, always record a currently played track; recorded track be delete when music track has changed and user did not press on Record button while last track was played.

Result:
At the moment Kimberly presses on button Record, a currently played music track is not being deleted, it is kept along with next music tracks, until she stops to record on her demand.

@sjohannes
Copy link
Member

Makes sense. It looks difficult to make it compatible with the single_file mode, but we can just add it as a separate mode and have an option between the three.

I'd love for the normal mode to be removed, but due to how the plugin works (it opens a separate download stream), that won't be very nice for people with limited bandwidth.

@GreenLunar
Copy link
Author

It looks difficult to make it compatible with the single_file mode.

By single_file mode, do you mean stream with a static title?
In such case, I think Exaile should start catching a stream only on first title change.

I'd love for the normal mode to be removed, but due to how the plugin works (it opens a separate download stream), that won't be very nice for people with limited bandwidth.

You can do it by creating a relay server using -r argument and listen to http://127.0.0.1:8000 (preferably) or http://localhost:8000. From man streamripper:

       -r [base port]
           Create a relay server on base port, defaults to port 8000
       Creates a relay server on base port. if base port is not specified it
       defaults to 8000, otherwise whatever you entered for base port. Note
       that if the -z option is not used, it will keep trying higher ports if
       the port is unavailable.

This is how I listen and record at the same time;
1 streamripper http://streamip:port/ -r
2. mplayer http://127.0.0.1:8000/

@virtuald virtuald transferred this issue from exaile/exaile Dec 3, 2018
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