need a script for top 50 lists

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

Moderators: Peke, Gurus

Guest

need a script for top 50 lists

Post by Guest »

i know there is one in monkey but it does not do what i want it to do.

i am using the free version you all know that.

what i want to do is make the top 50 list clear it's self every sunday morning so it will only list the top songs for that week on the next saturday when i play it.

but the default top 50 list gets all the songs from all the play counts and it does not care when it was last played. so it will toss in christmas songs that have not been played since december.

thats not good as it makes out of season songs get played.

so i was trying to figure out how to code the list to just pick the top songs from the last seven days and clear itself every morning on the 8th day.

but i can not figure out how so i am asking for a new script. maybe it can be added to the monkey as a weekly count down list.?

roving cowboy / keith hall

just stopping by the fence again.
Spazz
Posts: 243
Joined: Tue Jan 11, 2005 9:49 pm

Post by Spazz »

As far as I know you can't. I wish there would be an option that would record every time a song is played as I'd love to have a playlist that showed the most played songs of the last week or two.
Image
Steegy
Posts: 3452
Joined: Sat Nov 05, 2005 7:17 pm

Post by Steegy »

Hello

To do it very easy, add this to the table Playlists in the database, as an AutoPlaylist:

Code: Select all

[Common]
QueryVersion=1
QueryType=2

[Basic]
SongTitle=
Artist=
Album=
Genre=
Comment=
Lyrics=
AnyField=
YearFrom=-1
YearTo=-1
SortOrder1=
SortOrder2=
SortOrder3=

[Adv]
ConditionsCount=1
OrdersCount=1
LimitTop=1
Top=50
LimitMB=0
MaxMB=650
LimitLen=0
MaxLen=74

[AdvCond1]
DBField=Songs.LastTimePlayed
Condition=401
Value=8

[AdvSO1]
Order=Songs.Rating
Asc=0
It gives the top 50 tracks, sorted on rating (good > less good) that have been played the last 7 (or is it 8?) days.
It doesn't clear anything, it just gives the last 7 (or 8) days.


I tried MagicNodes but that gave some sql errors, probably because I was doing it wrong.
A script is certainly possible, if these things don't work.

Cheers
Steegy
Extensions: ExternalTools, ExtractFields, SongPreviewer, LinkedTracks, CleanImport, and some other scripts (Need Help with Addons > List of All Scripts).
rovingcowboy
Posts: 14163
Joined: Sat Oct 25, 2003 7:57 am
Location: (Texas)
Contact:

Post by rovingcowboy »

where do i put that?

8)
roving cowboy / keith hall. My skins http://www.mediamonkey.com/forum/viewto ... =9&t=16724 for some help check on Monkey's helpful messages at http://www.mediamonkey.com/forum/viewto ... 4008#44008 MY SYSTEMS.1.Jukebox WinXp pro sp 3 version 3.5 gigabyte mb. 281 GHz amd athlon x2 240 built by me.) 2.WinXP pro sp3, vers 2.5.5 and vers 3.5 backup storage, shuttle 32a mb,734 MHz amd athlon put together by me.) 3.Dell demension, winxp pro sp3, mm3.5 spare jukebox.) 4.WinXp pro sp3, vers 3.5, dad's computer bought from computer store. )5. Samsung Galaxy A51 5G Android ) 6. amd a8-5600 apu 3.60ghz mm version 4 windows 7 pro bought from computer store.
Steegy
Posts: 3452
Joined: Sat Nov 05, 2005 7:17 pm

Post by Steegy »

MediaMonkey.mdb ----> Tables:

In table "Playlists", add a new record (row) and use:
PlaylistName = TheNameYouWantForYourAutoPlaylist
ParentPlaylist = 0 (if you want the playlist to be on the top level)
IsAutoPlaylist = 1
QueryData = <<<TheCodeThatIPostedAbove>>>

Save & Close the database.
Start MediaMonkey... and have a new auto-playlist !
Extensions: ExternalTools, ExtractFields, SongPreviewer, LinkedTracks, CleanImport, and some other scripts (Need Help with Addons > List of All Scripts).
tarasis
Posts: 71
Joined: Thu Feb 16, 2006 6:29 am
Location: Buchholz, Germany
Contact:

