-
Notifications
You must be signed in to change notification settings - Fork 92
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Use the track title instead the recoding title (MusicBrainz related) #192
Comments
I am assuming that this is for the track filename, is that correct? |
I need to check it again, but if I remember correctly, the 'recording title' for tagging, and the same title is later also used for the filename. Therefore, yes, it's also related to the filename. (Maybe I will solve the issue by myself, if I find some time in the coming days.) |
It's also a task for GCI, btw. So perhaps a student will pick it up. |
No problem. It should be easy to fix. Check also this PR #156. It was a quite similar task. |
Hello! I am a GCI student hoping to help out with this problem. In what specific section(s) of the code do you believe the problem is occurring in? |
Welcome! whipper/whipper/common/mbngs.py Line 250 in d5bf83e
😉 |
track.title = t.get('title', t['recording']['title']). Since if a track itself doesn't have a title then the track title is the same with the recording title. Otherwise, a track has its own title then t['title'] is different from t['recording']['title'] and whipper chooses t['title']. [Fixes whipper-team#192] Signed-off-by: ABCbum <kimlong221002@gmail.com>
* Enable whipper to use track title if possible track.title = t.get('title', t['recording']['title']). Since if a track itself doesn't have a title then the track title is the same with the recording title. Otherwise, a track has its own title then t['title'] is different from t['recording']['title'] and whipper chooses t['title']. [Fixes whipper-team#192] Signed-off-by: ABCbum <kimlong221002@gmail.com> * Add test case to check for track title Using an existing JSON release file Signed-off-by: ABCbum <kimlong221002@gmail.com> Signed-off-by: hydrian <ben.tyger@tygerclan.net>
Currently, whipper is using the recording title as "track title". However, this can be different from the correct track title.
This is similar to: #156
The text was updated successfully, but these errors were encountered: