Page 1 of 5

Adding CUE support

Posted: Tue Dec 13, 2011 3:38 pm
by anonbeat
I just commited one of the patches to add full cue support. Right now cue support is read only and allow to save separate tracks copy to portable devices or collections using the Copy to function as with any other file.
This was the most voted requested feature in the ideatorrent so Im trying to implement it.
Please let me know any bug report.

What is missing :
* Save back to the cue the edits of the tags
* Find more places where tags should not be write to the cue audio file


I would like to receive some .cue files to see how they are built to try to add support for it.
Please send them to anonbeat at gmail dot com

Thanks in advance

Adding CUE support

Posted: Wed Jan 04, 2012 8:58 am
by anonbeat
Please I need more help testing the cue support. Anyone?

Adding CUE support

Posted: Wed Jan 04, 2012 4:07 pm
by tamalet
I made a test with the only cue file that I have, it's for a flac file. I found some problems:

1. Even when the CUE contains "REM GENRE Classical", the genre is set to Unknown.
2. You cannot edit the tracks with the Song Editor. This is probably because you haven't implemented saving back yet.
3. If you click on a track to play it, it works fine. But if you drag and drop it, it shows the name of the first track of the CUE.
4. I tried copying one of the files but it didn't work. The console says:

07:46:23 PM: Error: Impossible to get permissions for file '' (error 2: No such file or directory)
07:46:23 PM: Could not copy the cover /media/media/musica/Unknown/Gaetano Nasillo, Luca Guglielmi, Sara Bennici/2010 - Caldara - Sonate a Violoncello Solo/

I have no permissions problem since I can copy other files.
If you want the flac let me know. It's quite large, 385MB, so I would have to upload it somewhere.

Adding CUE support

Posted: Wed Jan 04, 2012 4:12 pm
by anonbeat
Thanks I will try to figure out that problems.

Thanks for your help

Adding CUE support

Posted: Wed Jan 04, 2012 4:43 pm
by tamalet
Another one: if you play a part, when it reaches the end it doesn't stop, it continues playing the next while the elapse time slider stays at the end and the time can show something like 04:52 / 03:16.

Adding CUE support

Posted: Thu Jan 05, 2012 12:49 am
by anonbeat
tamalet wrote:I made a test with the only cue file that I have, it's for a flac file. I found some problems:

1. Even when the CUE contains "REM GENRE Classical", the genre is set to Unknown.
2. You cannot edit the tracks with the Song Editor. This is probably because you haven't implemented saving back yet.
3. If you click on a track to play it, it works fine. But if you drag and drop it, it shows the name of the first track of the CUE.
4. I tried copying one of the files but it didn't work. The console says:

07:46:23 PM: Error: Impossible to get permissions for file '' (error 2: No such file or directory)
07:46:23 PM: Could not copy the cover /media/media/musica/Unknown/Gaetano Nasillo, Luca Guglielmi, Sara Bennici/2010 - Caldara - Sonate a Violoncello Solo/

I have no permissions problem since I can copy other files.
If you want the flac let me know. It's quite large, 385MB, so I would have to upload it somewhere.
1.- Fixed
2.- Yeah edit via track editor is disabled for cue tracks while I dont add the feature to write back to the cue the tags
3.- Drag and drop is done as dragging files. Need to add a new format for this tracks. I will try to add it asap
4.- What options do you used to try to copy ? there are many ways to copy so I dont know exactly what you tried.

About the end of track I tried to reproduce the problem but couldnt. Can you give me your crossfader and force gapless settings please ?

Thank you very much for your help

Adding CUE support

Posted: Thu Jan 05, 2012 1:10 am
by anonbeat
Please try now with revision 1730

Thanks for your help

Adding CUE support

