Page 10 of 13

Re: Batch M3U Creator 2.3 - Updated 21/01/2010

Posted: Thu Feb 25, 2010 4:17 am
by trixmoto
Oh yeah, sorry. Like Owyn has said, generate all the playlists in one folder (presumably if you're uploading them to a webserver this is what you want anyway) and then use any text editor which has a search/replace function that works on multiple files (I'd recommend TextPad myself).

Re: Batch M3U Creator 2.3 - Updated 21/01/2010

Posted: Thu Feb 25, 2010 5:53 am
by Owyn
Yeah, Fookes NoteTab (Light or Pro) is another text editor option.
It supports open all files in folder and search&replace in all open files.

Re: Batch M3U Creator 2.3 - Updated 21/01/2010

Posted: Fri Feb 26, 2010 2:58 pm
by sn0skier
Ok, I'll use one of these for the time being, but it is a bit inconvenient to have to use a separate program to edit a text file every time I import a new album to MM. MY friend, who knows more about coding then I do is working on editing your current script to include the possibility of URL locations. If he is able to implement it do you want me to upload the code here?

Re: Batch M3U Creator 2.3 - Updated 21/01/2010

Posted: Fri Feb 26, 2010 3:13 pm
by trixmoto
Yep, I put it on my list for the next version, but I'm working on other things so I don't know how long before I get round to it. If he can help you out with something before hand then that's cool, email it to me (or post it here) and I'll put it in the next version with a credit.

Re: Batch M3U Creator 2.4 - Updated 13/03/2010

Posted: Sat Mar 13, 2010 11:19 am
by trixmoto
New version (2.4) is now available to download from my website. Changes include...

- Added option to replace root path of tracks in playlist
- Fixed "write full track path" not remembering setting

By adding "old prefix" and "new prefix" fields I have made it possible to amend the path of the tracks in the M3U from the calculated value, this works best with "write full track paths" enabled but this is not mandatory. You can either remove a prefix by populating old and not new, or add a prefix by populating new and not old, or replace a prefix by populating both. If the new prefix is web based (contains "/" instead of "\") then the whole path will be updated to reflect this.

Re: Batch M3U Creator 2.4 - Updated 13/03/2010

Posted: Fri Mar 19, 2010 5:34 pm
by sn0skier
Your awesome for doing that for me man. My buddy couldn't get around to it (school) and so I've been trying to find a workaround, but that is awesome, thanks again.

Re: Batch M3U Creator 2.4 - Updated 13/03/2010

Posted: Sat Mar 20, 2010 4:17 am
by trixmoto
I'm glad it works for you. :)

Re: Batch M3U Creator 2.4 - Updated 13/03/2010

Posted: Sun Jun 27, 2010 3:29 am
by jonp
Hi trixmoto -thanks for the script. Years ago when hard disks where expensive I used to only keep one copy of each track (to save space). eg: If Album 1 contained Song A and Album 2 also contained Song A, I would delete Song A from Album 2. An example of when this would occur is if I had the album of a particular artist and then Song A appeared on a compilation album or on a Best Of album.
A feature request for this script would be to create playlists for albums that also looked for tracks within a library that should appear on the album. eg look up album tracks from an internet source, check what songs are contain in library (regardless of what album tag they have) and create playlist.
Cheers, Jon

Re: Batch M3U Creator 2.4 - Updated 13/03/2010

Posted: Sun Jun 27, 2010 6:48 am
by trixmoto
So you want it to try and find the missing tracks within your library as well so that it can build the full playlist?

Re: Batch M3U Creator 2.4 - Updated 13/03/2010

Posted: Sun Jun 27, 2010 7:56 am
by jonp
Yep - perfect. There may not be a large need for this functionality but if simple to do I think it would be a great addition to your script.

Re: Batch M3U Creator 2.4 - Updated 13/03/2010

Posted: Sun Jun 27, 2010 8:21 am
by trixmoto
This would involve a significant change to the way the script works but I'll add it to my list. It may end up being another script, when I get round to it! :)

Re: Batch M3U Creator 2.4 - Updated 13/03/2010

Posted: Sun Jun 27, 2010 6:27 pm
by jonp
Thanks mate

Re: Batch M3U Creator 2.4 - Updated 13/03/2010

Posted: Fri Jul 16, 2010 11:07 pm
by donector
hi trixmoto, thank you for this script
nevertheless it does not work at all for me.. :-(
does it only work with tracks from the db????
i have albums that have not yet archived and added to my collection.. is this the reason i get nothing going on?
(i also have the external usb drive unplugged)

thanks

Re: Batch M3U Creator 2.4 - Updated 13/03/2010

Posted: Sat Jul 17, 2010 8:05 am
by trixmoto
Yes, you'll find that most scripts using the scripting methods to access tracks and this relies on them being in the database. For a script to read the file system itself would be very slow indeed.

Re: Batch M3U Creator 2.4 - Updated 13/03/2010

Posted: Sat Aug 14, 2010 8:13 pm
by donector
hi trixmoto

noted, when i choose files from a folder it doesn't work as it is not meant to be working with files directly.........

however i have now added my mp3s entry folder to the library (new additions to my collection to which I want to include, each album with its own playlist), and then choose files from inside the library (from "location" node inside the db) .......after attempting to run the script from there, i get error 450 with generatePath function, line 686 column 4...if i pick files from, for example , artist->album (db node) it does work

any chance to fix this?

thanks