When trying to wrestle with getting Google Music working on my Pi as
once again it stopped working, I installed the latest gmusicapi which is
now at version 10.

This causes the plugin to say: 


Code:
--------------------
    A more recent version of the Python package "gmusicapi" is required. Please 
install at least version 3.1.0 and restart Logitech Media Server.
--------------------


You can remove this check by editing the Plugin.pm file line 61


Code:
--------------------
    
  # Chech version of gmusicapi first
        if (!blessed($googleapi) || 
(Plugins::GoogleMusic::GoogleAPI::get_version() lt '4.0.0')) {
                $class->SUPER::initPlugin(
                        tag    => 'googlemusic',
                        feed   => \&badVersion,
                        is_app => 1,
                        weight => 1,
                        );
                return;
        }
  
--------------------


I tried changing '4.0.0' to '15.0.0' which didn't seem to work as i
expected it.

So I ended removing the conditional for the version completely.


Code:
--------------------
        # Chech version of gmusicapi first
        if (!blessed($googleapi)) {
                $class->SUPER::initPlugin(
                        tag    => 'googlemusic',
                        feed   => \&badVersion,
                        is_app => 1,
                        weight => 1,
                        );
                return;
        }
  
--------------------


This didn't fix the signing in issues though. The problem is with the
2FA and or application passwords.

I gave up and created a new Google account and uploaded all my music to
the new account.

This doesn't have 2FA and so far it is logging on every time.

Not ideal, and I might have a sit down and try to figure out what the
problem is with the current plugin. But the constant restarting of the
media server everytime i changed something was driving me mad. Is there
anotherway for force a reload of the plugins without a full restart?


------------------------------------------------------------------------
digisam's Profile: http://forums.slimdevices.com/member.php?userid=65778
View this thread: http://forums.slimdevices.com/showthread.php?t=98526

_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to