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
| | |-+  Trim dynamic playlist
« previous next »
  • Print
Pages: [1]

Author Topic: Trim dynamic playlist  (Read 2774 times)

Offline Samvh

  • Member
  • *
  • Posts: 3
Trim dynamic playlist
« on: July 09, 2014, 05:37:43 AM »
Hi,

[Edit: part of the functionality I suggested is already available, updated post.]

I just recently started using Rockbox and really love it (on a Sansa Clip+). However, there is one feature I really miss: clearing the currently queued songs in the dynamic playlist without stopping playback. I know I can clear the playlist by using stop, or by rebooting, but I would like to be able to do it 'on the fly'.

Sometimes I'm listening to a song, and decide it will be the last, but there are still songs queued. I don't want to abruptly stop the current song, I also don't want to have to stay ready to stop playback when it finishes so the next song doesn't start. Currently I believe the only way to clear the rest of the queue is to remove each song by hand?

Another option I would really like is the "Play next" option but then shuffled (i.e. "Play next shuffled"), such that the dynamic playlist is cleared after the current song, but still the selected music is appended to the playlist in a random order. (Queue and insert don't clear the rest of the playlist.)

I hope others see the benefit of such functionality :)

Kind regards,
Sam
« Last Edit: July 09, 2014, 05:52:33 AM by Samvh »
Logged

Offline Samvh

  • Member
  • *
  • Posts: 3
Re: Trim dynamic playlist
« Reply #1 on: July 09, 2014, 05:40:09 AM »
[Edit: I found out some of the functionality is in fact already available (great!).]
« Last Edit: July 09, 2014, 05:49:00 AM by Samvh »
Logged

Offline silvertree

  • Member
  • *
  • Posts: 51
Re: Trim dynamic playlist
« Reply #2 on: July 10, 2014, 06:36:05 PM »
What feature did you discover?
Logged

Offline Samvh

  • Member
  • *
  • Posts: 3
Re: Trim dynamic playlist
« Reply #3 on: July 11, 2014, 05:24:23 AM »
Sorry that was unclear. The functionality I found to be already available, I described earlier in my post, but removed when I updated the post. I thought there was no option to clear playlist + queue, but this is in fact what "Play next" does. Still, I think it would be nice to be able to trim the playlist separately.
Logged

Offline chrisjj

  • Member
  • *
  • Posts: 276
Re: Trim dynamic playlist
« Reply #4 on: December 16, 2016, 09:38:35 AM »
Quote from: Samvh on July 09, 2014, 05:40:09 AM
[Edit: I found out some of the functionality is in fact already available (great!).]

Did you find how to clear from the playlist all but the current track?
Logged

Offline Bilgus

  • Developer
  • Member
  • *
  • Posts: 728
Re: Trim dynamic playlist
« Reply #5 on: December 28, 2016, 02:23:06 PM »
A lua x-mas present for you as well

Code: [Select]
--PlaylistClear.lua
rb.playlist_remove_all_tracks()
rb.splash(1, "Playlist Cleared")
rb.sleep(2 * rb.HZ)
Logged

Offline chrisjj

  • Member
  • *
  • Posts: 276
Re: Trim dynamic playlist
« Reply #6 on: December 28, 2016, 06:00:36 PM »
Thanks. So rb.playlist_remove_all_tracks() doesn't remove all tracks?
Logged

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  Feature Ideas
| | |-+  Trim dynamic playlist
 

  • SMF 2.0.18 | SMF © 2021, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.32 seconds with 18 queries.