Posted: Thu Jan 05, 2012 5:43 am
by tamalet
1. It works and also Album Artists are recognized now. Thanks!
2&3. OK
4. I used a patter similar to Default. I'm at work now and here I tried with the default one. Here I don't get the permission message. It creates the directory and copies the cover but there is no music file.
09:33:53: Indicators_Sound_Available() => 1
09:33:53: Indicators_Sound_IsBlacklisted() => 0
[Thread 0xacfdfb70 (LWP 4559) exited]
[New Thread 0xacfdfb70 (LWP 4626)]
09:34:06: Using pattern '{g}/{A}/{b}/{n} - {a} - {t}'
09:34:06: guCopyToDeviceThread::TranscodeFile
Source: '/home/tamalet/Music/Classical/Antonio Caldara/Sonate à Violoncello Solo/Caldara - Sonate a Violoncello Solo.flac'
Target: '/home/tamalet/Music/Classical/Gaetano Nasillo, Luca Guglielmi, Sara Bennici/Caldara - Sonate a Violoncello Solo/17 - Gaetano Nasillo, Luca Guglielmi, Sara Bennici - II. Allegro'
Format: 3
Quality: 0
09:34:06: Transcode 3 - 0 '/home/tamalet/Music/Classical/Antonio Caldara/Sonate à Violoncello Solo/Caldara - Sonate a Violoncello Solo.flac' => '/home/tamalet/Music/Classical/Gaetano Nasillo, Luca Guglielmi, Sara Bennici/Caldara - Sonate a Violoncello Solo/17 - Gaetano Nasillo, Luca Guglielmi, Sara Bennici - II. Allegro.flac'
:::: 2156453 => 127413
09:34:06: guTranscodeThread::BuildPipelineWithOffset
[New Thread 0xb7c12b70 (LWP 4627)]
09:34:06: Transcode 3 - 0 '/home/tamalet/Music/Classical/Antonio Caldara/Sonate à Violoncello Solo/Caldara - Sonate a Violoncello Solo.flac' => '/home/tamalet/Music/Classical/Gaetano Nasillo, Luca Guglielmi, Sara Bennici/Caldara - Sonate a Violoncello Solo/17 - Gaetano Nasillo, Luca Guglielmi, Sara Bennici - II. Allegro.flac'
:::: 2156453 => 127413
09:34:06: guTranscodeThread::BuildPipelineWithOffset
[New Thread 0xac7deb70 (LWP 4628)]
09:34:06: Transcode 3 - 0 '/home/tamalet/Music/Classical/Antonio Caldara/Sonate à Violoncello Solo/Caldara - Sonate a Violoncello Solo.flac' => '/home/tamalet/Music/Classical/Gaetano Nasillo, Luca Guglielmi, Sara Bennici/Caldara - Sonate a Violoncello Solo/17 - Gaetano Nasillo, Luca Guglielmi, Sara Bennici - II. Allegro.flac'
:::: 2156453 => 127413
09:34:06: guTranscodeThread::BuildPipelineWithOffset
[Thread 0xb7c12b70 (LWP 4627) exited]
[New Thread 0xb60ffb70 (LWP 4629)]
09:34:06: OnCollectionCommand 13114 0 14 0
[Thread 0xac7deb70 (LWP 4628) exited]
[New Thread 0xb7c12b70 (LWP 4630)]
[Thread 0xb60ffb70 (LWP 4629) exited]
09:34:06: Doing Library Update in /home/tamalet/Music
[New Thread 0xb60ffb70 (LWP 4631)]
[Thread 0xb7c12b70 (LWP 4630) exited]
09:34:08: ReloadControls...0000041C
[Thread 0xb60ffb70 (LWP 4631) exited]
[Thread 0xacfdfb70 (LWP 4626) exited]

5. I cannot reproduce the problem with the end of the track here. I'll check again at home later.

Adding CUE support

Posted: Thu Jan 05, 2012 6:00 am
by anonbeat
Can you check if you have the gnonlin gstreamer components ?
gst-inspect-0.10 | grep gnl

If no please install gstreamer0.10-gnonlin

Thanks

Adding CUE support

