[mythtv-users] m3u2myth.pl inserting empty playlists

Grant Edwards grante at visi.com
Mon Aug 30 22:29:04 EDT 2004


I couldn't figure out any way to get MythMusic to just play an
album, so I decided I needed to import some .m3u playlist
files.

The only useful-looking thing google could find was this Perl
program:

  http://www.foofus.net/jmk/mythtv/m3u2myth.pl

It sort of seems to be working, but all the playlists it
creates in MythMusic are empty.  There's nothing "there" in
MythMusic when I select a playlist. When I tell m3u2myth to
create an m3u file from one of MythMusic playlists it created,
it creates an empty .m3u file.

The output from 

# m3u2myth --toDB --file filename.m3u --name "playlist name" --force

Always looks something like this

  ---------------------------------------
  m3u <==> MythMusic DB Conversion Script
  ---------------------------------------

  Reading data from m3u file...
  Inserting new playlist to DB: Van Morrison - Moondance:

>From what I can tell from looking at the m3u2myth.pl source
code, there is supposed to be a songlist output after that
second colon.  But the song list is always empty.  Beyond that,
I'v been unable to decipher the Perl code.

My questions:

1) How do you get MythMusic to play the songs from a particular
   CD?  For single-artist CDs the "artists" menu works OK, but
   it's useless when you want to listen to a soundtrack or
   anthology album that contains various artists.

2) How do you get .m3u files imported into MythMusic???

Apparently there is a way to create playlists within MythMusic,
but it appears to be a rather tedious process involving a
keyboard, and my myth box doesn't have a keyboard.

-- 
Grant



More information about the mythtv-users mailing list