• Home
  • Blog
  • Add-ons
  • Forum
  • Wiki
  • Developers
Nightingale - The tune of life, the tune of yours
  • Portal
  • Search
  • Member List
  • Calendar
  • Help
  • Portal
  • Search
  • Member List
  • Calendar
  • Help
Guest Hi, Guest
  • Login
  • Register
Login
Username:
Password: Lost Password?
 
Nightingale Forums Nightingale General Discussion Store ratings into ID3

Pages (2): « Previous 1 2
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Thread Modes
Store ratings into ID3
rsjtdrjgfuzkfg Offline
Developer
*******
Posts: 664
Threads: 15
Joined: Oct 2011
Reputation: 15
#11
03-03-2014, 05:54 AM (This post was last modified: 03-03-2014, 05:55 AM by rsjtdrjgfuzkfg.)
(03-03-2014, 02:45 AM)Lupo Wrote: I think if nightingale is able to erase the field it also might be able to fill it?

I currently don't know what field the application you're using actually uses. It should not get deleted, so there might be some issue with the underlying library not supporting the frame at all, resulting in the frame not getting preserved.

Deletion and writing are technically different things, so Nightingale being "able" to delete the frame does not yield a technical way to write it in a standard-compliant way.

For the cc-licensed or public domain song with a rating from the application you're using, feel free to use any hosting service (Dropbox, Mediafire) or if it is small attach it here in the forums (must be zipped, maximum size 1 MB). There is no mailing list all developers recive, thus I'd be the only one reciving the file if you sent me an eMail. However, if you for some reason don't get it to work, you can contact me at my username @getnightingale.com.
Songbird/Nightingale Community Developer and German Translator
Find
Reply
Lupo Offline
Junior Member
**
Posts: 17
Threads: 4
Joined: Dec 2013
Reputation: 0
#12
03-03-2014, 08:03 AM (This post was last modified: 03-03-2014, 08:05 AM by Lupo.)
Hi rsjtdrjgfuzkfg, attached please find a file that has a rating with 4 stars from another program. In the windows browser you can see this rating if you add the rating column to the browser. As soon as I change the rating in nightingale the rating in the metadata disappears. Best regards, Lupo


Attached Files
.zip   example.zip (Size: 718.7 KB / Downloads: 213)
Find
Reply
rsjtdrjgfuzkfg Offline
Developer
*******
Posts: 664
Threads: 15
Joined: Oct 2011
Reputation: 15
#13
03-05-2014, 12:36 AM
(03-03-2014, 08:03 AM)Lupo Wrote: Hi rsjtdrjgfuzkfg, attached please find a file that has a rating with 4 stars from another program. In the windows browser you can see this rating if you add the rating column to the browser. As soon as I change the rating in nightingale the rating in the metadata disappears. Best regards, Lupo

Technically, that file uses a POPM frame tied to the eMail "MusicBee", a play count of zero and a rating of 196/255.

Triggering a retag does not remove the POPM frame for me. Writing a rating sets the NIGHTINGALE-RATING frame properly, without affecting POPM. So far, everything works as expected.

Now the crazy part: the windows explorer displays the rating for "MusicBee" while the file is unaltered, while it displays no rating after a retag. Technically, the frames are unaltered, however, the frame order changed. That shouldn't cause the issue, though.

What's probably more important is that the new ID3 tag is of version 2.4 instead of 2.3. Windows Explorer does not properly handle ID3v2.4 tags according to multiple sources, even in Windows 8. Seems like Microsoft does not care for the "new" standard (which actually is quite old)... and that means that we cannot do anything about it.
Songbird/Nightingale Community Developer and German Translator
Find
Reply
Lupo Offline
Junior Member
**
Posts: 17
Threads: 4
Joined: Dec 2013
Reputation: 0
#14
03-06-2014, 02:12 AM (This post was last modified: 03-06-2014, 02:14 AM by Lupo.)
Thank you rsjtdrjgfuzkfg, roughly I understand. It's really strange and a pity that they cannot agree about a common standard! Please keep me informed if there is anything new in this matter. And one more question: is there an easy way to handle the ID3 tags with a program? E.g. take the ratings from XML file and put them into this 'email-field' or opposite?
Find
Reply
rsjtdrjgfuzkfg Offline
Developer
*******
Posts: 664
Threads: 15
Joined: Oct 2011
Reputation: 15
#15
03-06-2014, 09:00 AM
(03-06-2014, 02:12 AM)Lupo Wrote: And one more question: is there an easy way to handle the ID3 tags with a program?

Creating POPM tags from the nightingale-specific tags should be possible with tools like mp3tag. In that example, use a Tag-Tag rule for POPULARIMETER with
Code:
your@email|$if($eql($meta(NIGHTINGALE-RATING,0),1),1,$if($eql($meta(NIGHTINGALE-RATING,0),2),64,$if($eql($meta(NIGHTINGALE-RATING,0),3),128,$if($eql($meta(NIGHTINGALE-RATING,0),4),196,$if($eql($meta(NIGHTINGALE-RATING,0),5),255,0)))))
and replace your@email with your actual eMail address or some generic name. However I'm not fully sure if that works properly as I don't have any tool reading that field according to the standard.

Some time ago, fcastillo wrote that he has written some scripts doing what you want:
(11-30-2012, 05:59 AM)fcastillo Wrote: I've created scripts in python to be able to read all the info stored into Songbird "ratings" and write them into the POPM field.
However he did not publish them. He was interested in implementing POPM properly, but I haven't heared from him in a while.
Songbird/Nightingale Community Developer and German Translator
Find
Reply
Lupo Offline
Junior Member
**
Posts: 17
Threads: 4
Joined: Dec 2013
Reputation: 0
#16
03-06-2014, 05:52 PM
Thank you very much. I will try it when I find some time.
Find
Reply
« Next Oldest | Next Newest »
Pages (2): « Previous 1 2


  • View a Printable Version
  • Subscribe to this thread
Forum Jump:


Users browsing this thread: 1 Guest(s)
  • Return to Top
  • Lite (Archive) Mode
  • RSS Syndication
Current time: 08-12-2022, 12:46 AM Powered By MyBB, © 2002-2022 MyBB Group.
Design By AliReza_Tofighi In WhiteCrow Software Group.
white outlined nightingale project logo

Nightingale is free!
It is an Open Source project released under the terms of the GNU General Public License v2 (GPL v2).
For more details, please read the license information.

Follow us!
f  g  t

Support
  • Community Forum
  • Official Blog
  • Add-ons
  • Wiki
  • Help Forum
Contribute
  • Developer's Center
  • Translate Nightingale
  • Source Code
  • Report a Bug
Ressources
  • Download Nightingale
Linear Mode
Threaded Mode