Playlist in Main Window 1.1 (2009-06-18)

Download and get help for different MediaMonkey Addons.

Moderators: Peke, Gurus

Playlist in Main Window 1.1 (2009-06-18)

Postby Bex » Sun May 17, 2009 2:26 pm

Here's a new script which lets you populate one of the custom fields in the main window with the names of the Static Playlist the tracks belong to. :D
I have also implemented a couple of Database Triggers which automatically updates the selected field when you add/delete tracks to a playlist or if you create, delete or renames Playlists. It also gets rewritten if you change the field directly in the Main Window.

You activate the script in the settings:
If you have MM 3.1 you can right click on the Playlist node, if not go to "Tools->Options->Library->Playlist in Main Window"
Image

Here's how it looks in the main window, I've used Custom1 as the field:
Image

There are some things which aren't optimal:
- It only works for static Playlists
- To see made changes in a playlist in the Main Window. You need to select another node and then go back to the node you were in. You can try to press F5 but it doesn't always work.
- The field you have selected to see the Playlist Name in is actually written to the tag of the file. However, the script doesn't automatically write the values to the tag when you activate the script. But after the script is activated and you change something in the track properties, the value is written to the tag. (Normal MM behaviour.)
- If you don't want to use the script after you have activated it. You must uninstall it from within MM and then restart MM. You can't just delete the .vbs file since it will still leave the Database Triggers in the Database.
- If you uninstall it you also need to manually delete the values in the selected field.
- I also got some strange errors when I developed the script. They all seem to be gone now. But for good practice, please back up your database and let me know if you get anyone of those strange errors while using the script.

Other than that I hope you'll like the script. It was a bit difficult to get everything to work correctly, especially with the Database Triggers.

Special thanks goes to Nyn who has helped a lot in testing the script! :D


As usual. Comments, bug reports and suggestions are welcome!

Enjoy!
/Bex
___________________________________________________________
Ver 1.1 (2009-06-18)
- Added possibility to add Count of Playlists to the field

___________________________________________________________
Download:
Latest version:
Note! You must have MM 3.0.6.1190 are later to use this script!
You might need to download from the Beta forum to get the required version.

MM3 (Installer)
Playlist in Main Window 1.1

Previous version (in case a recent script update by me is malfunctioning:
Playlist in Main Window 1.0


Installation Instructions:
- New Install or upgrade:
MM3 (Installer)
Avoid "Product installation error"
- Vista Users:
- - To be able to install scripts you must Run MM as an administrator.
- - It means that you must right click the MM icon and select "Run as administrator" even if you are logged in as an administrator.
- All Users:
- - Check in your task manager that you only have one instance of MediaMonkey.exe running.

1. Download the .mmip file and run it.
2. Restart MediaMonkey if needed
3. Go to the settings. (If you have MM 3.1 you can right click on the Playlist node, if not go to "Tools->Options->Library->Playlist in Main Window")
4. Select a field and activate the script.
5. Once activated you can right click on the playlist node and rebuild the Playlists in the Main Window if needed.
Last edited by Bex on Thu Jun 18, 2009 12:10 pm, edited 1 time in total.
Advanced Duplicate Find & Fix Find More From Same - Custom Search. | Transfer PlayStat & Copy-Paste Tags/AlbumArt between any tracks.
Tagging Inconsistencies Do you think you have your tags in order? Think again...
Play History & Stats Node Like having your Last-FM account stored locally, but more advanced.
Case & Leading Zero Fixer Works on filenames too!

All My Scripts
Bex
 
Posts: 5986
Joined: Fri May 21, 2004 5:44 am
Location: Sweden

Re: Playlist in Main Window 1.0 (2009-05-17)

Postby wutzin » Thu May 21, 2009 10:31 am

this looks awesome! It's a work-around and I still think MM should do this natively, but I'm installing it right now and hoping it will do the trick ;)

thanks for your work!
wutzin
 
Posts: 35
Joined: Thu Jul 03, 2008 9:18 am

Re: Playlist in Main Window 1.0 (2009-05-17)

Postby Bex » Fri May 22, 2009 3:56 am

Thanks, let me know if the script works as it should!
Advanced Duplicate Find & Fix Find More From Same - Custom Search. | Transfer PlayStat & Copy-Paste Tags/AlbumArt between any tracks.
Tagging Inconsistencies Do you think you have your tags in order? Think again...
Play History & Stats Node Like having your Last-FM account stored locally, but more advanced.
Case & Leading Zero Fixer Works on filenames too!

All My Scripts
Bex
 
Posts: 5986
Joined: Fri May 21, 2004 5:44 am
Location: Sweden

Re: Playlist in Main Window 1.0 (2009-05-17)

Postby wutzin » Sun May 24, 2009 1:07 am

awesome - just installed it and it works great! This is such a timesaver - thanks for your effort of getting this missing feature into the monkey ;)
wutzin
 
