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

Author Topic: How to  (Read 2087 times)

Offline sumdumguy

  • Member
  • *
  • Posts: 3
How to
« on: March 08, 2008, 05:12:36 PM »
I am sorry if this is in the manual but I could not find it.
How do I make a playlist on my computer and upload it to the player?
Let's say I have the following file structure:
C:\Documents and Settings\[...]\My Music\band1\disc1
C:\Documents and Settings\[...]\My Music\band1\disc2
C:\Documents and Settings\[...]\My Music\band2\disc1
C:\Documents and Settings\[...]\My Music\band2\disc2
and let's say I make a m3u playlist referencing files in all these directories.

Now my portable player has directories
/favs/band1/disc1
/favs/band1/disc2
/favs/band2/disc1
/favs/band2/disc2
Is Rockbox going to be smart enough to carry over references and adjust
root directories as needed on the fly?
Logged

Offline bluebrother

  • Developer
  • Member
  • *
  • Posts: 3421
  • creature
Re: How to
« Reply #1 on: March 08, 2008, 05:14:46 PM »
Quote from: sumdumguy on March 08, 2008, 05:12:36 PM
Is Rockbox going to be smart enough to carry over references and adjust
root directories as needed on the fly?
No -- how should it know how much to strip? Or by what to replace the part it strips? Rockbox strips a possible drive letter, thus you can create playlist when your player is connected to the PC. Or create playlists using relative paths (no idea which windows tools create such). Those will work fine (as long as they are in the correct location of course).
Logged
Rockbox Utility development binaries (updated infrequently) · How to ask questions the smart way · We do not estimate timeframes.

Offline Llorean

  • Member
  • *
  • Posts: 12931
Re: How to
« Reply #2 on: March 08, 2008, 05:26:17 PM »
I think rockbox will actually try stripping one level at a time until there is just the filename. So if I'm not wrong, and I might well be, it would work if you removed the favs part.
Logged

Offline sumdumguy

  • Member
  • *
  • Posts: 3
Re: How to
« Reply #3 on: March 08, 2008, 05:31:09 PM »
Ideally if I place the playlist in top directory it should understand that I reference subdirectories. So if my playlist references
band1\disc1
band1\disc2
band2\disc1
band2\disc2
and I place the playlist in /favs it should know to look in appropriate subdirectories.
It could either be smart and recursively strip root directories until it finds a good match
to the directory structure in the playlist or be dumb and require me to manually
erase root directory part of each reference (since m3u files are text files, this is easy).

Anyways, from you answer it seems it does neither and I can only create playlists when the player is physically available to me. Is that correct?
Logged

Offline safetydan

  • Developer
  • Member
  • *
  • Posts: 248
Re: How to
« Reply #4 on: March 08, 2008, 06:13:41 PM »
It may just be quicker to try it out. I believe Llorean is correct when he says Rockbox will try stripping elements of the path until it finds a match. So Rockbox should work how you want it to.
Logged

Offline sumdumguy

  • Member
  • *
  • Posts: 3
Re: How to
« Reply #5 on: March 08, 2008, 06:15:01 PM »
Another thing that could be done and this is the best option really, is to have a tool which would look through the playlist, build a hash for each file and then search for matching hashes in the player files, then automatically rebuild the playlist for the rockbox player.
Does anyone know of such a smart sync tool?
Logged

Offline bluebrother

  • Developer
  • Member
  • *
  • Posts: 3421
  • creature
Re: How to
« Reply #6 on: March 08, 2008, 06:15:39 PM »
Quote from: sumdumguy on March 08, 2008, 05:31:09 PM
Ideally if I place the playlist in top directory it should understand that I reference subdirectories. So if my playlist references
band1\disc1
band1\disc2
band2\disc1
band2\disc2
and I place the playlist in /favs it should know to look in appropriate subdirectories.
from what Llorean said this would work. I'm not aware that Rockbox strips multiple path elements until it finds the file but I might be wrong on this.

Quote
It could either be smart and recursively strip root directories until it finds a good match to the directory structure in the playlist or be dumb and require me to manually
erase root directory part of each reference (since m3u files are text files, this is easy).
Rockbox is partly smart but it tries not to be smarter than you. From what I know it definitely strips the leading drive letter if your playlist contains absolute paths.

Quote
Anyways, from you answer it seems it does neither and I can only create playlists when the player is physically available to me. Is that correct?
No. As I said above ...

You can always use playlists using relative file references (something I sometimes do) or replicate the folder tree on your PC.

Quote from: sumdumguy on March 08, 2008, 06:15:01 PM
Another thing that could be done and this is the best option really, is to have a tool which would look through the playlist, build a hash for each file and then search for matching hashes in the player files, then automatically rebuild the playlist for the rockbox player.
Errr ... what do you want to achieve? You can create playlists on the player, and you can also easily build a so-called "root playlist". You can even put all tracks in a dynamic playlist by using the database. I really don't understand why you would want to rebuild "the playlist for the player", especially not what this should be.

Or are you looking for a tool that replicates your database on the player and adjusts the playlists accordingly? For syncing the files are a few tools around, check the wiki (I think the page was called UsefulTools or something similar).
« Last Edit: March 08, 2008, 06:19:21 PM by bluebrother »
Logged
Rockbox Utility development binaries (updated infrequently) · How to ask questions the smart way · We do not estimate timeframes.

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

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

Page created in 0.084 seconds with 15 queries.