Nightingale Forums

Full Version: Sync playcount with Android phones
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Hi,

I was wondering if there were any options for complete synchronisation of music and metadata on Android phones. In particular, every time I listen to something on my Android device, I'd like the playcount to increment in NG. Updating the last-played time would also be good.

I read a post from a year ago saying that MusicPlayer Pro for Android could sync ratings. I couldn't find an app called that, but found a few links pointing to PlayerPro Music Player, which might be the renamed version. Apparently, it can "import and export music history and ratings from ... Songbird", but I'm not sure what that includes exactly.

I also noticed that there is an Android version of Songbird, but (in May 2011 at least) there is no support for syncing of playcounts (as per the comments here).

Anyway, does anyone have any suggestions, or have they tried any of these options?

Cheers.
(04-21-2012, 03:18 PM)sparhawk Wrote: [ -> ]Hi,

I was wondering if there were any options for complete synchronisation of music and metadata on Android phones. In particular, every time I listen to something on my Android device, I'd like the playcount to increment in NG. Updating the last-played time would also be good.

I read a post from a year ago saying that MusicPlayer Pro for Android could sync ratings. I couldn't find an app called that, but found a few links pointing to PlayerPro Music Player, which might be the renamed version. Apparently, it can "import and export music history and ratings from ... Songbird", but I'm not sure what that includes exactly.

I also noticed that there is an Android version of Songbird, but (in May 2011 at least) there is no support for syncing of playcounts (as per the comments here).

Anyway, does anyone have any suggestions, or have they tried any of these options?

Cheers.

There is something like that for Rockbox using the Synchronization feature. A short google for "Rockbox Android" delivered that Google's summer of code 2010 has a project Rockbox as an application, a android port of rockbox. Maybe it uses the same library structure and a sync is possible? Not tested, throgh.

If you have additional details on how to insert/read data into/from a android media player there might be a way to add that to the synchronization feature?
(04-21-2012, 09:39 PM)rsjtdrjgfuzkfg Wrote: [ -> ]There is something like that for Rockbox using the Synchronization feature. A short google for "Rockbox Android" delivered that Google's summer of code 2010 has a project Rockbox as an application, a android port of rockbox. Maybe it uses the same library structure and a sync is possible? Not tested, throgh.
I did come across information about Android Rockbox, but it seemed a bit too alpha at the moment for me. I haven't tried it, so this is purely speculative.

(04-21-2012, 09:39 PM)rsjtdrjgfuzkfg Wrote: [ -> ]If you have additional details on how to insert/read data into/from a android media player there might be a way to add that to the synchronization feature?
I haven't attempted anything yet, but I might give it a go in the next few weeks and post back here, unless anyone has any more information.
I tried installing Rockbox on my Android phone, which seems to work okay. I actually followed a link on one of the pages you mentioned, where someone packaged pre-built apks.

I can't seem to get the playcounts on Android syncing to Nightingale. I used Synchronization > Perform a Rockbox-Back-Sync on target device. I'm not sure if that's the right way to do it? Otherwise, does one need this add-on? Alternatively, I see you mentioned that there is also support for MSC? How would one enable that?

Also, I can never seem to save my synchronisation settings. Next time I start Nightingale, the settings are lost, and nothing appears in the popup. This is for both the "Favorite Syncs" and the "Current Profile".
(05-02-2012, 07:54 PM)sparhawk Wrote: [ -> ]I tried installing Rockbox on my Android phone, which seems to work okay. I actually followed a link on one of the pages you mentioned, where someone packaged pre-built apks.

I can't seem to get the playcounts on Android syncing to Nightingale. I used Synchronization > Perform a Rockbox-Back-Sync on target device. I'm not sure if that's the right way to do it?

The preference you used seems correct. From Nightingale, navigate to
Code:
chrome://foldersync/content/manual/en/profiles.htm#rockbox
for the feature's description.

(05-02-2012, 07:54 PM)sparhawk Wrote: [ -> ]Otherwise, does one need this add-on?
This add-on is equal to Nightingale's synchronization feature.

(05-02-2012, 07:54 PM)sparhawk Wrote: [ -> ]Alternatively, I see you mentioned that there is also support for MSC?
You can sync MSC devices with the synchronization feature by simply entering a valid path on your device as target device and performing the sync. You can save it as sync favorite if you want.

