Support and General Use > Audio Playback, Database and Playlists

Bookmark import/export

(1/3) > >>

PaulF:
I use my Sansa Fuze every day to listen to podcasts. Occasionally I plug the player into the USB on a Linux Box(Beaglebone or Raspberry PI). Is there a way to unplug the player and resume where I left off on the Linux player? Ideally I'm guessing I need a Linux player that saves the playback progress in a file so that is way out of the scope of this forum. I was just seeing if by chance anyone has solved this problem. Audio book players with multple platforms synch up with each other.

[Saint]:
If you used the Rockbox simulator, or SDL app (you'd need to compile these yourself - yes, both run on ARMv6) combined with the "bookmark on stop" feature, you could make a small script to be run from the host (you could even write this in LUA (lowers the bar) or C and run it as a native plugin in the simulator or SDL app) that copied the bookmark file(s) between the desktop player and the DAP based on which file was newer (DAP -> host if DAP bookmark is newer, and host -> DAP if DAP bookmark is newer).

Now, this is fairly ugly, granted, but it needs to special tools, and no special software barring what's already available to you, and a tiny bit of shell script magic or LUA/C.


[Saint]

PaulF:

--- Quote from: [Saint] on February 14, 2015, 05:07:36 AM ---If you used the Rockbox simulator, or SDL app (you'd need to compile these yourself - yes, both run on ARMv6) combined with the "bookmark on stop" feature, you could make a small script to be run from the host (you could even write this in LUA (lowers the bar) or C and run it as a native plugin in the simulator or SDL app) that copied the bookmark file(s) between the desktop player and the DAP based on which file was newer (DAP -> host if DAP bookmark is newer, and host -> DAP if DAP bookmark is newer).

Now, this is fairly ugly, granted, but it needs to special tools, and no special software barring what's already available to you, and a tiny bit of shell script magic or LUA/C.


[Saint]

--- End quote ---
Well, that was a totally unexpected surprise. Almost a miracle. Thanks. I wrote a  perl script, that is on the FUZE and runs on my Beaglebone Black, to fetch podcasts and load  them on to the  Fuze. The script renames the mp3 files for Rockbox readability and also adds an album art mp3 tag. I can add bookmark handling, but I'm thinking the simulator on the Beaglebone could use the USB disk so the Fuze player would use the same directory tree. I tried XBMC/Kodi on the Raspberry Pi and it played MP3 files on the USB drive, but I hate the UI and no bookmark sharing makes it useless, in my opinion. Debian has an SDL package.

[Saint]:
Just checking in because I saw that there was maybe some disconnect with what I meant by "SDL app".

In case I wasn't clear, you can compile a Rockbox build of any arbitrary dimensions as an SDL app and theme it at your leisure (or compile it to any one of the supported resolutions of existing devices {which it will default to} to get the default UI added automatically at build time).

This is build variant '200' in our configure script for reference.

This will allow you to set the Database/File Browser starting directories to any volume mountable by the host system.

[Saint]

PaulF:

--- Quote from: [Saint] on February 14, 2015, 08:07:42 PM ---Just checking in because I saw that there was maybe some disconnect with what I meant by "SDL app".

--- End quote ---
No misunderstanding. I should have added that the Debian SDL package was a lib not an app.

Navigation

[0] Message Index

[#] Next page

Go to full version