Rockbox.org home
Downloads
Release release
Dev builds dev builds
Extras extras
themes themes
Documentation
Manual manual
Wiki wiki
Device Status device status
Support
Forums forums
Mailing lists mailing lists
IRC IRC
Development
Bugs bugs
Patches patches
Dev Guide dev guide
Search



Donate

Rockbox Technical Forums


Login with username, password and session length
Home Help Search Staff List Login Register
News:

Welcome to the Rockbox Technical Forums!

+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  Feature Ideas
| | |-+  Move to next song after delete
« previous next »
  • Print
Pages: [1]

Author Topic: Move to next song after delete  (Read 2646 times)

Offline madeinlisboa

  • Member
  • *
  • Posts: 2
Move to next song after delete
« on: June 17, 2011, 09:40:59 AM »
I noticed that when I try to delete a song while it is being played, the player doesn't advance to the next one and eventually crashes. This would be a good feature or bug correction if you intend it that way.
Logged

Offline gbl08ma

  • Member
  • *
  • Posts: 249
    • My blog
Re: Move to next song after delete
« Reply #1 on: June 17, 2011, 10:34:20 AM »
Rockbox is made that way, when you delete a song while it's playing Rockbox should delete it and continue to play the buffered part of it. When the song ends, or when the end of buffer is reached, Rockbox shouldn't crash, but instead skip to the next song (or stop playback, depending on the situation and settings).

Are you sure it does crash when you delete a song and let it play? Or are you just saying that by heart?
Logged
http://gbl08ma.com | http://i.tny.im

Offline sideral

  • Developer
  • Member
  • *
  • Posts: 48
Re: Move to next song after delete
« Reply #2 on: June 17, 2011, 11:25:54 AM »
Yes, crashes and misbehavior when deleting the currently playing song are a long-standing bug. Check out FS#10874 [1] and its duplicate and related bug reports.

I agree with madeinlisboa that playback should move to the next song when the current track is deleted.

[1] http://www.rockbox.org/tracker/task/10874
Logged

Offline madeinlisboa

  • Member
  • *
  • Posts: 2
Re: Move to next song after delete
« Reply #3 on: June 17, 2011, 11:43:35 AM »
Thank you and sorry for the redundancy of my post
Logged

Offline Yotto

  • Artist
  • Member
  • *
  • Posts: 826
  • Every Silver Lining has a Cloud
    • My Blog
Re: Move to next song after delete
« Reply #4 on: June 17, 2011, 02:38:14 PM »
Quote from: sideral on June 17, 2011, 11:25:54 AM
I agree with madeinlisboa that playback should move to the next song when the current track is deleted.

Respectfully, I do not agree. I use this feature daily and it's actually one of my favorite things about Rockbox. And yes, my player sometimes crashes if I get overzealous and delete a track that's not fully buffered.
Logged
Pulp Audio Weekly - Where we talk about News, Reviews, and pretty much anything else we feel like discussing.

Offline Llorean

  • Member
  • *
  • Posts: 12931
Re: Move to next song after delete
« Reply #5 on: June 17, 2011, 03:18:37 PM »
Maybe an improvement would be that if a file is deleted while any part of it is in-buffer, the delete is instead 'queued' until playback is stopped or has moved to the next track?

I imagine the common use for the feature is for people to listen to a track like a podcast and trigger its deletion when near the end so as not to have to come back and 'clean up' later. So you'd want to, typically, ensure the track finishes playing. And of course, crashes are bad.

For those who'd rather have it automatically skip to the next song, it's really only one more button press anyway.
Logged

Offline Yotto

  • Artist
  • Member
  • *
  • Posts: 826
  • Every Silver Lining has a Cloud
    • My Blog
Re: Move to next song after delete
« Reply #6 on: June 17, 2011, 04:31:16 PM »
Quote from: Llorean on June 17, 2011, 03:18:37 PM
Maybe an improvement would be that if a file is deleted while any part of it is in-buffer, the delete is instead 'queued' until playback is stopped or has moved to the next track?
I was thinking that deleting anything would trigger a buffer-fill first. It wouldn't *guarantee* that the player wouldn't crash in all circumstances, but it would guarantee it wouldn't crash for me :) Or, have a "fill the buffer" option in the quick menu, or somewhere easy to access. Or at least have a WPS true/false tag for if the current song is fully buffered so you could see on the screen if it's safe to delete.
Quote
I imagine the common use for the feature is for people to listen to a track like a podcast and trigger its deletion when near the end so as not to have to come back and 'clean up' later. So you'd want to, typically, ensure the track finishes playing. And of course, crashes are bad.
This is exactly how I use it, and while crashes are bad they're not that bad, and they don't happen that often when you delete the track in the last 30 seconds or so.
[/quote]
Logged
Pulp Audio Weekly - Where we talk about News, Reviews, and pretty much anything else we feel like discussing.

Offline JdGordon

  • Member
  • *
  • Posts: 1817
  • Constantly breaking stuff
Re: Move to next song after delete
« Reply #7 on: June 20, 2011, 03:04:29 AM »
this is something which keeps coming up. I suspect it would be possible to change the "delete" option in the WPS context menu to cause a rebuffer before deleting but that is not what alot of people want.
It also doesnt fix the reason why it crashes isntead of failing gracefully when a unbuffered track dissapears (this should cause the same crash if you remove the microSD card mid track).
Logged


Using PMs to annoy devs about bugs/patches is not a good way to have the issue looked at.

Offline Llorean

  • Member
  • *
  • Posts: 12931
Re: Move to next song after delete
« Reply #8 on: June 20, 2011, 03:39:18 AM »
Yeah, priority one among this stuff should just be solving that crash. Any logic changes are open to debate but the crash is a problem no matter what.
Logged

Offline sideral

  • Developer
  • Member
  • *
  • Posts: 48
Re: Move to next song after delete
« Reply #9 on: July 04, 2011, 11:58:29 AM »
Llorean's suggestion makes sense to me: I can see how delete-after-playback could be useful.
Logged

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  Feature Ideas
| | |-+  Move to next song after delete
 

  • SMF 2.0.17 | SMF © 2019, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.101 seconds with 14 queries.