Notes |
(0000225)
SuperMMX (developer)
05-07-10 05:08
|
I have implemented this CUE plugin, and I will submit when fully finished and tested.
In my implementation, there are some assumptions. In the CUE plugin,
some extra properties are added to the entry. and in the decoder plugin,
by checking these properties, the decoder would know whether current entry
is from a CUE or not, and seek to the correct position.
There are some minor modifications of the transport and medialib without
affecting the interface. |
|
(0000234)
tru (administrator)
05-07-10 20:16
|
I think we should use some kind of url entry parsing in the decoder.
like myfile.mp3+3000 or something like that so that we can add myfile.mp3+<offset> many times in the playlist. this can also be used for diffrent mediainfo in different offsets in the file (since it will be different entries in the medialib).
so the cue plugin could just add the files with different offsets, offsets should be in ms. |
|
(0000240)
SuperMMX (developer)
05-07-11 03:26
|
I don't think file+offset is a good idea, a file name such as a.mp3+c.mp3,
how the parser know which one, a.mp3 or c.mp3 is the user wanted. And another
thing need to consider, a.mp3+xxxx, the parser will parse it first to find out
the extension (MIME) to get the right decoder plugin, then when opening the file, need to parse it again, and when seeking to the right place, need to
parse it the 3rd time.
in my current implementation,
the URL is file#(subsong index), with some extra properties:
"subsong_index" equals to the actrual subsong_index in the CUE
"ref_url" equals to the FILE(aka, the actrual music file) in the CUE,
and "start_time" equals to the start time of the current track.
And in the transport, when openning the URL, it first check the ref_url
property, then the url. In the decoder plugin, only check 2 properties
to make sure that current entry is a subsong from a CUE, then seek to
the right place using "start_time" property.
Currently, i don't have CUE with MP3 files , so I tested with
Monkey's Audio Codec as the decoder plugin(also implemented by me),
it works as expected. |
|
(0000241)
SuperMMX (developer)
05-07-11 03:31
|
I have upload the cue plugin with some patches of other related files.
Please take a look :), Good Luck.
The implementation is not complete, but enough to test it.
and there will be some slightly modifications to the MP3 decoding to
test it. If possible, i can make it, but firstly, i have to
write a cue for a small MP3 :) |
|
(0000387)
SuperMMX (developer)
05-08-31 03:47
|
hi, tru, at most time, users just listen to TRACKs, so IMO, file.ext#track_number is enough in most circumstance. Normally track_number is greater than 1 and less than 99, and with file.ext#start_time, the start_time(ms) is 0 or something greater than 99.. So these two ways can be combined.
what do you think? |
|
(0000401)
SuperMMX (developer)
05-09-09 15:23
|
Another clean patch against xmms2-stable.
Please delete the first xmms2-cue.tar.gz. |
|
(0000406)
juhovh (developer)
05-09-09 23:33
|
xmms2-cue.tar.gz file deleted because requested. |
|
(0000407)
nano (manager)
05-09-10 02:41
|
magic.c changes should be replaced with the corresponding magic check xmms_plugin_magic_add, check for example ogg or mad for examples. |
|
(0000408)
SuperMMX (developer)
05-09-10 07:18
|
This is against the xmms2-stable git,
And also, I have resynced the latest xmms2-devel. but CUE files have
no magic with them. |
|
(0000425)
SuperMMX (developer)
05-09-25 05:25
|
please delete the old ones.
the new patch is against the latest xmms2-devel branch.
Thank you. |
|
(0001576)
tru (administrator)
06-12-14 22:33
|
I have added a cue sheet parser / plugin to my tree. it needs testing and before this is fully functional xmms2d needs to make use of startms and stopms arguments. |
|