Post by tarasis »

Steegy wrote:MediaMonkey.mdb ----> Tables:

In table "Playlists", add a new record (row) and use:
PlaylistName = TheNameYouWantForYourAutoPlaylist
ParentPlaylist = 0 (if you want the playlist to be on the top level)
IsAutoPlaylist = 1
QueryData = <<<TheCodeThatIPostedAbove>>>

Save & Close the database.
Start MediaMonkey... and have a new auto-playlist !
Thanks thats quite useful but ouch on how you have to use it! I presume you have to have Access to be able to do this.
rovingcowboy
Posts: 14163
Joined: Sat Oct 25, 2003 7:57 am
Location: (Texas)
Contact:

Post by rovingcowboy »

so it is not a script but a database add in?

i can not open the database i don't have the acess program.

which is why i need to use scripts.

maybe jiri or rusty can add that in to the database for us.

:lol:
roving cowboy / keith hall. My skins http://www.mediamonkey.com/forum/viewto ... =9&t=16724 for some help check on Monkey's helpful messages at http://www.mediamonkey.com/forum/viewto ... 4008#44008 MY SYSTEMS.1.Jukebox WinXp pro sp 3 version 3.5 gigabyte mb. 281 GHz amd athlon x2 240 built by me.) 2.WinXP pro sp3, vers 2.5.5 and vers 3.5 backup storage, shuttle 32a mb,734 MHz amd athlon put together by me.) 3.Dell demension, winxp pro sp3, mm3.5 spare jukebox.) 4.WinXp pro sp3, vers 3.5, dad's computer bought from computer store. )5. Samsung Galaxy A51 5G Android ) 6. amd a8-5600 apu 3.60ghz mm version 4 windows 7 pro bought from computer store.
Peke
Posts: 18453
Joined: Tue Jun 10, 2003 7:21 pm
Location: Earth
Contact:

Post by Peke »

@tarasis,
Hmmmm.... Interesting. As I remember someone here on forum has manages to change Tables within MM or I'm wrong, maybe it could be used to produce rovingcowboy a help. Very interesting.
Best regards,
Peke
MediaMonkey Team lead QA/Tech Support guru
Admin of Free MediaMonkey addon Site HappyMonkeying
Image
Image
Image
How to attach PICTURE/SCREENSHOTS to forum posts
agentsmart

Post by agentsmart »

hay this is a good idea. :lol: :P

are you going to put it in the main monkey database.
or is anyone making a script for it, i for one will add my
wish for this too. 8)
psyXonova
Posts: 785
Joined: Fri May 20, 2005 3:57 am
Location: Nicosia, Cyprus
Contact:

Post by psyXonova »

Too much trouble for nothing... kk here it is

Right click the Top 50 - Favorites playlist --> Save as AutoPlaylist.
Select a meaningful name (eg Last Weeks Chart)
Ok, now right click that Playlist --> Edit Auto Playlist
Click Add search criteria, select Property Last Played, Condition < (days ago), value 7 and click OK.

Save the playlist, there you are. This playlist shows all the Top played Track for the past seven days. It is offcourse updated automatically everytime you view/play it.

Thats it. I think that Steegy was too bored to describe that procedure and thats why he suggested adding it manually inside the Playlist tables. :lol: :lol: :lol:
Steegy
Posts: 3452
Joined: Sat Nov 05, 2005 7:17 pm

Post by Steegy »

Steegy wasn't bored. Steegy read the following:
i am using the free version you all know that.
So Steegy assumed that it was impossible to add or edit auto-playlists, but existing auto-playlists can be used so I proposed to add one through a more obscure "work-around" way (directly into the database).
:lol:

Anyway, it should be possible using Magic Nodes, but I think there's an error in the MN script and that's why I can't get it to work.

There are free, light and simple alternatives for MSAccess, to open mdb databases, aren't there?

