Skip to main content
Topic: [Help Needed] Rating directly into file and not in database (Read 728 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

[Help Needed] Rating directly into file and not in database

I've read this thread https://hydrogenaud.io/index.php/topic,71224.0.html but either I've not understood it properly or the pic is gone,

I would like a way to directly rate (manually) the audio files and it should not be written in some database file but directly to the ID3 tags of the mp3 (or other) files.

Thanks.

Re: [Help Needed] Rating directly into file and not in database

Reply #1
Started using MediaMonkey till I find the solution, it's not as good as Foobar2000 but something is better than nothing

Re: [Help Needed] Rating directly into file and not in database

Reply #2
There are many ways to achieve what you want. You can just edit the tag you wish manually, you can use Quick Tagger to set up keyboard shortcut for editing the rating tag, or you can use Playback Statistics component and make it write the fields to tags by ticking the checkbox in advanced preferences:


Re: [Help Needed] Rating directly into file and not in database

Reply #3
Another option is to use masstagger component and create an "add value" script (for example field name: RATING, field value: 5) and then bind foobar keyboard shortcut to that script (for example ctrl numpad 5).

Re: [Help Needed] Rating directly into file and not in database

Reply #4
There are many ways to achieve what you want. You can just edit the tag you wish manually, you can use Quick Tagger to set up keyboard shortcut for editing the rating tag, or you can use Playback Statistics component and make it write the fields to tags by ticking the checkbox in advanced preferences:
Spoiler (click to show/hide)
Thank you for replying, I tried both the methods (playbar statistics (also enabled the checkbox) and quick tagger) but none of them writes back to the actual file, I'm using windows 10 x64. Can you please tell me what am I doing wrong.

Re: [Help Needed] Rating directly into file and not in database

Reply #5
Another option is to use masstagger component and create an "add value" script (for example field name: RATING, field value: 5) and then bind foobar keyboard shortcut to that script (for example ctrl numpad 5).
I did but can't see any change in the actual file, Thanks for the reply

Re: [Help Needed] Rating directly into file and not in database

Reply #6
Editing tags most definitely edits the file. I can only assume whatever means you use to check the change is something incompatible with foobar2000 way.

Re: [Help Needed] Rating directly into file and not in database

Reply #7
Editing tags most definitely edits the file. I can only assume whatever means you use to check the change is something incompatible with foobar2000 way.
I'm trying to see in the windows explorer (The gold stars made), thanks again

Re: [Help Needed] Rating directly into file and not in database

Reply #8
This  is  WSH playlist viewer by BRTT.
Is very simple and easy way to operate your music files.
You can choose there any color for background and for playlist fonts color.
As you see this file tagged manually. All tags written in file.


Source:  https://br3tt.deviantart.com/art/WSH-Playlist-2013-v0-0-8-368997689

Re: [Help Needed] Rating directly into file and not in database

Reply #9
He's merely asking to rate his tracks. Kinda seems a bit overkill to suggest a complete playlist viewer that's also very outdated. There a valid and working suggestions made in this thread which don't require a full playlist viewer. Besides, your suggestion would only work under columns ui which you don't know if OP is using it. Or would you expect OP to completely switch to Columns UI merely for tagging?

Re: [Help Needed] Rating directly into file and not in database

Reply #10
I'm trying to see in the windows explorer (The gold stars made), thanks again
Windows Explorer probably grabs the ratings from your Windows Media library (in Windows Media Player) instead of the files, and/or it probably uses a different tag instead of the %rating% tag entirely (I'm not sure what though?)

You might have to open WMP and change a setting - here is a link where someone had the same problem and a solution at the end of the page - [Link]

WARNING: Be sure to avoid the bad advice from the Microsoft Support person. The problem here is you are dealing with Microsoft logic.  ::)

Re: [Help Needed] Rating directly into file and not in database

Reply #11
He's merely asking to rate his tracks. Kinda seems a bit overkill to suggest a complete playlist viewer that's also very outdated. There a valid and working suggestions made in this thread which don't require a full playlist viewer. Besides, your suggestion would only work under columns ui which you don't know if OP is using it. Or would you expect OP to completely switch to Columns UI merely for tagging?

Outdated but working and it isnt need CUI it runs on F2K DUI. If you have a better offer for him its ok.

Re: [Help Needed] Rating directly into file and not in database

Reply #12
Thanks all for answering / helping (Specially @Case and @jazzthieve ) but can I anyhow see my earlier rated music in foobar2000 because even that is not possible for me


Re: [Help Needed] Rating directly into file and not in database

Reply #13
If you want to add a column that shows the rating there are once again many ways. If you use Default UI you can right click on the column header line, select "Columns" -> "More...", click "Add new" and give the new column name "Rating". If you just want to see a number you can use pattern "$if2(%rating%,$meta(rating))". The reason the pattern is so complex and not just %rating% is to make it work both for rating coming from the Playback Statistics component and for rating value stored in tag.

If you prefer seeing stars you can use for example something like this as the pattern: $puts(r,$if2(%rating%,$meta(rating)))$ifequal($get(r),5,<,<<)$repeat($char(9733),$get(r))<<<$repeat($char(9734),$sub(5,$get(r))))

