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:

Rockbox Ports are now being developed for various digital audio players!

+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  User Interface and Voice
| | |-+  Next Playlist?
« previous next »
  • Print
Pages: [1]

Author Topic: Next Playlist?  (Read 2261 times)

Offline torrent99

  • Member
  • *
  • Posts: 4
Next Playlist?
« on: September 10, 2009, 07:01:31 AM »
Hi,

I've scanned the manual, and done a few searches on the forums, but turned up blank.

I'm wondering if there is such a functionality as a key combination in the WPS that lets me move between playlists?

i.e. if I have say 5 playlists in a folder, I can move from playing the 1st to the 2nd etc etc. (The idea being making control simpler for use in the car, the playlists are pre-generated. I'm thinking CD-Changer like functionality)

I can see that there's the "next directory" type functionality and tried creating several directories with just a playlist in each, but I can't get it to skip.

Any clues on how I might do this?

Cheers

Steve
Logged

Offline GodEater

  • Member
  • *
  • Posts: 2829
Re: Next Playlist?
« Reply #1 on: September 10, 2009, 07:07:50 AM »
I don't believe there is a quick way to do this currently.

Immediate advice would be to concatenate the playlists into one larger one, and submit this as a feature request in the meantime.
Logged

Read The Manual Please

Offline BruceHP

  • Member
  • *
  • Posts: 133
Re: Next Playlist?
« Reply #2 on: September 10, 2009, 04:01:35 PM »
Could that be like Settings/Playback/Auto-Change Directories?
Or in General Settings/Playlist/Recursively insert Playlists?
Logged

Offline Chronon

  • Rockbox Expert
  • Member
  • *
  • Posts: 4379
Re: Next Playlist?
« Reply #3 on: September 10, 2009, 04:45:50 PM »
Auto-change directory doesn't work for this because when you select the first playlist for playback Rockbox is not playing a directory. 

Also, "Recursively insert directories" doesn't work for this because you can't insert a directory of playlists into another playlist.  They can only be inserted one at a time, apparently.  Even if you could do this you would end up with a flat playlist containing the contents of the playlists concatenated.  There would be no index to allow you to skip to the next playlist because you end up with just one big playlist.  To do what the OP wants you would need to allow for something like a playlist of playlists or something of the sort.
Logged
Sansa e280, Gigabeat F40, Gigabeat S60, Sansa Clip+, iPod Mini 2g

Offline JdGordon

  • Member
  • *
  • Posts: 1817
  • Constantly breaking stuff
Re: Next Playlist?
« Reply #4 on: September 11, 2009, 12:44:42 AM »
the dudes with the badges speaketh the truth... you cant do what you want... it would be nice, and would make the playlist catalog much more useful... I'll have a quick look and see if its actually going to be doable (as usual... no promises!)
Logged


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

Offline JdGordon

  • Member
  • *
  • Posts: 1817
  • Constantly breaking stuff
Re: Next Playlist?
« Reply #5 on: September 11, 2009, 01:27:40 AM »
well bugger... apparently next directory isnt done in a very helpful way... so we cant use that to choose a new playlist :(
Logged


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

Offline torrent99

  • Member
  • *
  • Posts: 4
Re: Next Playlist?
« Reply #6 on: September 11, 2009, 04:10:59 AM »
Thanks for looking into this guys.

I've had a look at the code, and I think I can see where I might hook in. ( I'd start in playlist.c within the playlist_next_dir function. This would mean that the functionality would keep the same button presses as the next directory code).

I can think of 2 approaches to this functionality:

1) THE PREFERRED OPTION. Provide skipping between individual playlist files as I've described.
As a very very rusty developer this would be the hardest for me to look at, requiring being able to create and manipulate lists of playlist files, open & close playlists correctly etc etc.

2) THE KLUDGE OPTION. Provide a means to jump between "SUB_PLAYLIST_START" (or some other unique text) index markers within a single large playlist. This would be relatively easy to implement, but really no where near as desirable.

Am I right in thinking that the if(!current_playlist.in_ram) test is valid to check if we are playing from a user-loaded playlist (rather than an on-the-fly created one)?

Cheers

Steve
Logged

Offline JdGordon

  • Member
  • *
  • Posts: 1817
  • Constantly breaking stuff
Re: Next Playlist?
« Reply #7 on: September 11, 2009, 11:45:37 AM »
thats bassically what I did, but thats not how it works... have a look in playback.c for where playlist_next() is called
Logged


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

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  User Interface and Voice
| | |-+  Next Playlist?
 

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

Page created in 0.105 seconds with 15 queries.