(05-02-2012, 07:54 PM)sparhawk Wrote: [ -> ]Also, I can never seem to save my synchronisation settings. Next time I start Nightingale, the settings are lost, and nothing appears in the popup. This is for both the "Favorite Syncs" and the "Current Profile".
This shouldn't be that way. If you want to save the current profile with a name, you can hit the save button besides the synchronization tab. But even without saving it should stay.
However, I just found there is a bug when closing Nightingale while the synchronization tab is open. You should navigate back to your library as a workaround. It seems the destroy handlers aren't properly executed in that case...
Sorry for taking so long to get back. For some reason the forum wasn't emailing me on new replies!
(05-02-2012, 11:14 PM)rsjtdrjgfuzkfg Wrote: [ -> ]
(05-02-2012, 07:54 PM)sparhawk Wrote: [ -> ]I can't seem to get the playcounts on Android syncing to Nightingale. I used Synchronization > Perform a Rockbox-Back-Sync on target device.
The preference you used seems correct.
I still can't get this to work. The page you linked to states
Quote:Rockbox-Back-Sync will only work when Rockbox is installed on the device the target folder resides on; it will get detected automatically.
but perhaps the Android version of Rockbox is a bit different, storing the identifying data elsewhere. (For the record, I had to enable history logging within Rockbox via Settings > General Settings > Database > Gather Runtime Data.)

(05-02-2012, 11:14 PM)rsjtdrjgfuzkfg Wrote: [ -> ]You can sync MSC devices with the synchronization feature by simply entering a valid path on your device as target device and performing the sync. You can save it as sync favorite if you want.
Thanks, I'll give it a try. Just out of interest, do you have an (Android) phone, or other portable music device, and if so, what application do you use?

(05-02-2012, 11:14 PM)rsjtdrjgfuzkfg Wrote: [ -> ]However, I just found there is a bug when closing Nightingale while the synchronization tab is open. You should navigate back to your library as a workaround. It seems the destroy handlers aren't properly executed in that case...
Ah okay. I did as you suggested and it works fine now.

Thanks again!
(05-19-2012, 09:21 AM)sparhawk Wrote: [ -> ]but perhaps the Android version of Rockbox is a bit different, storing the identifying data elsewhere. (For the record, I had to enable history logging within Rockbox via Settings > General Settings > Database > Gather Runtime Data.)
Might be an issue. If you can locate the Rockbox database (on sd), I might adjust the search algorithm. If it is kept in the application's data folder I don't think there is a way NG could access it.

(05-19-2012, 09:21 AM)sparhawk Wrote: [ -> ]Just out of interest, do you have an (Android) phone, or other portable music device, and if so, what application do you use?
I have an android phone, and use a sync favorite. I haven't decided on a player yet (currently switching between Songbird for Android and the built-in HTC player, but also searching for better ones, don't need that much features but integration), but I don't need anything else synced as I have my playlists for almost everything Wink

I assume this is thread is getting more synchronization-related, I suggest I move this to the Synchronization Helpdesk?
(05-19-2012, 09:53 AM)rsjtdrjgfuzkfg Wrote: [ -> ]I assume this is thread is getting more synchronization-related, I suggest I move this to the Synchronization Helpdesk?
That sounds good.

Also, I'm still not getting notification of new replies! I got them fine in the past, and they're not going to my spam folder or anything. If I check out my User CP, this thread does not appear in "Thread Subscriptions With New Posts" (although it does turn up in "Your Latest Threads"). OTOH, I am definitely subscribed, as I see when I "View All Subscriptions".

Regarding Rockbox in Android, I think (since there are other options that should sync with NG), I will try a different music player. (Mainly because Rockbox doesn't really seem optimised for Android at the moment, and also because it's a massive size for the internal memory.)

However, I'm still trying to get Rockbox sync working on my iPod Classic 160 GB, on which I've loaded Rockbox via EmCORE. The first sync appeared to work, I think, although perhaps it failed and I missed the error message. I can see that much of my music has transferred including the tracks listed below (see later).

Trying to sync again, I get the error message "Sync failed: undefined". Googling led me to this thread, where you suggested going to about:config and changing extensions.FolderSync.debugLevel;3 to 5. So, the Error Console is now full of the following "Messages" (all in blue). Firstly, I get pages and pages of messages similar to the following:
Code:
FolderSync: Event raised in 'sync-sync':
Enumerate '/media/iPodClassic/music/The Stooges'