Posted: Thu Jan 05, 2012 7:07 am
by tamalet
I didn't have it installed. I installed it and now it creates the files, but they are empty.
[New Thread 0xb58e5b70 (LWP 7859)]
11:04:41: Using pattern '{g}/{A}/{b}/{n} - {a} - {t}'
11:04:41: guCopyToDeviceThread::TranscodeFile
Source: '/home/tamalet/Music/Classical/Antonio Caldara/Sonate à Violoncello Solo/Caldara - Sonate a Violoncello Solo.flac'
Target: '/home/tamalet/Music/Classical/Gaetano Nasillo, Luca Guglielmi, Sara Bennici/Caldara - Sonate a Violoncello Solo/11 - Gaetano Nasillo, Luca Guglielmi, Sara Bennici - III. Largo'
Format: 3
Quality: 0
11:04:41: Transcode 3 - 0 '/home/tamalet/Music/Classical/Antonio Caldara/Sonate à Violoncello Solo/Caldara - Sonate a Violoncello Solo.flac' => '/home/tamalet/Music/Classical/Gaetano Nasillo, Luca Guglielmi, Sara Bennici/Caldara - Sonate a Violoncello Solo/11 - Gaetano Nasillo, Luca Guglielmi, Sara Bennici - III. Largo.flac'
:::: 1347293 => 98013
11:04:41: guTranscodeThread::BuildPipelineWithOffset

(guayadeque:7831): GLib-GObject-WARNING **: g_object_notify: object class `GstFlacEnc' has no property named `loose_mid_side'
11:04:41: Converting from -1326730944 to 313
[New Thread 0xb7c12b70 (LWP 7860)]
[New Thread 0xb50e4b70 (LWP 7861)]
[New Thread 0xb60e6b70 (LWP 7862)]
11:04:41: Linked composer and converter...
11:04:41: Error: Transcode gstreamer error 'GStreamer encountered a general stream error.'
'gstbaseparse.c(2695): gst_base_parse_loop (): /GstPipeline:guTransPipeline/GnlComposition:guComposition/GnlFileSource:guTransSource/GstURIDecodeBin:internal-uridecodebin/GstDecodeBin2:decodebin23/GstFlacParse:flacparse3:
streaming stopped, reason error'
TagLib: FLAC::File::scan() -- FLAC stream not found
TagLib: FileRef::save() - Called without a valid file.
11:04:41: Warning: Tags Save failed for file '/home/tamalet/Music/Classical/Gaetano Nasillo, Luca Guglielmi, Sara Bennici/Caldara - Sonate a Violoncello Solo/11 - Gaetano Nasillo, Luca Guglielmi, Sara Bennici - III. Largo.flac'
[Thread 0xb60e6b70 (LWP 7862) exited]
[Thread 0xb7c12b70 (LWP 7860) exited]
11:04:42: Transcode 3 - 0 '/home/tamalet/Music/Classical/Antonio Caldara/Sonate à Violoncello Solo/Caldara - Sonate a Violoncello Solo.flac' => '/home/tamalet/Music/Classical/Gaetano Nasillo, Luca Guglielmi, Sara Bennici/Caldara - Sonate a Violoncello Solo/11 - Gaetano Nasillo, Luca Guglielmi, Sara Bennici - III. Largo.flac'
:::: 1347293 => 98013
11:04:42: guTranscodeThread::BuildPipelineWithOffset

