Support and General Use > User Interface and Voice

Next Playlist?

<< < (2/2)

JdGordon:
well bugger... apparently next directory isnt done in a very helpful way... so we cant use that to choose a new playlist :(

torrent99:
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

JdGordon:
thats bassically what I did, but thats not how it works... have a look in playback.c for where playlist_next() is called

Navigation

[0] Message Index

[*] Previous page

Go to full version