[mythtv-users] Can't enable plugin - MythMusic

Mary Strimel mary.strimel at gmail.com
Mon Oct 19 21:29:35 UTC 2020


On Mon, Oct 19, 2020 at 5:10 PM Paul Harrison <mythtv at mythqml.net> wrote:

> On 19/10/2020 21:15, Mary Strimel wrote:
>
>
> IIRC next you need to set paths to your music files in BE setup>storage
>> groups, also please do not top post.
>> (after clicking "reply" click the three dots, bottom right, to be able to
>> scroll below existing text)
>>
>
> Thank you for the info. I did, in fact, install mythplugins and set a
> storage group that points to my music collection and called it “music”,
> however there are still no menu options to play it or work with it. The
> plug-in seems definitely not enabled.
> Other suggestions?
>
>
> If the MythMusic plugin is installed and is loading OK then the menu
> entries for it will just appear automatically. No other config is needed
> other than making sure the Music storage group is set up, but even if it is
> not MythMusic will still show in the menus but will warn you to setup the
> storage groups before it will run properly.
>
That's what I recall as well, from the last time I did this in 2009 or so.

>
> Do you have a  libmythmusic.so file under /usr/lib/mythtv/plugins/?
>
Yes, it's there.

> Are there any errors in the frontend log?
>
I pasted the error below. When I ran the frontend for the first time after
installing mythplugins, it gave me a warning that it was upgrading the
database schema. I clicked through the warning ... was that the wrong
move?  I can attach a copy of the warning if that's allowed / needed.
Here's the messages:

mary at mythbox:/var/log/mythtv$ less mythfrontend.log | grep music
Oct 19 11:57:15 mythbox mythfrontend.real: mythfrontend[146484]: N
CoreContext dbcheck.cpp:271 (doUpgradeMusicDatabaseSchema) Updating music
metadata to be UTF-8 in the database
Oct 19 11:57:15 mythbox mythfrontend.real: mythfrontend[146484]: N
CoreContext dbcheck.cpp:328 (doUpgradeMusicDatabaseSchema) Done updating
music metadata to UTF-8
Oct 19 11:57:30 mythbox mythfrontend.real: mythfrontend[146484]: N
CoreContext dbcheck.cpp:633 (doUpgradeMusicDatabaseSchema) Updating
music_albumart image types
Oct 19 11:57:47 mythbox mythfrontend.real: mythfrontend[146484]: E
CoreContext dbcheck.cpp:55 (performActualUpdate) DB Error (Performing
database upgrade): #012Query was: ALTER TABLE music_albumart  DEFAULT
CHARACTER SET default,  MODIFY filename varchar(255) CHARACTER SET utf8 NOT
NULL default ''; #012Error was: Driver error was [2/1064]:#012QMYSQL:
Unable to execute query#012Database error was:#012You have an error in your
SQL syntax; check the manual that corresponds to your MySQL server version
for the right syntax to use near 'default,  MODIFY filename varchar(255)
CHARACTER SET utf8 NOT NULL default ''' at line 1#012 #012new version: 1016
Oct 19 11:57:47 mythbox mythfrontend.real: mythfrontend[146484]: E
CoreContext main.cpp:888 (mythplugin_init) Couldn't upgrade music database
schema, exiting.
Oct 19 11:57:47 mythbox mythfrontend.real: mythfrontend[146484]: E
CoreContext mythplugin.cpp:142 (init_plugin) Unable to initialize plugin
'mythmusic'.
Oct 19 13:14:42 mythbox mythfrontend.real: mythfrontend[149986]: E
CoreContext dbcheck.cpp:55 (performActualUpdate) DB Error (Performing
database upgrade): #012Query was: ALTER TABLE music_albumart  DEFAULT
CHARACTER SET default,  MODIFY filename varchar(255) CHARACTER SET utf8 NOT
NULL default ''; #012Error was: Driver error was [2/1064]:#012QMYSQL:
Unable to execute query#012Database error was:#012You have an error in your
SQL syntax; check the manual that corresponds to your MySQL server version
for the right syntax to use near 'default,  MODIFY filename varchar(255)
CHARACTER SET utf8 NOT NULL default ''' at line 1#012 #012new version: 1016
Oct 19 13:14:42 mythbox mythfrontend.real: mythfrontend[149986]: E
CoreContext main.cpp:888 (mythplugin_init) Couldn't upgrade music database
schema, exiting.
Oct 19 13:14:42 mythbox mythfrontend.real: mythfrontend[149986]: E
CoreContext mythplugin.cpp:142 (init_plugin) Unable to initialize plugin
'mythmusic'.

> Usually if there are errors in the FE log it means either there is a
> version mismatch or a library the plugin depends on is missing (the Ubuntu
> packages should have already installed them automatically though).
>
>
> Paul H.
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://lists.mythtv.org/mailman/listinfo/mythtv-users
> http://wiki.mythtv.org/Mailing_List_etiquette
> MythTV Forums: https://forum.mythtv.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20201019/86fd3fc0/attachment-0001.htm>


More information about the mythtv-users mailing list