Once you have defined the new column close the preferences dialog with OK button and enable the newly added column by right clicking on the column headers again, and select Columns -> Rating.

Edit: If you just want to find music you have rated earlier select main menu entry "Library" -> "Search" and use search query NOT %rating% MISSING.
If you have Playback Statistics component installer and the rating is not in its database but in tags, you can use query NOT "$meta(rating)" MISSING.

Re: [Help Needed] Rating directly into file and not in database

Reply #14
He's merely asking to rate his tracks. Kinda seems a bit overkill to suggest a complete playlist viewer that's also very outdated. There a valid and working suggestions made in this thread which don't require a full playlist viewer. Besides, your suggestion would only work under columns ui which you don't know if OP is using it. Or would you expect OP to completely switch to Columns UI merely for tagging?

Outdated but working and it isnt need CUI it runs on F2K DUI. If you have a better offer for him its ok.

Outdated and unsupported. Read the thread, I did. Even so, your suggestion is way overkill. End of story.

Re: [Help Needed] Rating directly into file and not in database

Reply #15
You have missed an important change to Windows 10's Windows Media Player, starting with the 1803 update:

Important note: for unknown reasons, Microsoft have added a Write media information changes to files setting to WMP in the Spring Creators Update of Windows 10, and have defaulted it to *off*. That means that by default, any tag changes made in WMP's library aren't written back to file, both for natively supported formats and for formats supported through WMP Tag Plus. I would *strongly* recommend anyone making tag changes in the library (including using Windows Media Player Plus!'s tag editor) to turn that setting on - it can be found through Tools - Options - Library (press Ctrl+M if you don't see the Tools menu).

That's right, by default, Windows Media Player no longer alters your actual files' tags, but merely stores tag changes in its database!

 

Re: [Help Needed] Rating directly into file and not in database

Reply #16
He's merely asking to rate his tracks. Kinda seems a bit overkill to suggest a complete playlist viewer that's also very outdated. There a valid and working suggestions made in this thread which don't require a full playlist viewer. Besides, your suggestion would only work under columns ui which you don't know if OP is using it. Or would you expect OP to completely switch to Columns UI merely for tagging?

Outdated but working and it isnt need CUI it runs on F2K DUI. If you have a better offer for him its ok.

Outdated and unsupported. Read the thread, I did. Even so, your suggestion is way overkill. End of story.

I dont know what you mean overkill except the two cases:
Overkill is the name of the thrash metal band.
Overkill is the the song of Motorhead.
And thank you to give me a right of freedom of speech.

Re: [Help Needed] Rating directly into file and not in database

Reply #17
You again. I made myself clear the first time, it seems you just don't seem to get it. That's not my problem. If you want to go out and post stupid unrelated stuff you won't get away with it here. Do continue....see what happens. Don't waste my time with your BS.

Re: [Help Needed] Rating directly into file and not in database

Reply #18
If files are mp3 ones then ID3 tag revision also matters. Windows Explorer reads most likely only ID3 2.3 and DOES NOT read ID3 2.4. You'll have to update your files in foobar to use strictly ID3 2.3 and set it to enforce writing them in exactly this version.
It might be also helpful to set "Rating" one of your standard fields in Properties window (go to Advanced Preferences in foobar, then Display, Standard Fields).

If files are FLAC then you most likely need to install 3rd party property handler for Windows Explorer. This is valid for at least Windows 7, Windows 8/8.1 and some versions of Windows 10 (prior to 1711 - I haven't used any Windows 10 starting from this version).

Re: [Help Needed] Rating directly into file and not in database

Reply #19
Well. Someone call me there a troll etc.
I am not going to justify myself. 
I gonna show you the screenshots.
Then i just suggest you to be a little nice to the people. 

Re: [Help Needed] Rating directly into file and not in database

Reply #20
Nobody cares, get over it.  8)
Nice tactic sharing private messages to shame people. Go ahead share the other one too. No wait, I'll do it for you:
"Grow up".
You're an annoying individual who can't take it when someone talks back a little. You're childish and butthurt and just proved that yourself once over. I'm not gonna waste any more time on your antics. Have a nice day. As I said before, grow up, learn to take  criticism and don't start whining and trying to shame people towards other members to get back at them. How old are you? 15? Pathetic.

 
SimplePortal 1.0.0 RC1 © 2008-2018