Re: [Banshee-List] Rio Karma DAP plugin
- From: "Bob Copeland" <bcopeland gmail com>
- To: banshee-list gnome org
- Subject: Re: [Banshee-List] Rio Karma DAP plugin
- Date: Sat, 29 Jul 2006 19:19:48 -0400
On 7/26/06, Bob Copeland <bcopeland gmail com> wrote:
Hi all,
I have recently begun a new DAP plugin for the Rio Karma based upon
[...]
Right now the plugin can download the database, play tracks from the
device, and upload new songs, although syncing isn't perfect yet.
Alright, so having looked at this a bit, I believe I know why the sync
isn't working. I am setting the uri for tracks in the Dap track
database to the file:// uri to the Karma mount point. The karma
renames all of its files once uploaded, so a typical mp3 file would
look like:
file:///mnt/karma/fids0/_00000/1c0.
The code in Dap core appears to do something along the following lines
when doing a full sync:
- remove any tracks on the Dap that aren't in the library
- add all tracks in library that aren't on the dap
- for any track that has a uri, see if it needs to be transcoded. if
so, transcode them
- call Dap's Synchronize to save the list of tracks
The problem is existing files in the Dap database would already have
URIs, with no extensions. So Banshee will try to transcode them since
they aren't obviously mp3/ogg files, even though these are files that
are already on the device, and they are in fact audio files.
The temporary fix is to just not set the URIs for songs on the device,
but then playback of Dap tracks doesn't work. Any thoughts?
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]