FolderSync: Event raised in 'sync-sync':
Enumerate '/media/iPodClassic/music/The Stooges/Raw Power'

FolderSync: Event raised in 'sync-sync':
Enumerate '/media/iPodClassic/music/The Stooges/Fun House'

FolderSync: Event raised in 'sync-sync':
Enumerate '/media/iPodClassic/music/The Stooges/The Stooges'
Then, it ends with
Code:
FolderSync: Event raised in 'sync-sync':
Notify listeners of new state

FolderSync: Event raised in 'sync-update':
Update listeners

FolderSync: Event raised in 'sync':
Update listeners:

State: fatal
       undefined
Cancelled: undefined
GUID:undefined
Target: undefined
Profile: undefined

Thanks again for all your help.
(05-21-2012, 02:56 PM)sparhawk Wrote: [ -> ]
(05-19-2012, 09:53 AM)rsjtdrjgfuzkfg Wrote: [ -> ]I assume this is thread is getting more synchronization-related, I suggest I move this to the Synchronization Helpdesk?
That sounds good.
Done.

(05-21-2012, 02:56 PM)sparhawk Wrote: [ -> ]Also, I'm still not getting notification of new replies! I got them fine in the past, and they're not going to my spam folder or anything. If I check out my User CP, this thread does not appear in "Thread Subscriptions With New Posts" (although it does turn up in "Your Latest Threads"). OTOH, I am definitely subscribed, as I see when I "View All Subscriptions".
Hmmm. There are no entries in the forum's mail delivery error log, so I assume the system did not got your subscription properly or your email provider has issues reciving emails from dreamhost (for example a too-strict spam filter on their side). Maybe ilikenwf can do some tests, I don't have full admin access to the server, only to the forums.

(05-21-2012, 02:56 PM)sparhawk Wrote: [ -> ]Trying to sync again, I get the error message "Sync failed: undefined". Googling led me to this thread, where you suggested going to about:config and changing extensions.FolderSync.debugLevel;3 to 5. So, the Error Console is now full of the following "Messages" (all in blue).
That's the correct thing to do. However, the messages you posted are not the important ones Wink
I need the last ~ 10 Messages, as
Code:
FolderSync: Event raised in 'sync-sync':
Notify listeners of new state
is a after-error message describing the process of detecting the error. It might also help to know what your setup looks like (e.g. if the last mentioned folder exists, if you have write privileges on it, etc.), to determine the reasons for the issue.
(05-22-2012, 03:30 AM)rsjtdrjgfuzkfg Wrote: [ -> ]
(05-21-2012, 02:56 PM)sparhawk Wrote: [ -> ]Also, I'm still not getting notification of new replies! I got them fine in the past, and they're not going to my spam folder or anything. If I check out my User CP, this thread does not appear in "Thread Subscriptions With New Posts" (although it does turn up in "Your Latest Threads"). OTOH, I am definitely subscribed, as I see when I "View All Subscriptions".
Hmmm. There are no entries in the forum's mail delivery error log, so I assume the system did not got your subscription properly or your email provider has issues reciving emails from dreamhost (for example a too-strict spam filter on their side). Maybe ilikenwf can do some tests, I don't have full admin access to the server, only to the forums.
Do you think perhaps it's an issue that this thread does not appear in my "Thread Subscriptions With New Posts"? Perhaps the problem is upstream of the mail delivery? We could do some further troubleshooting if you post in this thread, which does appear in my "Thread Subscriptions With New Posts". If I get a notification, that might be informative.

(05-22-2012, 03:30 AM)rsjtdrjgfuzkfg Wrote: [ -> ]That's the correct thing to do. However, the messages you posted are not the important ones Wink
I need the last ~ 10 Messages, as
Code:
FolderSync: Event raised in 'sync-sync':
Notify listeners of new state
is a after-error message describing the process of detecting the error. It might also help to know what your setup looks like (e.g. if the last mentioned folder exists, if you have write privileges on it, etc.), to determine the reasons for the issue.
Unfortunately, I covered all of the messages I get! I get pages of the first style of messages, then the last three.

Also, I checked my Rockbox-iPod Classic today, and there were some files missing. I'm trying to sync my entire music library, which is 12148 items (56.8 GB), and my iPod only contains 7444 items (28.1 GB).

I'm not sure what else is informative, but I do have write permission (as part of the library was transferred), and the sync folder does exist. Let me know if there's anything else I can check.

Thanks again.
Pages: 1 2