The Cowon S9 supports Ogg Vorbis but mpt-detect doesn't show it in the list of available formats. It does have an "unknown" format that looks like it might be Vorbis - it's b301 in mtp-detect. Attaching the output.
More likely they're using the "Unknown" filetype since Ogg has an official filetype
already. Can you try to tag on DEVICE_FLAG_OGG_IS_UNKNOWN to the
S9 in src/music_players.h and see what happens?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I updated CVS and added that option and it now works - excellent! I suggest that that if that change is made to CVS, the S9 can be listed as fully functioning for the next release (0.3.8?).
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I think I spoke too soon - it all seems to work with the commandline tools but no downstream app can see any tracks on it.
I synchronised my Banshee music library to the S9 and Banshee then had issues creating playlists. Now Banshee, Rhythmbox and AmaroK can all only see the first track (as listed by mtp-tracks) with the rest of the space taken on the device by music as being "other" data. They also can't see the contents of a playlist created by mtp-newplaylist unless it's that first track.
If I remove the first track, they can only see the next track (that is now the first).
Here's the output from mtp-tracks of the first two tracks (before I deleted the first) in case it helps.
Attempting to connect device(s)
mtp-tracks: Successfully connected
Friendly name: COWON S9 1.06
Track ID: 268435456
Title: Lonely Pup (In a Christmas Shop)
Artist: Adam Faith
Album: The Best Christmas Album in the World... Ever! 2000 (disc 2)
Date: 00010101T0000.00
Origfilename: 08. Lonely Pup (In a Christmas Shop).ogg
Track number: 8
Duration: 107173 milliseconds
File size 2424325 bytes
Filetype: RIFF WAVE file
Number of channels: 1
Use count: 2 times
Track ID: 268435457
Title: Easy
Artist: Al Jarreau
Album: Jazz Moods
Date: 00000101T0000.00
Origfilename: 19. Easy.ogg
Track number: 19
Duration: 240013 milliseconds
File size 4463914 bytes
Filetype: RIFF WAVE file
Number of channels: 1
Use count: 4 times
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
BTW looking closer, is it so that ogg files you transfer with the UNKNOWN
flag set then turn up as WAVE files...? That's a totally new misbehaviour,
would need some new DEVICE_FLAG_TREAT_OGG_AS_WAVE flag
Nevertheless, the entire issue should be reported to Cowon so they can fix
their firmware, which is broken :-(
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Ummm, not quite - when I view the file details on the S9 itself, it correctly lists them as being Ogg and when I mount it as mass storage I can see that they're valid ogg files with the Vorbis codec etc - also the md5sums match between my hard drive version and the S9's copy. So they are valid ogg files being reported as "RIFF WAVE" in mtp-tracks - weird...
The apps are using the new libmtp - I'm building packages rather than installing to /usr/local.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Sorry, ignore that last post, comparing with the original machine again - on both machines, some tracks are listed as Ogg container with zero duration and some as RIFF WAVE with correct duration.
Would a full mtp-tracks output be helpful?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
This Tracker item was closed automatically by the system. It was
previously set to a Pending status, and the original submitter
did not respond within 14 days (the time period specified by
the administrator of this Tracker).
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
mtp-detect output
More likely they're using the "Unknown" filetype since Ogg has an official filetype
already. Can you try to tag on DEVICE_FLAG_OGG_IS_UNKNOWN to the
S9 in src/music_players.h and see what happens?
I updated CVS and added that option and it now works - excellent! I suggest that that if that change is made to CVS, the S9 can be listed as fully functioning for the next release (0.3.8?).
I think I spoke too soon - it all seems to work with the commandline tools but no downstream app can see any tracks on it.
I synchronised my Banshee music library to the S9 and Banshee then had issues creating playlists. Now Banshee, Rhythmbox and AmaroK can all only see the first track (as listed by mtp-tracks) with the rest of the space taken on the device by music as being "other" data. They also can't see the contents of a playlist created by mtp-newplaylist unless it's that first track.
If I remove the first track, they can only see the next track (that is now the first).
Here's the output from mtp-tracks of the first two tracks (before I deleted the first) in case it helps.
Attempting to connect device(s)
mtp-tracks: Successfully connected
Friendly name: COWON S9 1.06
Track ID: 268435456
Title: Lonely Pup (In a Christmas Shop)
Artist: Adam Faith
Album: The Best Christmas Album in the World... Ever! 2000 (disc 2)
Date: 00010101T0000.00
Origfilename: 08. Lonely Pup (In a Christmas Shop).ogg
Track number: 8
Duration: 107173 milliseconds
File size 2424325 bytes
Filetype: RIFF WAVE file
Number of channels: 1
Use count: 2 times
Track ID: 268435457
Title: Easy
Artist: Al Jarreau
Album: Jazz Moods
Date: 00000101T0000.00
Origfilename: 19. Easy.ogg
Track number: 19
Duration: 240013 milliseconds
File size 4463914 bytes
Filetype: RIFF WAVE file
Number of channels: 1
Use count: 4 times
I've added the flag to CVS for next libmtp.
The other problem I think is due to the fact that your Banshee/Rhythmbox/Amarok
isn't using the new libmtp.
Have you tried running the apps forcing the new library version (see further INSTALL file
from libmtp):
Linus
BTW looking closer, is it so that ogg files you transfer with the UNKNOWN
flag set then turn up as WAVE files...? That's a totally new misbehaviour,
would need some new DEVICE_FLAG_TREAT_OGG_AS_WAVE flag
Nevertheless, the entire issue should be reported to Cowon so they can fix
their firmware, which is broken :-(
Ummm, not quite - when I view the file details on the S9 itself, it correctly lists them as being Ogg and when I mount it as mass storage I can see that they're valid ogg files with the Vorbis codec etc - also the md5sums match between my hard drive version and the S9's copy. So they are valid ogg files being reported as "RIFF WAVE" in mtp-tracks - weird...
The apps are using the new libmtp - I'm building packages rather than installing to /usr/local.
Tested it on a different machine with the same limbtp packages, the behaviour here is different but similar:
mtp-tracks output:
ogley@vole:~> mtp-tracks
Attempting to connect device(s)
mtp-tracks: Successfully connected
Friendly name: COWON S9 1.06
Track ID: 268435467
Origfilename: VOR 2009-06-25 10-48-52.wma
Track number: 0
Duration: 3000 milliseconds
File size 26303 bytes
Filetype: Microsoft Windows Media Audio
Track ID: 268435468
Title: Girls and Boys
Origfilename: 10 - Girls and Boys.ogg
Track number: 0
Duration: 0 milliseconds
File size 6256555 bytes
Filetype: Ogg container format
Track ID: 268435470
Title: Charmless Man
Origfilename: 11 - Charmless Man.ogg
Track number: 0
Duration: 0 milliseconds
File size 4781062 bytes
Filetype: Ogg container format
.... cont'd ....
The first track is a recording done on the S9 itself - don't worry about that. All tracks show a 0 duration though.
In Banshee however, no tracks are listed at all now, nor - as on the other machine - are playlists created with the cli tools.
Sorry, ignore that last post, comparing with the original machine again - on both machines, some tracks are listed as Ogg container with zero duration and some as RIFF WAVE with correct duration.
Would a full mtp-tracks output be helpful?
Zero duration is to be expected, since "unknown" files cannot be
tagged with any such metadata. Seems it's mostly working now then?
But you should still report this to Cowon so they fix their firmware!
This Tracker item was closed automatically by the system. It was
previously set to a Pending status, and the original submitter
did not respond within 14 days (the time period specified by
the administrator of this Tracker).