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
|-+  Support and General Use
| |-+  Audio Playback, Database and Playlists
| | |-+  Playing on random
« previous next »
  • Print
Pages: [1]

Author Topic: Playing on random  (Read 2539 times)

Offline sammydee

  • Member
  • *
  • Posts: 16
Playing on random
« on: March 18, 2007, 02:54:52 PM »
Hi guys

I'm sure the answer to this question is very obvious, and as soon as somebody points me to the appropriate page in the manual/wiki or whatever I will feel very stupid, but I have looked everywhere for an answer to this question and have not found one.

I used to own a Rio Karma before I got an H140 and put rockbox on it. I prefer rockbox overall even though the original karma's firmware was very good. One thing that the karma had which I feel is missing on rockbox is an option for inserting, say, 50 random tracks into the playlist. The problem is, sometimes I listen to albums, but sometimes I leave my music on random. The only way to do this with rockbox (that I can find out) is to insert all tracks shuffled into the playlist. Unfortunately this results in a 6000 track long playlist and when I turn the player off and then on again, it takes about 30 seconds to load up.

The other option is to limit the size of the playlist to 2000 tracks or whatever, but then I can't insert new albums into the playlist, and it inserts the tracks in alphabetical order anyway, so you only end up with the first 1/3 of the alphabet being inserted.

If there was an option to insert XX number of random tracks, this problem could be quite easily solved.

I hope I haven't asked a very stupid question ::)

Sam
Logged

Offline bluebrother

  • Developer
  • Member
  • *
  • Posts: 3421
  • creature
Re: Playing on random
« Reply #1 on: March 18, 2007, 03:10:35 PM »
You can shuffle any playlist by using the "Reshuffle" entry in the Playlist menu (which can be reached by the context menu of the wps)
Logged
Rockbox Utility development binaries (updated infrequently) · How to ask questions the smart way · We do not estimate timeframes.

Offline Didgeridoohan

  • Member
  • *
  • Posts: 102
Re: Playing on random
« Reply #2 on: March 18, 2007, 03:23:23 PM »
I don't think that is what he's asking for. If I understand correctly, he is asking for a function that inserts a certain number of random albums or tracks into a playlist. Not how to make a shuffled playlist.

I can tell you right away there is no such function in rockbox, currently. If someone has made or is thinking about a patch that adds this, I don't know about it. Maybe you should make a feature request. (It's in the menu on the left).
Logged
Remember, the MANUAL, WIKI and the SEARCH funtions are your friends.

Offline LinusN

  • Member
  • *
  • Posts: 1914
Re: Playing on random
« Reply #3 on: March 18, 2007, 03:26:21 PM »
Quote from: sammydee on March 18, 2007, 02:54:52 PM
Unfortunately this results in a 6000 track long playlist and when I turn the player off and then on again, it takes about 30 seconds to load up.
Are you sure? That sounds like a nasty bug. Playlist loading should be very fast in Rockbox.
Logged
Archos Jukebox 6000, Recorder, FM Recorder/iAudio X5/iriver H1x0, H3x0/Toshiba Gigabeat F20/iPod G5, G5.5

Offline sammydee

  • Member
  • *
  • Posts: 16
Re: Playing on random
« Reply #4 on: March 18, 2007, 03:48:27 PM »
It varies I suppose.

I was using a three month old build of rockbox until a few days ago and that took around 30 seconds to a minute to load the playlist every time.

I am now using a more current built (Version 12806-070316 - whatever that means!) and it seems to have improved.

Ok, I just timed how long the "loading playlist, XXX% complete" screen takes to reach 100%, with 3869 songs in the playlist. I did it quite a few times and sometimes it took up to 25 seconds just to load the playlist, with about a 40 second total booting time. Other times it took about 10 seconds to whizz through the whole lot.

Not sure why there is so much variation, it seems to take longer more often that it takes shorter... if that makes sense?

Sam
Logged

Offline bluebrother

  • Developer
  • Member
  • *
  • Posts: 3421
  • creature
Re: Playing on random
« Reply #5 on: March 18, 2007, 04:12:15 PM »
Quote from: sammydee on March 18, 2007, 03:48:27 PM
I am now using a more current built (Version 12806-070316 - whatever that means!) and it seems to have improved.
It's the revision number of the version control system (subversion, and as it is the revision number it has a leading "r") and the build date. Having the revision number in the build ID makes it possibly easily grabbing exactly that version ouf of SVN.

Have you confirmed there isn't anything else running in background, like dircache / database updating? I suppose this will slow it down quite a bit but I haven't tried myself.
Logged
Rockbox Utility development binaries (updated infrequently) · How to ask questions the smart way · We do not estimate timeframes.

Offline Lear

  • Developer
  • Member
  • *
  • Posts: 533
Re: Playing on random
« Reply #6 on: March 18, 2007, 04:13:07 PM »
I regularly load a playlist with 3600 entries, and that is pretty much instantaneous. Note, however, this is with a "real" playlist. I think what you're experience isn't really the playlist load, but rather the rebuild of a dynamic playlist, which is something different (and, it seems, rather inefficient in this case, but I'm not that familiar with the internals of the playlist code).

What you should do is to create a playlist with all the tracks you want and then make sure you save it somewhere (select Root menu > Playlist > Save current playlist). Then, when you want to play some random tracks, enable shuffle and load that playlist, and you'll see how fast playlist loading really is.

And if you use bookmarks, you won't even need to enable shuffle before resuming the bookmark.
Logged

Offline sammydee

  • Member
  • *
  • Posts: 16
Re: Playing on random
« Reply #7 on: March 18, 2007, 04:30:20 PM »
Yes it is with dynamic playlists.

I have never really used "real" playlists before, I will have an experiment and see if I like that way better. I'd still like the option of inserting say 50 random tracks though, bu I doubt that will be implemented any time soon, its just a hangover from my Rio Karma days...

Sam
Logged

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Audio Playback, Database and Playlists
| | |-+  Playing on random
 

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

Page created in 0.091 seconds with 14 queries.