Summary: | iTunes Mobile fix request - related to Bug 131487 | ||
---|---|---|---|
Product: | [Applications] amarok | Reporter: | Alphamerik <alphamerik> |
Component: | Collections/iPod iPhone | Assignee: | Amarok Developers <amarok-bugs-dist> |
Status: | RESOLVED FIXED | ||
Severity: | wishlist | CC: | matej |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Alphamerik
2006-08-05 06:21:25 UTC
I don't think that this should be necessary: could you please report your problem to the gtkpod-devel mailing list? The people there will probably be able to help you with what kind of information you have to provide so they can make the detection code work with your phone. Aparently no mobile can be recognized as an iPod mobile without user intervention. Bug reported to libgpod here: http://sourceforge.net/tracker/index.php?func=detail&aid=1535128&group_id=67873&atid=519276 A temporary solution is to create a file on the mobile device like as follows: $ cat iTunes/iTunes_Control/Device/SysInfo ModelNumStr: Mmobile1 GtkPod will ask the user what the device is if it is not recognized. I would recommend this method for Amarok as it seems to be the most robust. Thank you for your help. The response from the libgpod developers: "The way libgpod works at this time, you will have to create a SysInfo file with the respective model name. gtkpod (CVS version) will do that for you when you set the type of the iPod in the Repository Preferences Dialog." This reinforces my case that extra logic/interaction needs to occure in the case of an unknown iPod type. Thanks again... SVN commit 570919 by aumuell: detect itunes phones based on directory structure BUG: 131910 M +4 -2 ChangeLog M +5 -0 src/mediadevice/ipod/ipodmediadevice.cpp --- trunk/extragear/multimedia/amarok/ChangeLog #570918:570919 @@ -40,8 +40,8 @@ * Lift size limit on pathnames and comments in collection databases not managed by MySQL. (BR 130585) * Generic mediadevice plugin is improved. Users can configure supported - filetypes and get more control over the location of songs and podcasts on disk - (Patch by eute). + filetypes and get more control over the location of songs and podcasts + on disk (Patch by eute). * Move composer tag to its own database table. * Re-enable adding videos to iPods with recent libgpod-cvs. (BR 130117) * Include Skip, Love and Ban in playlist right-click menu for last.fm @@ -77,6 +77,8 @@ since the last time it was enabled. BUGFIXES: + * Check directory structure on iPods of unknown type in order to detect + iTunes phones. (BR 131910) * Make 'Clear' individually translatable for playlists. (BR 131521) * Retain column visibility for flat collection view. (BR 126685) * Honour proxy exceptions for MusicBrainz lookups. Patch by N. Cat --- trunk/extragear/multimedia/amarok/src/mediadevice/ipod/ipodmediadevice.cpp #570918:570919 @@ -1010,6 +1010,11 @@ case ITDB_IPOD_MODEL_INVALID: case ITDB_IPOD_MODEL_UNKNOWN: modelString = 0; + if( pathExists( "iTunes:iTunes_Control" ) ) + { + debug() << "iTunes/iTunes_Control found - assuming itunes phone" << endl; + m_isMobile = true; + } break; default: break; |