• 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): 1 2 Next »
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Thread Modes
Store ratings into ID3
Lupo Offline
Junior Member
**
Posts: 17
Threads: 4
Joined: Dec 2013
Reputation: 0
#1
03-02-2014, 09:24 AM
The ratings in nightingale normally are only stored in the nightingale database.
In order to use the ratings also with other music players the rating should be stored in the ID3 tagging of the musicfile itself. Generally this is possible.
But does anybody know a way to export and / or import the nightingale ratings automatically to / from the ID3 tagging?
I know that it is possible to export / import the ratings to / from an XML file. But then the problem is how to import / export this file on the other side. The best way would be if both sides use the rating in the ID3 tagging.
Any idea? Huh
Find
Reply
Ezekiel000 Offline
Moderator
*****
Posts: 100
Threads: 5
Joined: Sep 2010
Reputation: 2
#2
03-02-2014, 06:34 PM
There is an option to write the ratings to the metadata (ID3/Ogg comments) in:
Nightingale Preferences -> Playback -> Ratings Metadata -> tick the box
Although I think it will only write the metadata for already rated song once you play them but I could be wrong.
Find
Reply
Lupo Offline
Junior Member
**
Posts: 17
Threads: 4
Joined: Dec 2013
Reputation: 0
#3
03-02-2014, 06:48 PM (This post was last modified: 03-02-2014, 07:08 PM by Lupo.)
Thank you for the hint Ezekiel. I tried it, but unfortunately it does not work at all (I tested already rated, not yet rated, currently playing). My OS is Windows7. Any idea? I just found out that even the opposite happens: when I modify the rating of a song in Nightingale it completely deletes the rating in the ID3 metadata, even if it was stored there before!
Find
Reply
Ezekiel000 Offline
Moderator
*****
Posts: 100
Threads: 5
Joined: Sep 2010
Reputation: 2
#4
03-02-2014, 06:58 PM (This post was last modified: 03-02-2014, 06:58 PM by Ezekiel000.)
It works for me so I'm not sure what's going wrong on your setup, maybe one of the devs can help.
Find
Reply
Lupo Offline
Junior Member
**
Posts: 17
Threads: 4
Joined: Dec 2013
Reputation: 0
#5
03-02-2014, 07:08 PM (This post was last modified: 03-02-2014, 07:09 PM by Lupo.)
Thank you again. Would be nice if somebody could care!
Find
Reply
Ezekiel000 Offline
Moderator
*****
Posts: 100
Threads: 5
Joined: Sep 2010
Reputation: 2
#6
03-02-2014, 08:40 PM
Not sure if this will help but here is what I know:
- Nightingale writes or updates the metadata when a file has finished playing or when you edit it in the metadata editor.
- I only have vorbis ogg files so I can't say if the rating tags work on mp3 tags (it should but maybe broken).
- If your mp3's only have id3v1 tags then you can't have non-standard tags like rating (I don't know if nightingale will add id3v2+ tag if needed).
Find
Reply
Lupo Offline
Junior Member
**
Posts: 17
Threads: 4
Joined: Dec 2013
Reputation: 0
#7
03-02-2014, 09:07 PM
- Both do not work: after playing and after editing the metadata editor. Except that it erases the rating in the metadata when there was one.
- I have mp3, maybe there is the bug.
- I don't know the id3 version but I can see the rating in the metadata and with another program I can change it.
Find
Reply
rsjtdrjgfuzkfg Offline
Developer
*******
Posts: 664
Threads: 15
Joined: Oct 2011
Reputation: 15
#8
03-03-2014, 12:40 AM (This post was last modified: 03-03-2014, 12:41 AM by rsjtdrjgfuzkfg.)
(03-02-2014, 09:24 AM)Lupo Wrote: The ratings in nightingale normally are only stored in the nightingale database.
In order to use the ratings also with other music players the rating should be stored in the ID3 tagging of the musicfile itself. Generally this is possible.
But does anybody know a way to export and / or import the nightingale ratings automatically to / from the ID3 tagging?
I know that it is possible to export / import the ratings to / from an XML file. But then the problem is how to import / export this file on the other side. The best way would be if both sides use the rating in the ID3 tagging.

The ID3v2 Standard has no rating field. Whatever the graphical user interface of your other application displays to you, technically, there is no such field. Nightingale uses a nightingale-specific field for ratings, which won't appear in simple tag editors as it does not belong to any standard. However, this field should allow you to preserve rating information when migrating between computers or after reinstalling your OS - without the XML-based format which additionally covers play- and skip counts.

The ID3v2 Standard, however, contains a popularimeter field applications should use for rating information. This is a better option in regards to ID3v2,. but is not implemented in Nightingale for some technical reasons (implementing that affects multiple parts of the core and is not fully supported by the library we use for metadata reading and writing, at least in the version we currently use).

Note that the POPM field is user-specific, so to use it properly users would have to specify an eMail address before the field can be used. Most media players thus replace the eMail with the application's name, making the field unuseable for other players. Additionally, the standard uses another rating format for ratings (1 to 255 "Stars" and allowing an "unset" state), we'd need to discuss the mapping to Nightingale stars first. If you're wishing some more technical info, here's a excerpt from the standard doc:

ID3v2 Standard Wrote:[The POPM frame] contains the email address to the user, one rating byte and a four byte play counter, intended to be increased with one for every time the file is played. The email is a terminated string. The rating is 1-255 where 1 is worst and 255 is best. 0 is unknown. If no personal counter is wanted it may be omitted. [...] There may be more than one "POPM" frame in each tag, but only one with the same email address.

With that technical stuff done, Nightingale should not delete third party ratings. Could you rate a cc-licensed or public domain song with the third party application you used and upload it somewhere, so we can reproduce the issue?
Songbird/Nightingale Community Developer and German Translator
Find
Reply
Lupo Offline
Junior Member
**
Posts: 17
Threads: 4
Joined: Dec 2013
Reputation: 0
#9
03-03-2014, 02:45 AM (This post was last modified: 03-03-2014, 02:48 AM by Lupo.)
Thank you very much! I did not understand all but I will read it again.
I think if nightingale is able to erase the field it also might be able to fill it?
One can also see this field in the windows explorer if you add it to the browser.
Anyway I can send you a music file with the rating in the metadata.
Can you suggest a url or give me an email address for this?
You can use my email address that was stored when I registered.
Find
Reply
freaktechnik Offline
CCO (Chief Crashing Officer)
*******
Posts: 498
Threads: 24
Joined: Sep 2010
Reputation: 11
#10
03-03-2014, 03:05 AM
As it stands nightingale implements no standard in storing ratings, so the POPM field is not implemented.
Nightingale fills its own field for ratings and tries to import some common ones. But it shouldn't erase existing fields.
freaktechnik
Website Find
Reply
« Next Oldest | Next Newest »
Pages (2): 1 2 Next »


  • 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-11-2022, 11:45 PM 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