Crash-m / thelastripper

Automatically exported from code.google.com/p/thelastripper
0 stars 0 forks source link

Auto-Restart Ripping #122

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Feature-Request: When there's no station/playlist available playing your
favorite songs, tags or recommendations - a message is displayed telling
you to restart ripping. You have to press OK and retry until a playlist is
available.

This behavior su**s! I want to run TheLastRipper in the background,
sometimes over night, and not care about any messagebox telling me that
i've something to do what the program should do for me.

So the request is: when there's no playlist available, wait some time (e.g.
30 seconds) and try to restart ripping automatically. Do this until a
playlist is found.

---
I've already implemented it for my personal version:

private void OnError(System.Object sender, System.EventArgs args)
{
 [...]
else if (Args.Message.Contains("Please restart ripping."))
{
  NoPlaylistInformer informer = new NoPlaylistInformer(Args.Message);
  if (informer.ShowDialog(this) == DialogResult.Retry)
  {
    this.TuneInButtonClick(null, null);
  }
}
 [...]

See code for NoPlaylistInformer in attachments

Original issue reported on code.google.com by strubi...@googlemail.com on 6 Sep 2008 at 8:30

Attachments:

GoogleCodeExporter commented 8 years ago
last.fm blocks you from accessing the playlist if you hammer it too much (such 
as
skipping a bunch of music in a row). It looks like the delay is much longer 
than 30
seconds. Doing this will just hammer last.fm till they're forced to deal with 
you.

Original comment by tyranni...@gmail.com on 9 Nov 2008 at 1:29

GoogleCodeExporter commented 8 years ago
Well, that might be right what you're writing, but ... I'm using this modified
version for months now. I'm riüpping my playlist and it's kind of special so I 
have
long periods where no channel is found, where the 30 seconds timeout works good.

Original comment by strubi...@googlemail.com on 9 Nov 2008 at 11:06