(guayadeque:7831): GLib-GObject-WARNING **: g_object_notify: object class `GstFlacEnc' has no property named `loose_mid_side'
11:04:42: Converting from -1326730944 to 313
[New Thread 0xb7c12b70 (LWP 7863)]
[New Thread 0xb60e6b70 (LWP 7864)]
11:04:42: Linked composer and converter...
11:04:42: Error: Transcode gstreamer error 'GStreamer encountered a general stream error.'
'gstbaseparse.c(2695): gst_base_parse_loop (): /GstPipeline:guTransPipeline/GnlComposition:guComposition/GnlFileSource:guTransSource/GstURIDecodeBin:internal-uridecodebin/GstDecodeBin2:decodebin24/GstFlacParse:flacparse4:
streaming stopped, reason error'
TagLib: FLAC::File::scan() -- FLAC stream not found
TagLib: FileRef::save() - Called without a valid file.
11:04:42: Warning: Tags Save failed for file '/home/tamalet/Music/Classical/Gaetano Nasillo, Luca Guglielmi, Sara Bennici/Caldara - Sonate a Violoncello Solo/11 - Gaetano Nasillo, Luca Guglielmi, Sara Bennici - III. Largo.flac'
[Thread 0xb60e6b70 (LWP 7864) exited]
[Thread 0xb7c12b70 (LWP 7863) exited]
11:04:43: Transcode 3 - 0 '/home/tamalet/Music/Classical/Antonio Caldara/Sonate à Violoncello Solo/Caldara - Sonate a Violoncello Solo.flac' => '/home/tamalet/Music/Classical/Gaetano Nasillo, Luca Guglielmi, Sara Bennici/Caldara - Sonate a Violoncello Solo/11 - Gaetano Nasillo, Luca Guglielmi, Sara Bennici - III. Largo.flac'
:::: 1347293 => 98013
11:04:43: guTranscodeThread::BuildPipelineWithOffset

(guayadeque:7831): GLib-GObject-WARNING **: g_object_notify: object class `GstFlacEnc' has no property named `loose_mid_side'
11:04:43: Converting from -1326730944 to 313
[New Thread 0xb7c12b70 (LWP 7865)]
[New Thread 0xb60e6b70 (LWP 7866)]
11:04:43: Linked composer and converter...
11:04:43: Error: Transcode gstreamer error 'GStreamer encountered a general stream error.'
'gstbaseparse.c(2695): gst_base_parse_loop (): /GstPipeline:guTransPipeline/GnlComposition:guComposition/GnlFileSource:guTransSource/GstURIDecodeBin:internal-uridecodebin/GstDecodeBin2:decodebin25/GstFlacParse:flacparse5:
streaming stopped, reason error'
TagLib: FLAC::File::scan() -- FLAC stream not found
TagLib: FileRef::save() - Called without a valid file.
11:04:43: Warning: Tags Save failed for file '/home/tamalet/Music/Classical/Gaetano Nasillo, Luca Guglielmi, Sara Bennici/Caldara - Sonate a Violoncello Solo/11 - Gaetano Nasillo, Luca Guglielmi, Sara Bennici - III. Largo.flac'
[Thread 0xb60e6b70 (LWP 7866) exited]
[Thread 0xb7c12b70 (LWP 7865) exited]
11:04:44: OnCollectionCommand 13114 0 14 0
[New Thread 0xb7c12b70 (LWP 7867)]
11:04:44: Doing Library Update in /home/tamalet/Music
TagLib: FLAC::File::scan() -- FLAC stream not found
11:04:46: Error: Cant read tags from '/home/tamalet/Music/Classical/Gaetano Nasillo, Luca Guglielmi, Sara Bennici/Caldara - Sonate a Violoncello Solo/11 - Gaetano Nasillo, Luca Guglielmi, Sara Bennici - III. Largo.flac'
TagLib: FLAC::File::scan() -- FLAC stream not found
11:04:46: Error: Cant read tags from '/home/tamalet/Music/Classical/Gaetano Nasillo, Luca Guglielmi, Sara Bennici/Caldara - Sonate a Violoncello Solo/03 - Gaetano Nasillo, Luca Guglielmi, Sara Bennici - III. Adagio.flac'
[New Thread 0xb60e6b70 (LWP 7868)]
[Thread 0xb7c12b70 (LWP 7867) exited]
11:04:47: ReloadControls...0000041C
[Thread 0xb60e6b70 (LWP 7868) exited]