[mythtv-commits] Ticket #13546: Hardcoded call to 'python' from mythtv-programs for lyrics

MythTV noreply at mythtv.org
Mon Jan 6 11:57:54 UTC 2020


#13546: Hardcoded call to 'python' from mythtv-programs for lyrics
--------------------------------+------------------------------
 Reporter:  rcrdnalor           |          Owner:  paulh
     Type:  Patch - Bug Fix     |         Status:  new
 Priority:  minor               |      Milestone:  needs_triage
Component:  Plugin - MythMusic  |        Version:  Master Head
 Severity:  medium              |     Resolution:
 Keywords:  python3             |  Ticket locked:  0
--------------------------------+------------------------------

Comment (by rcrdnalor):

 Tested on Ubuntu 19.10 on current master.
 There is only python3 installed, no python or python2 is available.



 I have this album already in the database ( imported by mythutil
 --scanmusic )
 {{{
 Artist: Angélique Kidjo
 Album:  Black Ivory Soul
 Title:  Ces Petits Riens

 $ mythutil --findlyrics --songid 22

 results to

 /home/mythtv/.mythtv/MythMusic/22.txt

 with content

 <lyrics>
   <artist>Angélique Kidjo</artist>
   <album>Black Ivory Soul</album>
   <title>Ces Petits Riens</title>
   <grabber>LyricsWiki</grabber>
   <lyric>Mieux vaut ne penser à rien, que de ne pas penser du tout</lyric>
   <lyric>Rien c'est déjà, rien c'est déjà beaucoup</lyric>
 .....
 }}}

 Also tested via Gui
 {{{
 Media Library
 Listen to Music
 Add title to playlist
 Play title
 select M (Menu) and Lyrics
 }}}


 and it works also with a new title, which has no lyrics in the database:
 {{{
 Title: Iemanja
 Artist: Angélique Kidjo
 Album:  Black Ivory Soul
 }}}
 The lyrics lines are displayed on the screen during playback.


 Note: The affected code belongs to MythTV, but is used by the MythMusic
 plugin only.
 Therefore, the configured python version is the one configured for MythTV,
 not for
 MythPlugins.

-- 
Ticket URL: <https://code.mythtv.org/trac/ticket/13546#comment:1>
MythTV <http://www.mythtv.org>
MythTV Media Center


More information about the mythtv-commits mailing list