Script: Radio-DJ [MM3]

Download and get help for different MediaMonkey Addons.

Moderators: Peke, Gurus

uwuerfel
Posts: 76
Joined: Tue Jan 08, 2008 3:29 pm
Location: Germany

Post by uwuerfel » Fri Apr 11, 2008 2:03 pm

Hi Olli,
ollifant wrote: I'm still using your script everyday at work. It is still the best script for my purposes, so thank you for sharing.
I'm really happy to read this.
At least one person who thinks, that my script is usefull.
And, since you are using it every day, it seems to be quite stable.


I have again a new version.

Since the songs need to be sorted for the "skipMostRecentlyPlayed" I use that fact and created a new feature called "Favor-Factor".

It means that you can tell the randomizer that it schould favor songs that have not been played for a long time.

So the first criteria is the weighted rating and the second criteria is the "Favor-Factor".

You can set it to the values 0..5, where 0 means don't favor anything (i.e. feature disabled, Radio-DJ ehaves as before), 1 means a light favor for songs that have not been played for a long time and 5 means a very strong emphasis of those songs.

Here ist V1.2 Pre 2

[Link removed]


CIAo, uwe
Last edited by uwuerfel on Fri Apr 18, 2008 3:46 pm, edited 1 time in total.
Autor of Radio-DJ

ollifant
Posts: 27
Joined: Tue Jan 15, 2008 4:28 pm
Location: Germany

Post by ollifant » Fri Apr 11, 2008 3:33 pm

Hi Uwe,

that's cool. A little bit like the "boost new songs"-function from "Radio Free Monkey".

In the last days i experienced no big trouble with the script, the new version seems to be stable 8)

Olli

SusanCassadaga
Posts: 2
Joined: Tue Mar 11, 2008 1:45 am

Post by SusanCassadaga » Sun Apr 13, 2008 1:55 pm

I love it =] keep up the good work =]
Image

uwuerfel
Posts: 76
Joined: Tue Jan 08, 2008 3:29 pm
Location: Germany

Post by uwuerfel » Mon Apr 14, 2008 2:55 am

Hi Susan,
SusanCassadaga wrote:I love it =] keep up the good work =]

Thanks! I'm glad to read this. :-)


CIAo, uwe..
Autor of Radio-DJ

uwuerfel
Posts: 76
Joined: Tue Jan 08, 2008 3:29 pm
Location: Germany

Post by uwuerfel » Fri Apr 18, 2008 3:45 pm

Hi all,

I just uploaded V1.2.0.
(see the first posting)

It is now a Media-Monkey installation package (mmip).


Have fun,
uwe..
Autor of Radio-DJ

drjboulder
Posts: 1119
Joined: Mon Apr 09, 2007 12:03 am
Location: Boulder, Colorado, USA

Post by drjboulder » Sun Apr 20, 2008 5:27 am

uwuerfel wrote: I just uploaded V1.2.0.
(see the first posting)
It is now a Media-Monkey installation package (mmip).
uwe..
Uwe, gotta say that you have made some amazing progress with this script!

I remember when you first posted it (and your very annoying forum test posts :wink: ) and thinking that it was very cool.
But, the first versions were a bit un-user friendly, so I had been holding off on giving this another go until you felt confident enough to post it as an MMIP.

But, wow, this rocks!
By far the best use of Auto-DJ without employing external sources.

Will not be giving up my Scrobbler or LastFM Node DJ's. But, gotta say this is working flawlessly - giving weighted random tunes.

Good work!
D Rock
Image
MediaMonkeyGoldv3.0.3.1183
Vista Home Basic|4thGen 20GPod
Zune Small Player Skin w/ Aqua 4 Player Mod
Backup | Last FM Node | Scrobbler DJ | TopTracks | StayInSameStyleDJ
RadioDJ | RadioFreeMonkey | PrettyPictures | MiniLyricsEmbedder
LyricsViewer | Lyricator | LyricsPlugin | VisualizationEmbedder | MonkeyRok
RightClickForWeb | WebSearchPanels | WebNodes | MagicNodes | FavoritesNodes
NowPlayingArtNode |AutoRateAccurate | TaggingInconsistencies
AdvancedDuplicateFind&Fix | CaseModify | PlayHistory&Stats | Etc...

uwuerfel
Posts: 76
Joined: Tue Jan 08, 2008 3:29 pm
Location: Germany

Post by uwuerfel » Sun Apr 20, 2008 4:36 pm

Hi D Rock,
drjboulder wrote: gotta say that you have made some amazing progress with this script!

[...]
wow, this rocks!
By far the best use of Auto-DJ without employing external sources.

Will not be giving up my Scrobbler or LastFM Node DJ's. But, gotta say this is working flawlessly - giving weighted random tunes.

Good work!
Wow!
Thanks for that big plaudit (do you say so?)!
I'm really happy to read this.
If you go to your window and see in direction europe, you should be able to see me beam with pride ;->



CIAo, uwe..
Last edited by uwuerfel on Sat Apr 26, 2008 4:19 am, edited 1 time in total.
Autor of Radio-DJ

istanbul
Posts: 15
Joined: Tue Oct 02, 2007 11:51 am

Post by istanbul » Fri Apr 25, 2008 2:23 am

