Reconstructing empty playlists?

Get answers about using the current release of MediaMonkey for Windows.

Moderator: Gurus

Reconstructing empty playlists?

Postby terrypin » Sun Oct 08, 2017 5:39 am

It's been many months since I used my plalylists. On doing so today I found that most are now empty. Only the 'auto' playlists have any tracks. Presumably because I created the empty ones on my previous PC, so their original locations are no longer valid. Where can I find the original definitions (hopefully in TXT form) so that I can reconstruct the lists with minimal work please?

Image

Terry, East Grinstead, UK
Terry, East Grinstead, UK
MM 4.1.13.1801 Gold, i7 4.0 GHz running Win 10 Pro
terrypin
 
Posts: 842
Joined: Mon May 10, 2004 7:48 am

Re: Reconstructing empty playlists?

Postby terrypin » Sun Oct 08, 2017 6:25 am

OK, after further digging I think I may have found the answer to my initial question. The data appears to be in files like these:
C:\Users\terry\Dropbox\MM Backup\1950s Favourites.m3u

Its opening lines are:

#EXTM3U
#EXTINF:197,Ella Fitzgerald - Someone To Watch Over Me
C:\Docs\My Music\Ella Fitzgerald\Sentimental Journey 23\Ella Fitzgerald - Someone To Watch Over Me.mp3
#EXTINF:188,Ella Fitzgerald & Louis Armstrong - Can Anyone Explain
C:\Docs\My Music\Ella Fitzgerald & Louis Armstrong\Sentimental Journey 126\Ella Fitzgerald & Louis Armstrong - Can Anyone Explain.mp3
#EXTINF:165,Frankie Laine - Dream a Little Dream of Me
C:\Docs\My Music\Frankie Laine\Foreign Affair-Reunion in Rhythm Disc 2\Frankie Laine - Dream a Little Dream of Me.mp3

So my new question becomes: how should I proceed now? I assume I need to use my text editor to globally replace all strings 'C:\Docs\My Music\' with 'D:\Music', which is where I now store all my tracks (in the same structure as on my old PC). But where do I then re-locate the new M3U files please?

In an attempt to answer that I made a new playlist called 'xyz', added a single track, closed MediaMonkey and searched for a file with 'xyz' in its name dated today. But there was none.
Terry, East Grinstead, UK
MM 4.1.13.1801 Gold, i7 4.0 GHz running Win 10 Pro
terrypin
 
Posts: 842
Joined: Mon May 10, 2004 7:48 am

Re: Reconstructing empty playlists?

Postby terrypin » Sun Oct 08, 2017 11:03 am

Meanwhile, pending advice, I changed the M3U files to show the new links (D:\Music instead of C:\Docs\My Music). I then found and installed the script ImportM3U.vbs. But when I run it and specify the folder containing the M3U files, it fails with this obscure message:

Image

That line 275 is even more obscure to me:

Dim trax : Set trax = dat.QuerySongs(sql)

And including the spaces at the start of the line, 'column' 21 seems to be a space, which seems OK to my non-techie eye?

It really can't be this hard to get M3U files into MM?
Terry, East Grinstead, UK
MM 4.1.13.1801 Gold, i7 4.0 GHz running Win 10 Pro
terrypin
 
Posts: 842
Joined: Mon May 10, 2004 7:48 am

Re: Reconstructing empty playlists?

Postby Lowlander » Sun Oct 08, 2017 12:24 pm

You likely removed the old (non working files) from the Library and rescanned the new working ones which is why the Playlists are empty. As AutoPlaylists are Criteria, not file based they continue to work. Next time update the Path of the old files: http://www.mediamonkey.com/wiki/index.p ... w_computer

Now you'll need to change the Path of the files on the Playlists to match the new PC. Any text editor can do this and you often can use the Replace function to do it for all files. Then Add/Rescan Files to Playlist files to have them scanned in. You'll need to remove the old Playlists from the Library as MediaMonkey can't update existing Playlists (it maintains no link to original Playlist files).
Lowlander (MediaMonkey user since 2003)
Lowlander
 
Posts: 44062
Joined: Sat Sep 06, 2003 5:53 pm
Location: MediaMonkey 5

Re: Reconstructing empty playlists?

Postby terrypin » Sun Oct 08, 2017 4:59 pm

Thanks Lowlander, but that sure looks complicated! Suspect I’m liable to end up losing my entire database. Maybe I’ll just create all or most of my playlists from scratch.
Terry, East Grinstead, UK
MM 4.1.13.1801 Gold, i7 4.0 GHz running Win 10 Pro
terrypin
 
Posts: 842
Joined: Mon May 10, 2004 7:48 am

Re: Reconstructing empty playlists?

Postby Lowlander » Sun Oct 08, 2017 6:25 pm

