Comments (8)
Discogs Database Guidelines explicitly say this :
Sub tracks, for example, DJ mixes that comprise one track on a CD: Separate songs or tunes that are rolled into one track on a CD, LP, etc., should be listed using a point and then a number: 1, 2, 3.1, 3.2, 3.3, 4,… Letters can also be used, with or without a point: A3.a, A3.b or A3a, A3b,…
I should be able to use that, altogether with some other logic, to implement the desired behaviour for tracks like these. If an issue is reported with a release that doesn't follow the guidelines, we can point to them and suggest that the data should be corrected instead, not the implementation.
from dcue.
@kowalcj0 Sounds good. Hopefully I can start working on this this week.
from dcue.
Version 1.5 released.
from dcue.
I just tested --medley single
& --medley merge
and it works just great!
Thank you once again! 💪 💪 💪
from dcue.
Hi, thanks for the report.
This one is tricky because it seems like there are two ways to express medleys/hidden tracks/subtracks on Discogs. I don't have a lot of these myself, and the only one I could think of was https://www.discogs.com/release/374278-Pink-Floyd-Atom-Heart-Mother which uses index tracks to assign sub-names to the actual track on the CD. The release info JSON for those tracks is :
{
"position": "",
"type_": "index",
"title": "Alan's Psychedelic Breakfast",
"duration": "13:01",
"sub_tracks": [
{
"position": "5a",
"type_": "track",
"title": "Rise And Shine",
"duration": ""
},
{
"position": "5b",
"type_": "track",
"title": "Sunny Side Up",
"duration": ""
},
{
"position": "5c",
"type_": "track",
"title": "Morning Glory",
"duration": ""
}
]
}
However, DCue handles this (easier) case incorrectly as well, as the generated CUE lacks the index tracks - which, to be honest, is even worse because the program silently generates bad data instead of just quitting :
REM GENRE Psychedelic Rock
REM DATE 1987
REM COMMENT "DCue v1.5dev"
PERFORMER "Pink Floyd"
TITLE "Atom Heart Mother"
FILE "ahm.flac" WAVE
TRACK 01 AUDIO
TITLE "If"
PERFORMER "Pink Floyd"
INDEX 01 00:00:00
TRACK 02 AUDIO
TITLE "Summer '68"
PERFORMER "Pink Floyd"
INDEX 01 04:31:00
TRACK 03 AUDIO
TITLE "Fat Old Sun"
PERFORMER "Pink Floyd"
INDEX 01 09:59:00
So, hey, you unknowingly helped uncover another bug! 😅
Your case is more difficult because those two tracks are completely unrelated to each other and it could potentially be hard for the program to link those two together unless it, for example, assumes that a track without specified duration means that its duration was included in a previously defined track. Or, in case there is a rule which says that Discogs releases must use a defined numbering scheme like 1A, 1B, etc - we could use that. I'll have to look into the rules to find out.
Lastly - what would you expect the resulting CUE to be? We can't really insert this track into the CUE as we'd need a duration. Concatenating the artist and titles is the only thing that comes to mind, so perhaps something like this?
TRACK 01 AUDIO
TITLE "Desire (Dub Mix) / The Flying Song (Acapella)"
PERFORMER "Memnon Featuring Seroya / PQM Featuring Cica"
INDEX 01 00:00:00
Will get horrible with longer sequences, though. Perhaps this should be a commandline option.
Let me know what you think.
from dcue.
Hi @xavery
Thank you for a great and prompt response and sorry for my late reply.
Maybe the application's behaviour doesn't have to be implicit?
If a hidden/medley track was detected, then the dcue could show an error message prompting user to decide what to do, e.g. Track number 5 has 3 sub-tracks (sometimes called hidden or medley tracks). You can merge metadata of those sub-tracks into the parent track with --merge-sub-tracks or decide to use only the parent track metadata with --discard-sub-tracks
?
What do you think?
from dcue.
@kowalcj0 Looks like the end is near, I should be merging the whole MR this week and making a new release as this is a rather large change which warrants a new release IMHO.
from dcue.
Thank you @xavery
Will give it a go soon!
from dcue.
Related Issues (11)
- Old to-do list
- Release 5984091 is recognised as having two CDs with --index separate
- Question mark is not replaced in CUE file names despite working with a two-disc release
- Building on macOS - help needed HOT 1
- Medley sequences are not detected correctly when parsing r3446241
- Asian characters are not properly set HOT 3
- Add factor for inter-track gaps HOT 2
- CMake Unknown arguments specified HOT 9
- Missing Artist Elements (e.g. "Feat.") HOT 7
- Access denied HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dcue.