I have a Sony NWZ-B152F which only supports MP3 files. When I try to transfer flac files and transcode them with Amarok 2.6.0 , amarok reports : Tracks not copied: the device already has these tracks I searched for this bug and found this : https://bugs.kde.org/show_bug.cgi?id=221794 But this is not fixed on my machine. Reproducible: Always Steps to Reproduce: 1.Get a device which does not support flac. 2.Connect the device with Amarok. 3.Transfer a flac to device.
And what is the purpose of wanting to transfer non-supported files to the device? While I agree that the error message is misleading, I don't see the point of transferring files to a device that can't even read them. AFAIK there has been quite some work on the media stack since Amarok 2.6, it would be good if you could test with Amarok 2.6.90 aka 2.7 beta 1
(In reply to comment #1) > And what is the purpose of wanting to transfer non-supported files to the > device? While I agree that the error message is misleading, I don't see the > point of transferring files to a device that can't even read them. > AFAIK there has been quite some work on the media stack since Amarok 2.6, it > would be good if you could test with Amarok 2.6.90 aka 2.7 beta 1 I think Amarok will transcode the flac files to mp3 in order to match the device.And I find that Amarok actually does this: http://userbase.kde.org/Amarok/Manual/Organization/Transcoding I will try Amarok 2.6.9. Thank you anyway.
I tried amarok-devel-2.7beta-2 but the bug is still there. The error message is wrong anyway since my device does not have those tracks.
Please do not touch the status, marking this as "unmaintained" makes no sense. Also it would be helpful to have more details about your Media Device, since there are so many out there it is hard to know just by a model number what it does. Please provide at least the connection type: since you also commented for the same device in a UMS device related bug this is not really clear. A link to the product specifications would be helpful.
confirmed, Amarok 2.6.0 to an Sony Xperia GO (using git libmtp) device supports .ogg .mp3 but not .flac Might be a configuration error, i.e. how transcoding is configured. But error message is very wrong anyway... Selecting a file, right click "Copy to collection" -> "ST27i" Have files in .flac on my PC, trying to copy that results in the mentioned error window. --debug as follows amarok: [CollectionTreeView] checking for global actions amarok: BEGIN: void CollectionTreeView::copyTracks(const QSet<CollectionTreeItem*>&, Collections::Collection*, bool) const amarok: [CollectionTreeView] starting source->prepareCopy amarok: BEGIN: void Collections::CollectionLocation::prepareCopy(Collections::QueryMaker*, Collections::CollectionLocation*) amarok: END__: void Collections::CollectionLocation::prepareCopy(Collections::QueryMaker*, Collections::CollectionLocation*) [Took: 0s] amarok: END__: void CollectionTreeView::copyTracks(const QSet<CollectionTreeItem*>&, Collections::Collection*, bool) const [Took: 0s] amarok: BEGIN: void Collections::CollectionLocation::queryDone() amarok: [CollectionLocation] we were about to copy something, lets proceed amarok: BEGIN: void Collections::CollectionLocation::startWorkflow(const TrackList&, bool) amarok: END__: void Collections::CollectionLocation::startWorkflow(const TrackList&, bool) [Took: 0s] amarok: END__: void Collections::CollectionLocation::queryDone() [Took: 0s] amarok: BEGIN: virtual void Collections::CollectionLocation::getKIOCopyableUrls(const TrackList&) amarok: [CollectionLocation] adding url KUrl("file:///home/roger/downloaded/Media/FLAC/Amy Diamond/greatest hits/01 - What's In It For Me - Amy Diamond.flac") amarok: BEGIN: void Collections::CollectionLocation::slotStartCopy(const QMap<KSharedPtr<Meta::Track>, KUrl>&, const Transcoding::Configuration&) amarok: BEGIN: virtual void Collections::MediaDeviceCollectionLocation::copyUrlsToCollection(const QMap<KSharedPtr<Meta::Track>, KUrl>&, const Transcoding::Configuration&) amarok: BEGIN: void Meta::MediaDeviceHandler::copyTrackListToDevice(Meta::TrackList) amarok: END__: void Meta::MediaDeviceHandler::copyTrackListToDevice(Meta::TrackList) [Took: 3s] amarok: END__: virtual void Collections::MediaDeviceCollectionLocation::copyUrlsToCollection(const QMap<KSharedPtr<Meta::Track>, KUrl>&, const Transcoding::Configuration&) [Took: 3s] amarok: END__: void Collections::CollectionLocation::slotStartCopy(const QMap<KSharedPtr<Meta::Track>, KUrl>&, const Transcoding::Configuration&) [Took: 3s] amarok: END__: virtual void Collections::CollectionLocation::getKIOCopyableUrls(const TrackList&) [Took: 3s] amarok: BEGIN: void Collections::CollectionLocation::slotFinishCopy() amarok: END__: void Collections::CollectionLocation::slotFinishCopy() [Took: 0s] Copying one of the supported file formats --debug output amarok: [CollectionTreeView] checking for global actions amarok: BEGIN: void CollectionTreeView::copyTracks(const QSet<CollectionTreeItem*>&, Collections::Collection*, bool) const amarok: [CollectionTreeView] starting source->prepareCopy amarok: BEGIN: void Collections::CollectionLocation::prepareCopy(Collections::QueryMaker*, Collections::CollectionLocation*) amarok: END__: void Collections::CollectionLocation::prepareCopy(Collections::QueryMaker*, Collections::CollectionLocation*) [Took: 0s] amarok: END__: void CollectionTreeView::copyTracks(const QSet<CollectionTreeItem*>&, Collections::Collection*, bool) const [Took: 0s] amarok: BEGIN: void Collections::CollectionLocation::queryDone() amarok: [CollectionLocation] we were about to copy something, lets proceed amarok: BEGIN: void Collections::CollectionLocation::startWorkflow(const TrackList&, bool) amarok: END__: void Collections::CollectionLocation::startWorkflow(const TrackList&, bool) [Took: 0s] amarok: END__: void Collections::CollectionLocation::queryDone() [Took: 0s] amarok: BEGIN: virtual void Collections::CollectionLocation::getKIOCopyableUrls(const TrackList&) amarok: [CollectionLocation] adding url KUrl("file:///home/roger/downloaded/Media/OggVorbis/Amy Diamond - GREATEST HITS/01 - What's In It For Me.ogg") amarok: BEGIN: void Collections::CollectionLocation::slotStartCopy(const QMap<KSharedPtr<Meta::Track>, KUrl>&, const Transcoding::Configuration&) amarok: BEGIN: virtual void Collections::MediaDeviceCollectionLocation::copyUrlsToCollection(const QMap<KSharedPtr<Meta::Track>, KUrl>&, const Transcoding::Configuration&) amarok: BEGIN: void Meta::MediaDeviceHandler::copyTrackListToDevice(Meta::TrackList) amarok: No tracks with same title, track not a dupe amarok: BEGIN: virtual float Meta::MtpHandler::totalCapacity() const amarok: END__: virtual float Meta::MtpHandler::totalCapacity() const [Took: 0s] amarok: BEGIN: virtual float Meta::MtpHandler::usedCapacity() const amarok: BEGIN: virtual float Meta::MtpHandler::totalCapacity() const amarok: END__: virtual float Meta::MtpHandler::totalCapacity() const [Took: 0s] amarok: END__: virtual float Meta::MtpHandler::usedCapacity() const [Took: 0.001s] amarok: Copying 1 tracks amarok: END__: void Meta::MediaDeviceHandler::copyTrackListToDevice(Meta::TrackList) [Took: 0.001s] amarok: END__: virtual void Collections::MediaDeviceCollectionLocation::copyUrlsToCollection(const QMap<KSharedPtr<Meta::Track>, KUrl>&, const Transcoding::Configuration&) [Took: 0.001s] amarok: BEGIN: bool Meta::MediaDeviceHandler::privateCopyTrackToDevice(const TrackPtr&) amarok: [MtpHandler] Parent id : 12 amarok: END__: void Collections::CollectionLocation::slotStartCopy(const QMap<KSharedPtr<Meta::Track>, KUrl>&, const Transcoding::Configuration&) [Took: 0.001s] amarok: BEGIN: void Meta::MediaDeviceHandler::setBasicMediaDeviceTrackInfo(const TrackPtr&, Meta::MediaDeviceTrackPtr) amarok: [MtpHandler] Set to: What's In It For Me amarok: [MtpHandler] Set to: GREATEST HITS amarok: END__: virtual void Collections::CollectionLocation::getKIOCopyableUrls(const TrackList&) [Took: 0.002s] amarok: [WARNING] NOT-IMPLEMENTED: virtual void Handler::MtpWriteCapability::libSetCoverArt(Meta::MediaDeviceTrackPtr&, const QImage&) amarok: [MtpHandler] Set to: Amy Diamond amarok: [MtpHandler] Set to: amarok: [MtpHandler] Set to: Pop amarok: [MtpHandler] filetype : "ogg" amarok: [MtpHandler] Filetype set to: "ogg" amarok: END__: void Meta::MediaDeviceHandler::setBasicMediaDeviceTrackInfo(const TrackPtr&, Meta::MediaDeviceTrackPtr) [Took: 0s] amarok: BEGIN: virtual bool Meta::MtpHandler::libCopyTrack(const TrackPtr&, Meta::MediaDeviceTrackPtr&) amarok: [MtpHandler] Parent id : 12 amarok: [MtpHandler] sending... amarok: [MtpHandler] Playable Url is: KUrl("file:///home/roger/downloaded/Media/OggVorbis/Amy Diamond - GREATEST HITS/01 - What's In It For Me.ogg") amarok: [MtpHandler] Sending file with path: "/home/roger/downloaded/Media/OggVorbis/Amy Diamond - GREATEST HITS/01 - What's In It For Me.ogg" Object::connect: No such signal Meta::MtpHandler::totalSteps( int ) amarok: [MtpHandler] sent amarok: END__: virtual bool Meta::MtpHandler::libCopyTrack(const TrackPtr&, Meta::MediaDeviceTrackPtr&) [Took: 2.3s] amarok: END__: bool Meta::MediaDeviceHandler::privateCopyTrackToDevice(const TrackPtr&) [Took: 2.3s] amarok: BEGIN: void Meta::MediaDeviceHandler::slotFinalizeTrackCopy(const TrackPtr&) amarok: END__: void Meta::MediaDeviceHandler::slotFinalizeTrackCopy(const TrackPtr&) [Took: 0s] amarok: BEGIN: void Meta::MediaDeviceHandler::slotDatabaseWritten(bool) amarok: END__: void Meta::MediaDeviceHandler::slotDatabaseWritten(bool) [Took: 0s] amarok: BEGIN: void Collections::CollectionLocation::slotFinishCopy() amarok: END__: void Collections::CollectionLocation::slotFinishCopy() [Took: 0s] amarok: BEGIN: void CollectionTreeItemModelBase::handleSpecialQueryResult(CollectionTreeItem::Type, Collections::QueryMaker*, const DataList&) amarok: [CollectionTreeItemModelBase] Received special data: 4 amarok: END__: void CollectionTreeItemModelBase::handleSpecialQueryResult(CollectionTreeItem::Type, Collections::QueryMaker*, const DataList&) [Took: 0s] amarok: BEGIN: void CollectionTreeItemModelBase::handleSpecialQueryResult(CollectionTreeItem::Type, Collections::QueryMaker*, const DataList&) amarok: [CollectionTreeItemModelBase] Received special data: 27 amarok: END__: void CollectionTreeItemModelBase::handleSpecialQueryResult(CollectionTreeItem::Type, Collections::QueryMaker*, const DataList&) [Took: 0s]
*** Bug 378199 has been marked as a duplicate of this bug. ***