It isn't. Advanced text editors like Notepad++ can do a Replace on all open documents (Playlist files). If for example you only changed drive you'd replace C:\ with M:\ (assume a change from C to M drive). If you changed part of the path too included it as well (ie. C:\Documents\Music\ to C:\Music\). Then import in MediaMonkey.
Lowlander (MediaMonkey user since 2003)
Lowlander
 
Posts: 44062
Joined: Sat Sep 06, 2003 5:53 pm
Location: MediaMonkey 5

Re: Reconstructing empty playlists?

Postby terrypin » Mon Oct 09, 2017 1:15 am

As I said, I've done the global editing of the M3U files. It's all the rest that I find daunting.
Terry, East Grinstead, UK
MM 4.1.13.1801 Gold, i7 4.0 GHz running Win 10 Pro
terrypin
 
Posts: 842
Joined: Mon May 10, 2004 7:48 am

Re: Reconstructing empty playlists?

Postby Lowlander » Mon Oct 09, 2017 10:45 am

Then just scan the edited Playlists into MediaMonkey. They'll be imported under Playlists > Imported Playlists.
Lowlander (MediaMonkey user since 2003)
Lowlander
 
Posts: 44062
Joined: Sat Sep 06, 2003 5:53 pm
Location: MediaMonkey 5

Re: Reconstructing empty playlists?

Postby terrypin » Mon Oct 09, 2017 10:58 am

Bingo - thanks Lowlander!

I'd actually already added them to my scan specification, but had forgotten all about that category 'Imported playlists'. There they indeed are.
Terry, East Grinstead, UK
MM 4.1.13.1801 Gold, i7 4.0 GHz running Win 10 Pro
terrypin
 
Posts: 842
Joined: Mon May 10, 2004 7:48 am

Re: Reconstructing empty playlists?

Postby terrypin » Mon Oct 09, 2017 12:54 pm

Complications!
1. They've somehow vanished again. IOW, many of the entries under Imported Playlists now do not disolay any tracks.
2. Must I keep M3U selected in the filetypes for scanning? But that creates a duplicate, one empty, one OK.
3. When I drag an OK entry from Imported Playlists to the main Playlists folder, it become empty again.

Clearly this is down to some mistake(s) I'm making...
Terry, East Grinstead, UK
MM 4.1.13.1801 Gold, i7 4.0 GHz running Win 10 Pro
terrypin
 
Posts: 842
Joined: Mon May 10, 2004 7:48 am

Re: Reconstructing empty playlists?

Postby Lowlander » Mon Oct 09, 2017 12:57 pm

No, you don't need to keep the Playlist files, nor need to keep scanning them (but do keep them for now as you're having problems). Do you have Folder Monitoring enabled?
Lowlander (MediaMonkey user since 2003)
Lowlander
 
Posts: 44062
Joined: Sat Sep 06, 2003 5:53 pm
Location: MediaMonkey 5

Re: Reconstructing empty playlists?

Postby terrypin » Mon Oct 09, 2017 2:44 pm

I reckon my folders are in a mess. I'll focus on reorganising them and see if that restores order.
Terry, East Grinstead, UK
MM 4.1.13.1801 Gold, i7 4.0 GHz running Win 10 Pro
terrypin
 
Posts: 842
Joined: Mon May 10, 2004 7:48 am

Re: Reconstructing empty playlists?

Postby Lowlander » Mon Oct 09, 2017 3:19 pm

That's likely where the problem is. You can't move files outside of MediaMonkey without breaking things in MediaMonkey (Dead Links, empty Playlists).

Either use MediaMonkey to move/rename files (best) or have Folder Monitoring enabled on the folder the files come from and where they go to or their shared parent folder and then move/rename files in Explorer.
Lowlander (MediaMonkey user since 2003)
Lowlander
 
Posts: 44062
Joined: Sat Sep 06, 2003 5:53 pm
Location: MediaMonkey 5

Re: Reconstructing empty playlists?

Postby terrypin » Mon Oct 09, 2017 4:51 pm

Thanks for your patience. Still missing many playlists. I'm including their folder in Folder monitoring but they do not get imported.

Image
Terry, East Grinstead, UK
MM 4.1.13.1801 Gold, i7 4.0 GHz running Win 10 Pro
terrypin
 
Posts: 842
Joined: Mon May 10, 2004 7:48 am

Re: Reconstructing empty playlists?

Postby terrypin » Mon Oct 09, 2017 5:22 pm

I have them all again now! I moved the M3U files that were missing to a new folder and re-scannd. Somehow ended up with TWO of every playlist instead of NONE, so had a lot of deletions to make.

Not sure if it's related, but my auto backup on close down is now failing, with this message:
"Backup cancelled because output folder could not be created."

I have created a folder called MMBackup, which I understand is what's needed, but no joy.
Terry, East Grinstead, UK
MM 4.1.13.1801 Gold, i7 4.0 GHz running Win 10 Pro
terrypin
 
Posts: 842
Joined: Mon May 10, 2004 7:48 am

Next

Return to Need Help? (mmw)

Who is online

Users browsing this forum: No registered users and 29 guests