Paying for IMPORT M3U Script help

Download and get help for different MediaMonkey for Windows 4 Addons.

Moderators: Peke, Gurus

trixmoto
Posts: 10024
Joined: Fri Aug 26, 2005 3:28 am
Location: Hull, UK
Contact:

Re: Paying for Script help

Post by trixmoto »

I love money, but I have a massive deadline at work this Friday so unless you can pay my salary it's going to have to wait until the weekend at the earliest.
Download my scripts at my own MediaMonkey fansite.
All the code for my website and scripts is safely backed up immediately and for free using Dropbox.
ZvezdanD
Posts: 3265
Joined: Thu Jun 08, 2006 7:40 pm

Re: Paying for Script help

Post by ZvezdanD »

thefaceman wrote:Triximoto's script did have that feature but there is an error
Here is a guide what you should do to get ImportM3U to work without an error:
1. In the line 126 write:

Code: Select all

list.AddTracks oSongList
2. in the line 121 instead of:

Code: Select all

Call list.AddTrack(trax.Item)
write:

Code: Select all

oSongList.Add trax.Item
3. In the line 114 instead of:

Code: Select all

Call list.AddTrack(itm)
write:

Code: Select all

oSongList.Add itm
4. In the line 66 write:

Code: Select all

Dim oSongList: Set oSongList = SDB.NewSongList
Magic Nodes 4.3.3 / 5.2 RegExp Find & Replace 4.4.9 / 5.2  Invert Selection/Select None 1.5.1  Export/Create Playlists for Child Nodes 4.1.1 / 5.4.1  Expand Child Nodes/Expand All 1.1.2  Event Logger 2.7  Filtered Statistics Report 1.6  Track Redirection & Synchronization 3.4.2  Restore/Synchronize Database 3.1.8 / 4.0.1  Find Currently Playing Track 1.3.2  Queue List 1.2.1  Add to Library on Play 1.0.1  Tree Report for Child Nodes 1.1.1  Update Location of Files in Database 1.4.5 / 2.3  Inherit Child Playlists 1.0.3  Add Currently Playing/Selected Track(s) to Playlist 1.2
thefaceman
Posts: 367
Joined: Sun Aug 28, 2005 10:43 pm

Re: Paying for Script help

Post by thefaceman »

WOW. Unfortunately, I am not a programmer. I have not the slightest idea where (or how) to do this. I have changed a vbs file before (barely). Any help (again) would be appreciated.

-thanks
-thefaceman
thefaceman
Posts: 367
Joined: Sun Aug 28, 2005 10:43 pm

Re: Paying for IMPORT M3U Script help

Post by thefaceman »

Anyone? Please?

-thanks in advance
-thefaceman
nohitter151
Posts: 23640
Joined: Wed Aug 09, 2006 10:20 am
Location: NJ, USA
Contact:

Re: Paying for IMPORT M3U Script help

Post by nohitter151 »

Really? I don't see how it could be any simpler. Find the .vbs script file in the MM scripts directory. Open the file with some sort of text editor like notepad. Search for the given lines, and replace them as ZvezdanD laid out for you so nicely.
MediaMonkey user since 2006
Need help? Got a suggestion? Can't find something?

Please no PMs in reply to a post. Just reply in the thread.
thefaceman
Posts: 367
Joined: Sun Aug 28, 2005 10:43 pm

Re: Paying for Script help

Post by thefaceman »

My apology for my ignorance. but
Notepad does not show line #s. If manaully count the lines I cannot see the lines that are mentioned.
The instructions only says "write"
Well does that mean change the ENTIRE line to match the new line?

My version of the .vbs file has

' MediaMonkey Script
'
' NAME: ImportM3U 3.1
'
' AUTHOR: trixmoto (http://trixmoto.net)
' DATE : 26/04/2008

Sorry, if I am being a nuisance, but script editing is not something that comes naturally to some of us.

-thanks
-thefaceman
ZvezdanD wrote:
thefaceman wrote:Triximoto's script did have that feature but there is an error
Here is a guide what you should do to get ImportM3U to work without an error:
1. In the line 126 write:

Code: Select all

list.AddTracks oSongList
2. in the line 121 instead of:

Code: Select all

Call list.AddTrack(trax.Item)
write:

Code: Select all

oSongList.Add trax.Item
3. In the line 114 instead of:

Code: Select all

Call list.AddTrack(itm)
write:

Code: Select all

oSongList.Add itm
4. In the line 66 write:

Code: Select all

Dim oSongList: Set oSongList = SDB.NewSongList
nynaevelan
Posts: 5559
Joined: Wed Feb 07, 2007 11:07 pm
Location: New Jersey, USA
Contact:

Re: Paying for IMPORT M3U Script help

Post by nynaevelan »

Try it with Notepad Plus.
3.2x - Win7 Ultimate (Zen Touch 2 16 GB/Zen 8GB)
Link to Favorite Scripts/Skins

Join Dropbox, the online site to share your files
thefaceman
Posts: 367
Joined: Sun Aug 28, 2005 10:43 pm

Re: Paying for IMPORT M3U Script help

Post by thefaceman »

Well I think I found a way to get the line numbers. I searched for the line # that the solution stated, those were easy to change since i knew those numbers i counted backwards and forwards to the lines that I had to add.

I want to confirm to those who may be trying this solution. THe lines that were added are replacing blank lines.

It is not easy and I wished MediaMonkey had a built in vbs editor that had lines shown that most people could use.

Also I am suprised that no one wanted to just make the .vbs file themselves and attach it for me (and others) to use, as I think that would have been easier. I would have been willing to pay for someone to do that, but I am thankful that it was free (not easy, but still free).

As I said, I think I have it working. I will let you know if it is successful once i test it out tomorrow.

-thefaceamn
Guest

Re: Paying for Script help

Post by Guest »

thefaceman wrote:Notepad does not show line #s.
1. Turn off Format / Word Wrap,
2. Turn on View / Status Bar.
nynaevelan
Posts: 5559
Joined: Wed Feb 07, 2007 11:07 pm
Location: New Jersey, USA
Contact:

Re: Paying for Script help

Post by nynaevelan »

Guest wrote:
thefaceman wrote:Notepad does not show line #s.
1. Turn off Format / Word Wrap,
2. Turn on View / Status Bar.
Thank you for that tip, I did not know this was possible. :D :D
3.2x - Win7 Ultimate (Zen Touch 2 16 GB/Zen 8GB)
Link to Favorite Scripts/Skins

Join Dropbox, the online site to share your files
thefaceman
Posts: 367
Joined: Sun Aug 28, 2005 10:43 pm

Re: Paying for IMPORT M3U Script help

Post by thefaceman »

The SCRIPT FIX WORKS!
Thanks
-thefaceman
Post Reply