Question about graphic rating (star bars) -, Can value be set by clicking on star? |
This is NOT a tech support forum.
Tech support questions go to foobar2000 Tech Support forum instead.
See also: Hydrogenaudio Terms of Service.
![]() ![]() |
Question about graphic rating (star bars) -, Can value be set by clicking on star? |
Mar 3 2013, 22:27
Post
#1
|
|
![]() Group: Members Posts: 406 Joined: 14-September 11 From: Szczecin, PL Member No.: 93712 |
I am using Default User Interface and generally I don't wan't to change it as I don't need all that turbo-hyper-skins. But I got one question regarding Coulmns UI and its possible enhancements/extensions. In my DUI I got many coulmns representing tag values. One of them is a column with star bars representing arbitrary (not automaticaly) set rating, saved in custom tag RATING10. Values are between 0 and 10. The question is: Is it possible in CUI (with particular plugin/extension/script) to make this star bar clickable so the tag value can be set by clicking on one of the stars and automatically updated in file's metadata? I am asking about functionality similar to Windows Explorer (in Win7) for mp3 files (and for FLAC after installing property handler from AJD). As far as I know such feature was available also in Windows Media Player. So is it possible in foobar?
|
|
|
|
Mar 3 2013, 23:43
Post
#2
|
|
![]() Group: Members Posts: 3340 Joined: 27-January 05 From: England Member No.: 19379 |
it's possible to do it in both default UI and columns UI with a WSH panel mod script. i've already made one that uses foo_playcount - which is obviously limited to the 5 stars. but it should be fairly trivial to make it read/write custom file tags instead.
edit: try this: https://dl.dropbox.com/u/22801321/2013/marc...stom_rating.zip extract the images folder into foobar2000 profile folder (or the main foobar directory if running portable). then install WSH panel mod and copy/paste the script into the panel. i've already set the tag to rating10 but you can edit the tag at the top of the script.
This post has been edited by marc2003: Mar 4 2013, 00:07 |
|
|
|
Mar 7 2013, 08:35
Post
#3
|
|
![]() Group: Members Posts: 406 Joined: 14-September 11 From: Szczecin, PL Member No.: 93712 |
Wow, thanks for answer
|
|
|
|
Mar 7 2013, 09:55
Post
#4
|
|
![]() Group: Members Posts: 3340 Joined: 27-January 05 From: England Member No.: 19379 |
just just need to add use layout editing mode and put WSH panel mod somewhere in your layout and then put that script in it.
it's unlikely you'll ever see clickable columns in a playlist with 10 stars. both ESplaylist and simplaylist support clickable 5 stars but i don't know if the developers would ever consider 10 - it's pretty bespoke. you could ask but i don't think you'll get very far. they aren't very active these days. you can of course display the ratings in any playlist using a custom column. CODE $repeat(★,%rating10%)
This post has been edited by marc2003: Mar 7 2013, 10:00 |
|
|
|
Mar 26 2013, 21:40
Post
#5
|
|
![]() Group: Members Posts: 76 Joined: 30-June 12 From: England Member No.: 101088 |
just just need to add use layout editing mode and put WSH panel mod somewhere in your layout and then put that script in it. it's unlikely you'll ever see clickable columns in a playlist with 10 stars. both ESplaylist and simplaylist support clickable 5 stars but i don't know if the developers would ever consider 10 - it's pretty bespoke. you could ask but i don't think you'll get very far. they aren't very active these days. you can of course display the ratings in any playlist using a custom column. CODE $repeat(★,%rating10%) Is there anyway to use WSH to have the clickable stars as font? I use this for ratings QUOTE $if(%rating%,$repeat(■,%rating%)$repeat(□,$sub(5,%rating%)),□□□□□) Is there a WSH script about that works this way? I am currently using stars but it's from .png images and I change from stars, sqaures, circles etc in ELPlaylist so can't really keep redrawing the pngs for wsh panel mod. EDIT* Found this one but it's over 400 lines of code, mine is 69, is that bad? http://pastebin.com/s2ByGKtF This post has been edited by Bratman: Mar 26 2013, 21:49 |
|
|
|
![]() ![]() |
|
Lo-Fi Version | Time is now: 20th June 2013 - 00:54 |