Posts: 35
Joined: Thu Jul 03, 2008 9:18 am

Re: Playlist in Main Window 1.1 (2009-06-18)

Postby Bex » Thu Jun 18, 2009 12:15 pm

New version 1.1 (2009-06-18)
- Added possibility to add Count of Playlists to the field



To apply, click the checkbox in the settings and press Activate/Update.

Playlist in Main Window 1.1


Enjoy!
/Bex
Advanced Duplicate Find & Fix Find More From Same - Custom Search. | Transfer PlayStat & Copy-Paste Tags/AlbumArt between any tracks.
Tagging Inconsistencies Do you think you have your tags in order? Think again...
Play History & Stats Node Like having your Last-FM account stored locally, but more advanced.
Case & Leading Zero Fixer Works on filenames too!

All My Scripts
Bex
 
Posts: 5986
Joined: Fri May 21, 2004 5:44 am
Location: Sweden

Re: Playlist in Main Window 1.1 (2009-06-18)

Postby nynaevelan » Thu Jun 18, 2009 12:27 pm

That was fast, thank you it works perfectly. :D :D

Nyn
3.2x - Win7 Ultimate (Zen X-Fi 32GB/Zen 8GB/Zen Vision M 60GB)
Link to Favorite Scripts/Skins
nynaevelan
 
Posts: 4773
Joined: Wed Feb 07, 2007 11:07 pm
Location: New Jersey, USA

Re: Playlist in Main Window 1.1 (2009-06-18)

Postby Bex » Thu Jun 18, 2009 12:34 pm

Thanks, it was actually very easy to implement! :)
Advanced Duplicate Find & Fix Find More From Same - Custom Search. | Transfer PlayStat & Copy-Paste Tags/AlbumArt between any tracks.
Tagging Inconsistencies Do you think you have your tags in order? Think again...
Play History & Stats Node Like having your Last-FM account stored locally, but more advanced.
Case & Leading Zero Fixer Works on filenames too!

All My Scripts
Bex
 
Posts: 5986
Joined: Fri May 21, 2004 5:44 am
Location: Sweden

Re: Playlist in Main Window 1.1 (2009-06-18)

Postby rbarzel » Thu Aug 20, 2009 5:10 pm

Exactly what I wanted, thanks!
rbarzel
 
Posts: 5
Joined: Mon Aug 17, 2009 12:40 pm

Re: Playlist in Main Window 1.1 (2009-06-18)

Postby geoff t » Fri Dec 25, 2009 6:00 am

Works like a dream. Should be a permanent feature of media monkey
geoff t
 
Posts: 6
Joined: Thu Dec 24, 2009 4:09 pm

Re: Playlist in Main Window 1.1 (2009-06-18)

Postby Bex » Fri Dec 25, 2009 9:47 am

Thank you, geoff t! :)
Advanced Duplicate Find & Fix Find More From Same - Custom Search. | Transfer PlayStat & Copy-Paste Tags/AlbumArt between any tracks.
Tagging Inconsistencies Do you think you have your tags in order? Think again...
Play History & Stats Node Like having your Last-FM account stored locally, but more advanced.
Case & Leading Zero Fixer Works on filenames too!

All My Scripts
Bex
 
Posts: 5986
Joined: Fri May 21, 2004 5:44 am
Location: Sweden

Re: Playlist in Main Window 1.1 (2009-06-18)

Postby surfer » Thu May 13, 2010 4:47 am

thanks a lot for your excellent work!
surfer
 
Posts: 171
Joined: Fri Oct 22, 2004 4:55 am

Re: Playlist in Main Window 1.1 (2009-06-18)

Postby kiwichick » Fri May 14, 2010 3:10 am

Absolutely fantastic!! This should be an MM standard.
kiwichick
 
Posts: 57
Joined: Tue Jul 21, 2009 6:35 am

Re: Playlist in Main Window 1.1 (2009-06-18)

Postby Bex » Sat May 15, 2010 5:43 pm

Thank you guys!
Advanced Duplicate Find & Fix Find More From Same - Custom Search. | Transfer PlayStat & Copy-Paste Tags/AlbumArt between any tracks.
Tagging Inconsistencies Do you think you have your tags in order? Think again...
Play History & Stats Node Like having your Last-FM account stored locally, but more advanced.
Case & Leading Zero Fixer Works on filenames too!

All My Scripts
Bex
 
Posts: 5986
Joined: Fri May 21, 2004 5:44 am
Location: Sweden

Re: Playlist in Main Window 1.1 (2009-06-18)

Postby GeraldB » Sat Aug 14, 2010 10:26 am

I was the OP. I just installed this script and it works a treat. Thank you for your work, Bex.
GeraldB
 
Posts: 94
Joined: Sun Aug 31, 2008 7:58 pm


Return to Need Help with Addons?

Who is online

Users browsing this forum: Yahoo [Bot] and 5 guests