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:

Thank You for your continued support and contributions!

+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Audio Playback, Database and Playlists
| | |-+  Getting .m3u playlists to show?
« previous next »
  • Print
Pages: [1]

Author Topic: Getting .m3u playlists to show?  (Read 6222 times)

Offline jim234567

  • Member
  • *
  • Posts: 21
Getting .m3u playlists to show?
« on: June 06, 2011, 12:12:45 AM »
New to Rockbox on my Sansa Clip+ (lovin' it already)  ;D



However I'm wondering what is the easiest way to get your playlists to show up under the "Playlists" option on the Main Menu (under View Catalog)?

I loaded several .m3u lists onto my player (made with Winamp), but in order to get them to show up there, I have to first load (play) the .m3u from the file browser, then do a re-save of the list on the player itself (which requires re-entering a name for it too). Finally I have to then move the saved .m3u8 file from the player's root into the actual Playlist folder because it's not saving there by default and I don't see a way to change the save location.

Seems I must be doing something wrong...  :-\ Is there a way to have the player automatically see playlists in the folder with my mp3 files and show them under Playlists like the OF does?

(forgive me if this is in the manual... I tried looking in there for it but I didn't see anything in the Working with Playlists section, and the rest of the manual is a bit daunting due to it's size lol)

TIA
Logged

Offline Chronon

  • Rockbox Expert
  • Member
  • *
  • Posts: 4379
Re: Getting .m3u playlists to show?
« Reply #1 on: June 06, 2011, 04:10:18 PM »
The playlist catalog is a particular directory (/Playlists).  You are free to store playlists anywhere you like and simply launch them with the file browser.  If you want a playlist to appear in the catalog then simply save it to the /Playlists directory.  You can also cut and paste them to that directory from within Rockbox but it's probably easiest to simply put them there when you save them to your player.
Logged
Sansa e280, Gigabeat F40, Gigabeat S60, Sansa Clip+, iPod Mini 2g

Offline jim234567

  • Member
  • *
  • Posts: 21
Re: Getting .m3u playlists to show?
« Reply #2 on: June 06, 2011, 10:27:26 PM »
I tried putting a list directly into there, but all it did was cause the player to not play anything when I tried to load it, and I had to reboot it.
Apparently Rockbox uses a different format for playlists within that directory than what Winamp (and RB's file browser) uses
(/<microSD1>/MUSIC/artist/album/filemame.mp3 vs. MUSIC\artist\album\filename.mp3).

So there's no way to have RB automatically find the playlists in the music files folder and automatically catalog them under playlists in the menu when initializing the database?  :-\
Logged

Offline Chronon

  • Rockbox Expert
  • Member
  • *
  • Posts: 4379
Re: Getting .m3u playlists to show?
« Reply #3 on: June 07, 2011, 12:27:26 AM »
Because the microSD card is mounted to /<microSD1>, the path in an m3u playlist must contain this string or Rockbox won't be able to find it.  Rockbox will accept forward slashes or back slashes as delimiters (unix style or DOS style, respectively).

The playlist catalog is simply the set of playlists at /Playlists.  Rockbox doesn't do any scanning to find playlists in other locations.
Logged
Sansa e280, Gigabeat F40, Gigabeat S60, Sansa Clip+, iPod Mini 2g

Offline jim234567

  • Member
  • *
  • Posts: 21
Re: Getting .m3u playlists to show?
« Reply #4 on: June 07, 2011, 05:37:02 PM »
Seems like this would be a useful thing to add (the Sansa OF already does it by default).

It's a multi-step process to get each of those lists into there (that has to be repeated any time I make updates to a list too).

Alright, thanks for the reply.

You wouldn't know why it doesn't save the list into /Playlists when I re-save it on the player, would you? (it saves it to the root instead for some reason)
« Last Edit: June 07, 2011, 05:40:45 PM by jim234567 »
Logged

Offline bluebrother

  • Developer
  • Member
  • *
  • Posts: 3421
  • creature
Re: Getting .m3u playlists to show?
« Reply #5 on: June 07, 2011, 07:01:59 PM »
Quote from: jim234567 on June 06, 2011, 10:27:26 PM
So there's no way to have RB automatically find the playlists in the music files folder and automatically catalog them under playlists in the menu when initializing the database?  :-\

Those are two completely different things. The Database has nothing to do with Playlists. The Playlists entry in the menu simply lists all playlist files that are stored in the /Playlists folders. No Database involved at all. The Database doesn't handle playlists.
Logged
Rockbox Utility development binaries (updated infrequently) · How to ask questions the smart way · We do not estimate timeframes.

Offline pondlife

  • Developer
  • Member
  • *
  • Posts: 248
Re: Getting .m3u playlists to show?
« Reply #6 on: June 08, 2011, 03:30:06 AM »
Barmy idea - maybe the Playlist Catalog should cover all storage - i.e. with a database-like scan?  If you have dircache enabled, the file tree has probably been parsed anyway... and that's one less "special directory".

This could be a third browser (i.e. file/database/playlists) and seperated from the file browser completely.  (Saving/renaming/deleting a playlist file would need to keep synced - again dircache-like.)

pondlife
Logged

Offline jim234567

  • Member
  • *
  • Posts: 21
Re: Getting .m3u playlists to show?
« Reply #7 on: June 08, 2011, 06:27:55 PM »
It would definitely save a multitude of extra steps. :)

No info on how to get the player to save the lists into the actual Playlist folder instead of onto the player's root?
Logged

Offline bluebrother

  • Developer
  • Member
  • *
  • Posts: 3421
  • creature
Re: Getting .m3u playlists to show?
« Reply #8 on: June 08, 2011, 06:59:55 PM »
Enter the path of the file you want to use?
Logged
Rockbox Utility development binaries (updated infrequently) · How to ask questions the smart way · We do not estimate timeframes.

Offline jim234567

  • Member
  • *
  • Posts: 21
Re: Getting .m3u playlists to show?
« Reply #9 on: June 09, 2011, 01:59:34 AM »
I have to enter "/Playlists/(name of list)" on the little virtual keyboard?

When I save presets or themes or anything else it seems, they automatically go into their proper respective folders... Why are playlists different?

???

I'll just continue reconnecting it to my computer afterward to move them there rather than fumble with the player itself trying to enter all that in.

Thanks for the answer.


Edit:
I see it now, it does not put "/Playlists/(name).m3u8" like it does "/fmpresets/(name).fmr" for example.  Bug?
« Last Edit: June 09, 2011, 04:20:21 AM by jim234567 »
Logged

Offline Chronon

  • Rockbox Expert
  • Member
  • *
  • Posts: 4379
Re: Getting .m3u playlists to show?
« Reply #10 on: June 09, 2011, 07:34:09 PM »
You might wish to use the Playlist Catalog options in the context menu if you want the playlist to end up in the catalog.  For example, you can use "Add to New Playlist" to insert a single track, a directory or an existing playlist into a new playlist and the default path will be /Playlists/.
Logged
Sansa e280, Gigabeat F40, Gigabeat S60, Sansa Clip+, iPod Mini 2g

Offline jim234567

  • Member
  • *
  • Posts: 21
Re: Getting .m3u playlists to show?
« Reply #11 on: June 10, 2011, 03:26:23 AM »
Quote from: Chronon on June 09, 2011, 07:34:09 PM
You might wish to use the Playlist Catalog options in the context menu if you want the playlist to end up in the catalog.  For example, you can use "Add to New Playlist" to insert a single track, a directory or an existing playlist into a new playlist and the default path will be /Playlists/.


Thanks, that actually does make it default to the /Playlists folder (I was doing it from "Playlists" on the main menu), though I'm not having much luck getting more than just the single track that's playing to go into the new list. How would I get it to save the entire "dynamic" list that's currently loaded to a new file using that menu?

Logged

Offline Chronon

  • Rockbox Expert
  • Member
  • *
  • Posts: 4379
Re: Getting .m3u playlists to show?
« Reply #12 on: June 10, 2011, 02:42:08 PM »
I believe that saving the current dynamic playlist can only be done via the menu entry you are referring to.  As you say, it doesn't default to the /Playlists directory.  If someone wants to change the default to /Playlists I wouldn't have any objection to that.  Maybe the default save location could be specified in config.cfg like the playlist catalog can.
Logged
Sansa e280, Gigabeat F40, Gigabeat S60, Sansa Clip+, iPod Mini 2g

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Audio Playback, Database and Playlists
| | |-+  Getting .m3u playlists to show?
 

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

Page created in 0.084 seconds with 14 queries.