Cheers
Steegy
Extensions: ExternalTools, ExtractFields, SongPreviewer, LinkedTracks, CleanImport, and some other scripts (Need Help with Addons > List of All Scripts).
Bex
Posts: 6316
Joined: Fri May 21, 2004 5:44 am
Location: Sweden

Post by Bex »

Actually guys, this is not possible to achieve. The playcount consists of lifetime plays. It doesnt tell you in what period the play ocurred. So it's not possible to create a playlist or MN that consists of most played last week. What you get is "Of my highest playcount songs, give me those I have played last week".

But that is perhaps enough?

/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
rovingcowboy
Posts: 14163
Joined: Sat Oct 25, 2003 7:57 am
Location: (Texas)
Contact:

Post by rovingcowboy »

psyxonova wrote:Too much trouble for nothing... kk here it is

Right click the Top 50 - Favorites playlist --> Save as AutoPlaylist.
Select a meaningful name (eg Last Weeks Chart)
Ok, now right click that Playlist --> Edit Auto Playlist
Click Add search criteria, select Property Last Played, Condition < (days ago), value 7 and click OK.

Save the playlist, there you are. This playlist shows all the Top played Track for the past seven days. It is offcourse updated automatically everytime you view/play it.

Thats it. I think that Steegy was too bored to describe that procedure and thats why he suggested adding it manually inside the Playlist tables. :lol: :lol: :lol:




I'll try that but i was wanting to list all the songs played the most in the last week, i notice you typed that the list would show only the most played track.? is that typo and should it be "tracks.".

not steegy's right i can not do that in the free version.

bex

if i can get a list to show only the songs played in the last week. then they will show the play count and i can order them in the list by playcount that will give me the thing i want.

is that possible?
roving cowboy / keith hall. My skins http://www.mediamonkey.com/forum/viewto ... =9&t=16724 for some help check on Monkey's helpful messages at http://www.mediamonkey.com/forum/viewto ... 4008#44008 MY SYSTEMS.1.Jukebox WinXp pro sp 3 version 3.5 gigabyte mb. 281 GHz amd athlon x2 240 built by me.) 2.WinXP pro sp3, vers 2.5.5 and vers 3.5 backup storage, shuttle 32a mb,734 MHz amd athlon put together by me.) 3.Dell demension, winxp pro sp3, mm3.5 spare jukebox.) 4.WinXp pro sp3, vers 3.5, dad's computer bought from computer store. )5. Samsung Galaxy A51 5G Android ) 6. amd a8-5600 apu 3.60ghz mm version 4 windows 7 pro bought from computer store.
Teknojnky
Posts: 5537
Joined: Tue Sep 06, 2005 11:01 pm
Contact:

Post by Teknojnky »

Psyxonova's instructions work only for songs on a rolling 7 day window, not a weekly generated Sunday thru Saturday Top 50.

I don't think its possible via auto-playlists, however I would think thats its possible via script.

I would seem to need to be weekly calendar based and generate static playlists similar to the recently added playlist node.
rovingcowboy
Posts: 14163
Joined: Sat Oct 25, 2003 7:57 am
Location: (Texas)
Contact:

Post by rovingcowboy »

i don't know i was hoping it was easy to do with scripts but it looks like nobody can do it with scripts i hope they add in steegys code to the database?

8)
roving cowboy / keith hall. My skins http://www.mediamonkey.com/forum/viewto ... =9&t=16724 for some help check on Monkey's helpful messages at http://www.mediamonkey.com/forum/viewto ... 4008#44008 MY SYSTEMS.1.Jukebox WinXp pro sp 3 version 3.5 gigabyte mb. 281 GHz amd athlon x2 240 built by me.) 2.WinXP pro sp3, vers 2.5.5 and vers 3.5 backup storage, shuttle 32a mb,734 MHz amd athlon put together by me.) 3.Dell demension, winxp pro sp3, mm3.5 spare jukebox.) 4.WinXp pro sp3, vers 3.5, dad's computer bought from computer store. )5. Samsung Galaxy A51 5G Android ) 6. amd a8-5600 apu 3.60ghz mm version 4 windows 7 pro bought from computer store.
Post Reply