Hi, thanks for a great script. I use it quite a lot and have never experienced any problems.

I was wondering if it would be possible to add another feature, namely to weight the songs by year as well. I'd like to give newer songs priority over older ones. Is this doable?

drjboulder
Posts: 1119
Joined: Mon Apr 09, 2007 12:03 am
Location: Boulder, Colorado, USA

Post by drjboulder » Fri Apr 25, 2008 2:37 am

uwuerfel wrote: Wow!
Thanks for that big plaudit (do you say so?)!
I'm really happy to read this.
If go to your window ans see in direction europe, you should be able to see me beam with pride ;->
CIAo, uwe..
Yep, plaudit is the correct English term!
Gotta update my response, tho. And say that I am actually finding myself using this more than, say, scrobbler.
D Rock
Image
MediaMonkeyGoldv3.0.3.1183
Vista Home Basic|4thGen 20GPod
Zune Small Player Skin w/ Aqua 4 Player Mod
Backup | Last FM Node | Scrobbler DJ | TopTracks | StayInSameStyleDJ
RadioDJ | RadioFreeMonkey | PrettyPictures | MiniLyricsEmbedder
LyricsViewer | Lyricator | LyricsPlugin | VisualizationEmbedder | MonkeyRok
RightClickForWeb | WebSearchPanels | WebNodes | MagicNodes | FavoritesNodes
NowPlayingArtNode |AutoRateAccurate | TaggingInconsistencies
AdvancedDuplicateFind&Fix | CaseModify | PlayHistory&Stats | Etc...

uwuerfel
Posts: 76
Joined: Tue Jan 08, 2008 3:29 pm
Location: Germany

Post by uwuerfel » Sat Apr 26, 2008 4:26 am

Hi Istanbul,
istanbul wrote:thanks for a great script. I use it quite a lot and have never experienced any problems.
Thanks for the feedback.
I'm allways happy to see that my script is usefull to others.

istanbul wrote: I was wondering if it would be possible to add another feature, namely to weight the songs by year as well. I'd like to give newer songs priority over older ones. Is this doable?
I'm not sure, if I understand exactly what you want.

Do you want a weighting based on the attribute "Years" instead of "Rating"? Or do you want it in addition e.g. within a rating prefer newer songs (like the feature "Favor Factor" which prefers songs within a rating that have not been played for a long time).


CIAo, uwe..
Last edited by uwuerfel on Sat Apr 26, 2008 6:01 am, edited 1 time in total.
Autor of Radio-DJ

uwuerfel
Posts: 76
Joined: Tue Jan 08, 2008 3:29 pm
Location: Germany

Post by uwuerfel » Sat Apr 26, 2008 4:30 am

drjboulder wrote: Gotta update my response, tho. And say that I am actually finding myself using this more than, say, scrobbler.
looks like I had the right idea when I started to create this script :-)


CIAo, uwe..
Autor of Radio-DJ

istanbul
Posts: 15
Joined: Tue Oct 02, 2007 11:51 am

Post by istanbul » Mon Apr 28, 2008 1:39 am

Uwe,

I'm sorry for being unclear. If possible, I would like to have years as a selection factor in addition to rating, to prefer newer songs within ratings. A "favour factor" for newer songs would do the trick, I guess, or additional menus like the ones you already have for rating with categories representing the age of the track (e.g. 1 year, 2 years, 3-5 years, 6-10 years, older).

Dag

uwuerfel
Posts: 76
Joined: Tue Jan 08, 2008 3:29 pm
Location: Germany

Post by uwuerfel » Mon Apr 28, 2008 4:55 am

Hi Dag,
istanbul wrote:A "favour factor" for newer songs would do the trick, I guess
The good news is: yes it's doable.

The even better news is: you can already do it with the "favor factor".

For the Favor factor, the script needs the input play list sorted.
The trick is, that Media-Monkey handles static play lists and auto play lists different. When using static play lists, the scripts reads the songs directly from the database and sorts them using the attribute "last played". This is hard coded in the script.

BUT:
When you are using auto-play lists, the script can not read the songs directly from the DB but it uses objects / data structures which Media-Monkey provides. This data structure contains the songs exactly in that order that you specify in the auto play list.

That means, when you sort the auto play list by "Year" and not by "Last played" it should do what you want.
Remember, that the songs that appear last in the auto play list are those that get the highest "favor factor".


Please let me know, if this works for you.


CIAo, uwe..
Autor of Radio-DJ

istanbul
Posts: 15
Joined: Tue Oct 02, 2007 11:51 am

Post by istanbul » Mon Apr 28, 2008 7:34 am

Yes, that did work! Excellent, thanks!

uwuerfel
Posts: 76
Joined: Tue Jan 08, 2008 3:29 pm
Location: Germany

Post by uwuerfel » Sun May 04, 2008 12:36 pm

Hi Dag,

I forgot to mention one important detail.

Since the feature "Skip most recently played" needs the play list sorted by "Last played" it will no longer work as expected, when the auto play list is sorted by "Year" or anything else.

In your case It would would effect that the oldest songs would never be played. So I suggest to set "Skip most recently played" to 0 (zero) to disable that feature.


CIAo, uwe..
Autor of Radio-DJ

Post Reply