Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


Tag view issues - help requested!
#11
(10-31-2022, 12:58 PM)Nutul Wrote:
(10-31-2022, 12:53 PM)Tim Curtis Wrote:
(10-31-2022, 12:46 PM)Nutul Wrote:
(10-31-2022, 11:39 AM)Tim Curtis Wrote: The easiest is to just zip up a few files that exhibit the issue and PM a download link to the id's mentioned in @Nutul 's post.

@Tim Curtis

this resembles the problem I am facing with my flacs, when I do not have any .cue associated with them... I have looked into what MPD produces as a library file, and see no reference to those files, just the .cue's in the form /some/path/to/some/file.cue/track0001 etc. no evidence of /some/path/to/some/file.flac, for instance.
Did we update mpd, and it now behaves slightly different? (just suppositions)


Cheers, Al.

IIRC I was not able to repro that issue but I can certainly re-test.

I have the cue test files you provided a while back. What do I need to do to try and repro?

Just remove the .cue, leaving just the .flac(s) files in the folder...
(you could also play around with "Ignore Cue files" ON / OFF, although I saw no difference)

result:

the .flac files (or their metadata) won't show up in neither view (folder / album / tag)


Cheers, Al.

I was able to repro "the flac files won't show up" issue after removing the .cue and regenerating the library. What I did as a work around was to remove/reinsert USB drive, restart MPD and then regenerate the library. After that no issues. This seems like some sort of MPD bug.

As far as whats going on when the .cue is removed has to do with the fact that the .flac files have no track number defined and this is correct since the track info is in the .cue file. I'd consider the scenario where a .cue file is missing to be broken cue/flac. The fix would be to create or restore the .cue file.

With the .cue
       

Without the .cue there is breakage
         

Here's the code in scripts-library.js that tests track number to avoid printing bogus album headers for cue/flac.

Code:
       // For cue format omit the audio file which otherwise will show up as a bogus album header.
       // Typically the audio file in cue format will not have a track number since it's considered to be the whole album.
       var cueFormats = ['flac', 'wav', 'aiff'];
       var file0Ext = filteredSongs[0].file.substring(filteredSongs[0].file.lastIndexOf('.') + 1, filteredSongs[0].file.length);
       if ($.inArray(file0Ext, cueFormats) != -1 && filteredSongs[0].tracknum == '') {
           filteredSongs.shift();
       }
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#12
(10-31-2022, 03:02 PM)Tim Curtis Wrote: I was able to repro "the flac files won't show up" issue after removing the .cue and regenerating the library. What I did as a work around was to remove/reinsert USB drive, restart MPD and then regenerate the library. After that no issues. This seems like some sort of MPD bug.

Hmm, I'll try that too...

I wanted indeed to test the code for the bogus file showing up, because it's too specific, IMO, but then got into the bug above... ;-)

So, maybe the OP needs to try the same workaround?


Cheers, Al.
Reply
#13
(10-31-2022, 11:39 AM)Tim Curtis Wrote: The easiest is to just zip up a few files that exhibit the issue and PM a download link to the id's mentioned in @Nutul 's post.

Would using Dropbox be OK? The zipped files are each over 800Mb!
Reply
#14
(10-31-2022, 04:08 PM)5-pot-fan Wrote:
(10-31-2022, 11:39 AM)Tim Curtis Wrote: The easiest is to just zip up a few files that exhibit the issue and PM a download link to the id's mentioned in @Nutul 's post.

Would using Dropbox be OK? The zipped files are each over 800Mb!

What kind of files are they?
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#15
(10-31-2022, 04:51 PM)Tim Curtis Wrote:
(10-31-2022, 04:08 PM)5-pot-fan Wrote:
(10-31-2022, 11:39 AM)Tim Curtis Wrote: The easiest is to just zip up a few files that exhibit the issue and PM a download link to the id's mentioned in @Nutul 's post.

Would using Dropbox be OK? The zipped files are each over 800Mb!

What kind of files are they?

The original files are all .WAV, as produced by Audacity. The sizes are in the region of 1 - 2Gb. When compressed with 7-Zip (for example) they are not much smaller - perhaps 50% reduction despite the program saying it has achieved aprox 90% compression ratio. I would be happy to try another approach if you can suggest one.
I realise I could convert all the wav files to flac and only use those, but as they worked in 8.0.2 I am now wondering if there is an MPD-related issue.
Thanks
Reply
#16
Why are they so large? Are they whole LP rips or something like that?

Your best bet is to post the output from mediainfo for one of the files. This will show the tags. Here is an example from one of the files in my previous posts.

Code:
pi@moode:~ $ mediainfo "/media/VFAT4/cue-test-nutul/Jimmy Van M/Bedrock/Jimmy Van M - Bedrock - disc 1.flac"
General
Complete name                            : /media/VFAT4/cue-test-nutul/Jimmy Van M/Bedrock/Jimmy Van M - Bedrock - disc 1.flac
Format                                   : FLAC
Format/Info                              : Free Lossless Audio Codec
File size                                : 466 MiB
Duration                                 : 1 h 4 min
Overall bit rate mode                    : Variable
Overall bit rate                         : 1 004 kb/s
Album                                    : Bedrock
Part                                     : 01
Part/Total                               : 02
Track name                               : Bedrock - disc 1
Performer                                : Jimmy Van M
Genre                                    : Progressive House
Recorded date                            : 2001
Cover                                    : Yes
Cover type                               : Cover (front)
Cover MIME                               : image/jpeg
Comment                                  : Compilation

