Author Topic: Google Play Music Access  (Read 116728 times)

boroda

  • Hero Member
  • *****
  • Posts: 5306
@ScuddZero

Thanks for video.

Also when I login, it first says login failed but works the second time you click ok.
This is normal, the same for me. I spent too much time trying to resolve this and leaved this as is because it works anyway,

Obviously plugin can't emulate Music Manager for downloading (and hence for playback too). Did you use Music Manager for uploading (just uploading is sufficient) one or more tracks? If you did, then I have 1 idea what might go wrong on your PC.

ScuddZero

  • Guest
Yes uploaded a few thousand tracks using the manager program.

boroda

  • Hero Member
  • *****
  • Posts: 5306
Yes uploaded a few thousand tracks using the manager program.
I'll post modified version of plugin soon.

boroda

  • Hero Member
  • *****
  • Posts: 5306
@ScuddZero

http://www.mediafire.com/download/49x9fd9s55jcai4/mb_GooglePlayMusic_2014-01-20.zip

Upgrade plugin and go to Edit> Prefs> Plugins to configure plugin. Try to change Music Manger ID in plugin settings (no restart required) and try to play online tracks after that.

ScuddZero

  • Guest
Updated the plugin and it works using mm:A4:17:31:7A:13:83

All the others just threw up the same error.

Does the plugin have the ability to play All Access music or just user uploaded tracks.?

Thanks for your help.
Last Edit: January 21, 2014, 04:49:43 AM by ScuddZero

boroda

  • Hero Member
  • *****
  • Posts: 5306
Updated the plugin and it works using mm:A4:17:31:7A:13:83
Glad that the problem is resolved. Suggest that you have more than 1 network card. 

Does the plugin have the ability to play All Access music or just user uploaded tracks.?
Haven't tried it, but I'm doubtful that All Access music will be played/downloaded.

froschfinger

  • Newbie
  • *
  • Posts: 12
Hey there,

I am glad you are constantly working on this and try to get us Google Music access to MusicBee ;). However, even your new version does not really pan out. For the first time, I am able to retrieve what looks like a complete list of artists/albums/track etc. Once I try to play any song I get an error message that the song cannot be played or is no valid audio file. Restarting or changing the ID does not help. However, since the latest version I am getting a 'uncaught exception in the application' error or something like that telling me that there is an error in the DragDrop registration, something to do with .NET Framework. Is that error related to the plugin? I didn't have it beforehand ;).


Best

froschfinger

boroda

  • Hero Member
  • *****
  • Posts: 5306
Hi, insufficient info for me. Screenshots could help.

froschfinger

  • Newbie
  • *
  • Posts: 12
Hey there,

I try to make it work - here are two screenshots, plus I include the full error message from that clipped window. Unfortunately the messages are in German, but most thinks are stated in English.
Thanks for looking into it!

Screens:
https://preview.cubby.com/pl/ScreenClip.png/_24400642ff5549849638070839b2466c
https://preview.cubby.com/pl/ScreenClip+%5b1%5d.png/_f92ab3b024d141f4abfe1145feb02e22

Error message in full:

************** Ausnahmetext **************
System.InvalidOperationException: Fehler bei der DragDrop-Registrierung ---> System.Threading.ThreadStateException: Für den aktuellen Thread muss der STA-Modus (Single Thread Apartment) festgelegt werden, bevor OLE-Aufrufe ausgeführt werden können. Stellen Sie sicher, dass die Hauptfunktion mit STAThreadAttribute gekennzeichnet ist.
   bei System.Windows.Forms.Control.SetAcceptDrops(Boolean accept)
   --- Ende der internen Ausnahmestapelüberwachung ---
   bei System.Windows.Forms.Control.SetAcceptDrops(Boolean accept)
   bei System.Windows.Forms.Control.OnHandleCreated(EventArgs e)
   bei System.Windows.Forms.Control.WmCreate(Message& m)
   bei System.Windows.Forms.Control.WndProc(Message& m)
   bei System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   bei System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   bei System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Geladene Assemblys **************
mscorlib
    Assembly-Version: 4.0.0.0.
    Win32-Version: 4.0.30319.34003 built by: FX45W81RTMGDR.
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll.
----------------------------------------
MusicBee
    Assembly-Version: 2.3.5100.22821.
    Win32-Version: 2.3.5100.22821.
    CodeBase: file:///D:/audio/MusicBee/MusicBee.exe.
----------------------------------------
System.Windows.Forms
    Assembly-Version: 4.0.0.0.
    Win32-Version: 4.0.30319.33440 built by: FX45W81RTMREL.
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll.
----------------------------------------
System.Drawing
    Assembly-Version: 4.0.0.0.
    Win32-Version: 4.0.30319.33440 built by: FX45W81RTMREL.
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll.
----------------------------------------
System
    Assembly-Version: 4.0.0.0.
    Win32-Version: 4.0.30319.34003 built by: FX45W81RTMGDR.
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll.
----------------------------------------
Microsoft.VisualBasic
    Assembly-Version: 10.0.0.0.
    Win32-Version: 12.0.20806.33440 built by: FX45W81RTMREL.
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Microsoft.VisualBasic/v4.0_10.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll.
----------------------------------------
System.Core
    Assembly-Version: 4.0.0.0.
    Win32-Version: 4.0.30319.33440 built by: FX45W81RTMREL.
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll.
----------------------------------------
System.Runtime.Remoting
    Assembly-Version: 4.0.0.0.
    Win32-Version: 4.0.30319.33440 built by: FX45W81RTMREL.
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Remoting/v4.0_4.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll.
----------------------------------------
System.Configuration
    Assembly-Version: 4.0.0.0.
    Win32-Version: 4.0.30319.33440 built by: FX45W81RTMREL.
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll.
----------------------------------------
System.Xml
    Assembly-Version: 4.0.0.0.
    Win32-Version: 4.0.30319.33440 built by: FX45W81RTMREL.
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll.
----------------------------------------
MusicBeeIPod
    Assembly-Version: 1.6.0.0.
    Win32-Version: 1.6.0.0.
    CodeBase: file:///D:/audio/MusicBee/MusicBeeIPod.DLL.
----------------------------------------
Accessibility
    Assembly-Version: 4.0.0.0.
    Win32-Version: 4.0.30319.33440 built by: FX45W81RTMREL.
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll.
----------------------------------------
mb_GooglePlayMusic
    Assembly-Version: 4.2.5136.35070.
    Win32-Version: 4.2.0.0.
    CodeBase: file:///D:/audio/MusicBee/Plugins/mb_GooglePlayMusic.dll.
----------------------------------------
Microsoft.GeneratedCode
    Assembly-Version: 1.0.0.0.
    Win32-Version: 4.0.30319.33440 built by: FX45W81RTMREL.
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll.
----------------------------------------
mb_TheaterModePlugin
    Assembly-Version: 1.0.0.0.
    Win32-Version: 1.0.0.0.
    CodeBase: file:///D:/audio/MusicBee/Plugins/mb_TheaterModePlugin.dll.
----------------------------------------
GoogleMusicAPI
    Assembly-Version: 4.2.5134.17362.
    Win32-Version: 4.2.0.0.
    CodeBase: file:///D:/audio/MusicBee/Plugins/GoogleMusicAPI.DLL.
----------------------------------------
Newtonsoft.Json
    Assembly-Version: 4.5.0.0.
    Win32-Version: 5.0.6.16206.
    CodeBase: file:///D:/audio/MusicBee/Plugins/Newtonsoft.Json.DLL.
----------------------------------------
System.Numerics
    Assembly-Version: 4.0.0.0.
    Win32-Version: 4.0.30319.33440 built by: FX45W81RTMREL.
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Numerics/v4.0_4.0.0.0__b77a5c561934e089/System.Numerics.dll.
----------------------------------------
System.ComponentModel.DataAnnotations
    Assembly-Version: 4.0.0.0.
    Win32-Version: 4.0.30319.33440.
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.ComponentModel.DataAnnotations/v4.0_4.0.0.0__31bf3856ad364e35/System.ComponentModel.DataAnnotations.dll.
----------------------------------------
System.Runtime.Serialization
    Assembly-Version: 4.0.0.0.
    Win32-Version: 4.0.30319.33440 built by: FX45W81RTMREL.
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Serialization/v4.0_4.0.0.0__b77a5c561934e089/System.Runtime.Serialization.dll.
----------------------------------------
System.Xml.Linq
    Assembly-Version: 4.0.0.0.
    Win32-Version: 4.0.30319.33440 built by: FX45W81RTMREL.
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml.Linq/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.Linq.dll.
----------------------------------------
System.Data
    Assembly-Version: 4.0.0.0.
    Win32-Version: 4.0.30319.33440 built by: FX45W81RTMREL.
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_32/System.Data/v4.0_4.0.0.0__b77a5c561934e089/System.Data.dll.
----------------------------------------
System.resources
    Assembly-Version: 4.0.0.0.
    Win32-Version: 4.0.30319.33440 built by: FX45W81RTMREL.
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.resources/v4.0_4.0.0.0_de_b77a5c561934e089/System.resources.dll.
----------------------------------------
mscorlib.resources
    Assembly-Version: 4.0.0.0.
    Win32-Version: 4.0.30319.33440 built by: FX45W81RTMREL.
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/mscorlib.resources/v4.0_4.0.0.0_de_b77a5c561934e089/mscorlib.resources.dll.
----------------------------------------
System.Windows.Forms.resources
    Assembly-Version: 4.0.0.0.
    Win32-Version: 4.0.30319.33440 built by: FX45W81RTMREL.
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms.resources/v4.0_4.0.0.0_de_b77a5c561934e089/System.Windows.Forms.resources.dll.
----------------------------------------


boroda

  • Hero Member
  • *****
  • Posts: 5306
@froschfinger
1. As for "no valid audio file" - did you use Music Manager for uploading track(s) on PC running MB?
2. For "uncaught exception in the application" - what do you do when this error happens?

froschfinger

  • Newbie
  • *
  • Posts: 12
Hi there,

as for 1. yes, I did that, just recently. Just tried to open it up, all fine. Still no playback, even when I try to change the ID in settings...
as for 2. nothing in particular, though I don't always get that message immediately. I just try to play songs from Google Play, and I get that no audio file error message, and sometimes that uncaught exception thingy :(.

boroda

  • Hero Member
  • *****
  • Posts: 5306
1. First of all upgrade MB to latest version (you are using 2.3.5100 now):

http://musicbee.wikia.com/wiki/Latest_Update

2. Try to upload a track which wasn't uploaded earlier with Music Manager: create folder 'temp', add 1 track to it and upload this folder. Then try to play this uploaded track.

3. It seems that unhandled exception is not related to GM plugin, not sure right now.
Last Edit: January 25, 2014, 04:01:14 AM by boroda74

froschfinger

  • Newbie
  • *
  • Posts: 12
Hi there,

1. Did just that.

2. Have a folder that is being watched, added some tracks there anyway, let the Manager upload them, closed it, started MusicBee. Unfortunately, still no avail; no valid audio file error again, plus when scrolling through the artist list I get the .NET framework error again.

3. I didn't change anything except for the MusicBee and your plugin update, so don't know :/.


Thanks

Froschfinger ;)

boroda

  • Hero Member
  • *****
  • Posts: 5306
1. Try this version of plugin:

http://www.mediafire.com/download/2j7jwhq46h23m8s/mb_GooglePlayMusic_2014-01-26.zip

there are more choices of MM IDs.

2. Can't reproduce this exception. And I don't use drag'n'drop in any of my plugins.

EDIT: Also try to upgrade Music Manger to latest version and upload something with new version.
Last Edit: January 25, 2014, 10:51:44 PM by boroda74

froschfinger

  • Newbie
  • *
  • Posts: 12
Hey there again,

1. I did just that, no luck, until I disable and re-enabled your plugin. Now I am seemingly able to play back online tracks from my Google Play library.

2. However, after moving through the artist list and clicking stuff, that .NET dragndrop error turns up and crashes MusicBee. I disabled all other plugins to make sure it's nothing there but the core and your plugin. Since you're saying you're not using it I will have to keep investigating, however your plugin seems to work otherwise.

Thank you for your help!