Author Topic: Google Music Playlist Sync  (Read 54307 times)


leo_r

  • Guest
Have you followed the instructions on the wiki regarding enabling third party apps to log in to your Google account?

Claytton

  • Guest
Have you followed the instructions on the wiki regarding enabling third party apps to log in to your Google account?

Yes

offtheleft

  • Guest
Hey Leo, still having issues syncing in from Google Play to MusicBee.

offtheleft

  • Guest
Figured out my issues! I had to create empty playlists with the same names as my Google playlists, and they synced the songs into the empty playlists. Kinda clunky, but hey, it worked!

leo_r

  • Guest
Hi! Sorry for the general delay in replying. I've put out a new version which should successfully sync both ways.

Download here

The Chauffeur

  • Guest
I can't log in

Have you solved this problem?
I finally installed 2.5 incl. GM-Sync, but can`t log in either.
Google Account Login for Less Secure Apps was already enabled.
No idea what to try now...

olliebean

  • Newbie
  • *
  • Posts: 19
Having a problem with this that I haven't seen anyone else mention.

The first time I run MusicBee after installing the plugin, it appears to work fine - the only issue is that when I log into Google Music, I briefly see a message: "ERROR: couldn't save settings", but then my Google song list downloads and I can sync playlists with no problems. But the next time, and every subsequent time I run MusicBee, I get the following error when trying to start the plugin:

Quote
MusicBee v2.5.5524.39432 (Win5.1), 20 Jun 2015 22:29:

System.NullReferenceException: Object reference not set to an instance of an object.
   at MusicBeePlugin.Configure..ctor(PlaylistSync playlistSync, Settings settings)
   at MusicBeePlugin.Plugin.onMenuItemClick(Object sender, EventArgs e)
   at #=qOQLu0JmgzQo$2ZdDrQQe12OrwXflzNjHEoSdrrSwLsPsSNmq$_gZyqD7qVQ4rQww.#=qFqKrvY1c320y93RWz_d7Pg==(Object #=qRzfhR_ZoP4ghNlUG9SvRag==, EventArgs #=qPphfixBs9dCqakgxrq5Oeg==)
   at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
   at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
   at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
   at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
   at System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)
   at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)
   at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
   at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
   at System.Windows.Forms.ToolStrip.WndProc(Message& m)
   at System.Windows.Forms.ToolStripDropDown.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

I can get it working again if I go into my MusicBee\AppData folder and delete MusicBeeSettings.ini (or restore a previous version from a backup) and gMusicPlaylistSync.Settings.xml (which is a 0 byte file); but obviously this isn't ideal.

Any ideas what's going wrong?

Tmel

  • Newbie
  • *
  • Posts: 7
I can't log in

Have you solved this problem?
I finally installed 2.5 incl. GM-Sync, but can`t log in either.
Google Account Login for Less Secure Apps was already enabled.
No idea what to try now...

Also have the problem of not being able to log in despite enabling Less Secure Apps.

Anyone manage to solve this?

boroda

  • Sr. Member
  • ****
  • Posts: 4595
Google has completely shut down Client Login API recently. Maybe this is the issue?

Silvaire

  • Jr. Member
  • **
  • Posts: 27
I can't log in either.  I assume it is a Google API issue as mentioned above.

psychoadept

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 10691
Someone, apparently the developer of this plugin, confirms on the wiki that the API is deprecated.
MusicBee Wiki
Use & improve MusicBee's documentation!

Latest beta patch (3.5)
(Unzip and overwrite existing program files)

mythichelm

  • Newbie
  • *
  • Posts: 8
I updated the plugin with a new GooglePlayMusic client that uses the new login flow. I'm not the original dev, and I just updated this for personal use, so if something breaks, I can't promise I'll fix it. From my own personal use of it, everything seems to be working, but feel free to try it out.

Download plugin here:
https://github.com/mitchhymel/MBGmusicSync/releases


My fork of code for plugin:
https://github.com/mitchhymel/MBGmusicSync

Code for GooglePlayMusic API:
https://github.com/mitchhymel/GooglePlayMusicAPI

WilliamCart

  • Newbie
  • *
  • Posts: 1
I have downloaded the tool from www.musconv.com Which worked fantastically It saved my time and I have easily synced my playlist

Opus64

  • Newbie
  • *
  • Posts: 2
@mythichelm Thanks for updating the plugin. With the v0.3.0 plugin, I was able to log in to my Google account a couple weeks ago. However, now when I click login I get this error message:

Quote
MusicBee v3.1.6590.32668 (Win10.0), 26 Feb 2018 11:16:

System.NullReferenceException: Object reference not set to an instance of an object.
   at GooglePlayMusicAPI.RequestClient.<PerformIncrementalPostAsync>d__11`1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
   at GooglePlayMusicAPI.GooglePlayMusicClient.<IncrementalPostAsync>d__43`1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
   at GooglePlayMusicAPI.GooglePlayMusicClient.<GetPlaylistEntriesAsync>d__34.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
   at GooglePlayMusicAPI.GooglePlayMusicClient.<GetPlaylistsWithEntriesAsync>d__35.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at MusicBeePlugin.GMusicSyncData.<FetchPlaylists>d__22.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at MusicBeePlugin.Configure.<loginButton_Click>d__9.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.AsyncMethodBuilderCore.<>c.<ThrowAsync>b__6_0(Object state)

Any ideas how I can log in?