Audio
Format                                   : FLAC
Format/Info                              : Free Lossless Audio Codec
Duration                                 : 1 h 4 min
Bit rate mode                            : Variable
Bit rate                                 : 1 004 kb/s
Channel(s)                               : 2 channels
Channel layout                           : L R
Sampling rate                            : 44.1 kHz
Bit depth                                : 16 bits
Compression mode                         : Lossless
Stream size                              : 465 MiB (100%)
Writing library                          : libFLAC 1.2.1 (UTC 2007-09-17)
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#17
(10-31-2022, 05:04 PM)5-pot-fan Wrote:
(10-31-2022, 04:51 PM)Tim Curtis Wrote:
(10-31-2022, 04:08 PM)5-pot-fan Wrote:
(10-31-2022, 11:39 AM)Tim Curtis Wrote: The easiest is to just zip up a few files that exhibit the issue and PM a download link to the id's mentioned in @Nutul 's post.

Would using Dropbox be OK? The zipped files are each over 800Mb!

What kind of files are they?

The original files are all .WAV, as produced by Audacity. The sizes are in the region of 1 - 2Gb. When compressed with 7-Zip (for example) they are not much smaller - perhaps 50% reduction despite the program saying it has achieved aprox 90% compression ratio. I would be happy to try another approach if you can suggest one.
I realise I could convert all the wav files to flac and only use those, but as they worked in 8.0.2 I am now wondering if there is an MPD-related issue.
Thanks
I'm genuinely curious - why use WAV files at all, instead of FLAC?  It would seem to be a win-win; better tag support, less space used, faster to copy between devices etc.  Is there a downside?
Reply
#18
(10-31-2022, 05:16 PM)Tim Curtis Wrote: Why are they so large? Are they whole LP rips or something like that?

Your best bet is to post the output from mediainfo for one of the files. This will show the tags. Here is an example from one of the files in my previous posts.

Code:
pi@moode:~ $ mediainfo "/media/VFAT4/cue-test-nutul/Jimmy Van M/Bedrock/Jimmy Van M - Bedrock - disc 1.flac"
General
Complete name                            : /media/VFAT4/cue-test-nutul/Jimmy Van M/Bedrock/Jimmy Van M - Bedrock - disc 1.flac
Format                                   : FLAC
Format/Info                              : Free Lossless Audio Codec
File size                                : 466 MiB
Duration                                 : 1 h 4 min
Overall bit rate mode                    : Variable
Overall bit rate                         : 1 004 kb/s
Album                                    : Bedrock
Part                                     : 01
Part/Total                               : 02
Track name                               : Bedrock - disc 1
Performer                                : Jimmy Van M
Genre                                    : Progressive House
Recorded date                            : 2001
Cover                                    : Yes
Cover type                               : Cover (front)
Cover MIME                               : image/jpeg
Comment                                  : Compilation

Audio
Format                                   : FLAC
Format/Info                              : Free Lossless Audio Codec
Duration                                 : 1 h 4 min
Bit rate mode                            : Variable
Bit rate                                 : 1 004 kb/s
Channel(s)                               : 2 channels
Channel layout                           : L R
Sampling rate                            : 44.1 kHz
Bit depth                                : 16 bits
Compression mode                         : Lossless
Stream size                              : 465 MiB (100%)
Writing library                          : libFLAC 1.2.1 (UTC 2007-09-17)

eventually, to save some room you can convert them to FLAC, (zipping them doesn't lead you anywhere, for this reason we have other "compression algorithms for audio...") send them over, then we can reconvert them to wav (flac is lossless) BUT we'll need to know EXACTLY what kind of tag you had in the files (e.g. ID3v1.1 / ID3v2.1 etc. etc.)

Cheers, Al
Reply
#19
Thanks for the various replies and suggestions.
The files I referred to are all complete albums, hence their size.
I could convert them to Flac, BUT they have all been working fine up to and including Moode 8.0.2, so my enquiry is really "What has changed", rather than what is the best way to organise my music.
I will put 8.2.2 back into play and see if I have some singles or much shorter tracks in .wav that are not working under this version and get them uploaded (if they are small).
Additionally I will find out how to get the 'mediainfo' details referred to above. I am not comfortable using Linux commands but can access via SSH so will see what I can learn. I have a Windows product named ''mediainfo'' but this does not seem to show tags, and I assume these are where the issues lie.
I will post back when I have more data, or if I get completely lost.
Reply
#20
(11-01-2022, 07:41 AM)5-pot-fan Wrote: Thanks for the various replies and suggestions.
The files I referred to are all complete albums, hence their size.
I could convert them to Flac, BUT they have all been...

my suggestion was exclusively oriented at having them compressed, for ease of sharing; the idea was, of course, to convert them back to wav on our side to reproduce the issue; hence the request about the EXACT type of the tags used, and their EXACT content.
Reply


Forum Jump: