Re: [slim] Should LMS read metadata from ID3v2.4?
Thanks for considering. :) My LMS on the other hand is running on an up-to-date Pi4. I just don't like to touch it. :) bvrulez's Profile: http://forums.slimdevices.com/member.php?userid=67251 View this thread: http://forums.slimdevices.com/showthread.php?t=115010 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] Should LMS read metadata from ID3v2.4?
bvrulez wrote: > Regarding eye3D, I was not able to run it with python3 directly. I don't > remember all the output but what I can reproduce is this. I am just > sharing for info. It is an old system with Lubuntu 16 and it does what > it needs to do without eye3D. Regardless, a new version of Audio::Scan (1.05), which should fix the ID3 v2.4 problem, is working its way into LMS. But I don't expect that it will ever become available for your outdated system. You'd need to build it yourself. mrw's Profile: http://forums.slimdevices.com/member.php?userid=38299 View this thread: http://forums.slimdevices.com/showthread.php?t=115010 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] Should LMS read metadata from ID3v2.4?
I wonder, why I did not get update emails for the last entries in this thread. Regarding the iPod Nano it seems that the artwork is handled by iTunes. I had huge problems updating the iPod with new/changed tracks up to the point where no track showed any artwork. I ended up using a fresh iTunes, dragging my folder into it (without copying) and then I successfully synched my iPod with all the tracks having all the artwork. So, probably iTunes checks for artwork, might aditionally download artwork that is missing (not the case with me) and then puts everything on the iPod the way the iPod needs it. Regarding eye3D, I was not able to run it with python3 directly. I don't remember all the output but what I can reproduce is this. I am just sharing for info. It is an old system with Lubuntu 16 and it does what it needs to do without eye3D. Code: $ pip3 install eyeD3 WARNING: pip is being invoked by an old script wrapper. This will fail in a future version of pip. Please see https://github.com/pypa/pip/issues/5599 for advice on fixing the underlying issue. To avoid this problem you can invoke Python with '-m pip' instead of running pip directly. DEPRECATION: Python 3.5 reached the end of its life on September 13th, 2020. Please upgrade your Python as Python 3.5 is no longer maintained. pip 21.0 will drop support for Python 3.5 in January 2021. pip 21.0 will remove support for this functionality. Defaulting to user installation because normal site-packages is not writeable Requirement already satisfied: eyeD3 in ./.local/lib/python3.5/site-packages (0.9.5) Requirement already satisfied: filetype in ./.local/lib/python3.5/site-packages (from eyeD3) (1.0.7) Requirement already satisfied: deprecation in ./.local/lib/python3.5/site-packages (from eyeD3) (2.1.0) Requirement already satisfied: dataclasses in ./.local/lib/python3.5/site-packages (from eyeD3) (0.6) Requirement already satisfied: packaging in ./.local/lib/python3.5/site-packages (from deprecation->eyeD3) (20.9) Requirement already satisfied: pyparsing>=2.0.2 in /usr/lib/python3/dist-packages (from packaging->deprecation->eyeD3) (2.0.3) ~ - 14:12:23 - ben - ZOTAC@192.168.100.91 Sa Sep 18 $ eyeD3 Traceback (most recent call last): File "/home/ben/.local/bin/eyeD3", line 5, in from eyed3.main import _main File "/home/ben/.local/lib/python3.5/site-packages/eyed3/__init__.py", line 31, in from .utils.log import log # noqa: E402 File "/home/ben/.local/lib/python3.5/site-packages/eyed3/utils/__init__.py", line 361 msg = f"invalid level choice: {level} (choose from {parser.log_levels})" ^ SyntaxError: invalid syntax bvrulez's Profile: http://forums.slimdevices.com/member.php?userid=67251 View this thread: http://forums.slimdevices.com/showthread.php?t=115010 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] Should LMS read metadata from ID3v2.4?
I've been running this version of audio scan for about a week on windows and linux without any issues so far. Should I submit a PR for 1.05 to lms-vendor and the windows lms audio scan module. Please submit PRs for whatever platform you can :-) ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] Should LMS read metadata from ID3v2.4?
mherger wrote: > >> https://github.com/andygrundman/Audio-Scan > > > > Should we continue to use the 'Audio-Scan repo in the lms-community > > github' (https://github.com/LMS-Community/Audio-Scan) then? > > Andy did merge a PR recently. Let's give him a try first. mrw wrote: > PR raised: > > https://github.com/andygrundman/Audio-Scan/pull/12 > > Differs slightly from my original effort - ID3 'synchsafe' integers are > in play. It's been nearly two weeks since the PR was submitted and no response from Andy yet. I've applied PR#12 to the 'LMS community audio scan repo' (https://github.com/LMS-Community/Audio-Scan/commits/master) along with a 'fix from Kimmo to dsd wavpack song length parsing' (https://github.com/andygrundman/Audio-Scan/issues/9) that seems to have been ignored and tagged it as Release 1.0.5. The zip/tarball can be downloaded from 'here' (https://github.com/LMS-Community/Audio-Scan/tags). I've been running this version of audio scan for about a week on windows and linux without any issues so far. Should I submit a PR for 1.05 to lms-vendor and the windows lms audio scan module. Ralphy *1*-Touch, *5*-Classics, *3*-Booms, *2*-UE Radio 'Squeezebox client builds' (https://sourceforge.net/projects/lmsclients/files/) 'donations' (https://www.paypal.com/cgi-bin/webscr?cmd=_donations=LL5P6365KQEXN=CA_name=Squeezebox%20client%20builds_code=USD=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHosted) always appreciated. ralphy's Profile: http://forums.slimdevices.com/member.php?userid=3484 View this thread: http://forums.slimdevices.com/showthread.php?t=115010 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] Should LMS read metadata from ID3v2.4?
bvrulez wrote: > As a sidenote: This means that mp3fs does also fill in 3v1 additionally > to 3v2.4 in its converted files. Because from FLAC converted files do > have a picture on the iPod. I'm not seeing ID3v1 tags in mp3fs output here. And I don't think ID3v1 supports images... eyeD3 will tell you when you get it going. :) mrw's Profile: http://forums.slimdevices.com/member.php?userid=38299 View this thread: http://forums.slimdevices.com/showthread.php?t=115010 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] Should LMS read metadata from ID3v2.4?
bpa wrote: > Out of interest, just installed & tried - eye3D - can't find a > "--debug" but logging option "-l debug" worked well - provides full > explanation of all bits set. Thanks. Just updated, the logging option "-l debug" does correspond to the old "--debug". mrw's Profile: http://forums.slimdevices.com/member.php?userid=38299 View this thread: http://forums.slimdevices.com/showthread.php?t=115010 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] Should LMS read metadata from ID3v2.4?
bvrulez wrote: > I get an error using eye3D, maybe du to my old Lubuntu 16, idk:. I ran eye3D using python3. IIRC Ubuntu 16 had both python 2 and python 3. try running eye3D using python3. bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 View this thread: http://forums.slimdevices.com/showthread.php?t=115010 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] Should LMS read metadata from ID3v2.4?
I get an error using eye3D, maybe du to my old Lubuntu 16, idk: Code: $ eyeD3 01\ -\ Vicarious.mp3 File "/usr/bin/eyeD3", line 352 print c1 + (" " * (40 - len(c1))) + c2; ^ SyntaxError: invalid syntax Regarding the iPod Nano, I solved the problem by putting in tags with version 3v1. I use old easytag to tag my files. In the settings I can set to use 3v1 *additionally* to 3v2.3 or 3v2.4. The file which did not work was original MP3 (not FLAC that was converted to MP3). Strangely, the iPod recognized the tags itself, just did not show the cover picture. Easytag recognizes if an existing file is different from what is set in the settings and it suggests to save the file with adapted settings. I did this, changing nothing by hand and then synched the iPod. As a sidenote: This means that mp3fs does also fill in 3v1 additionally to 3v2.4 in its converted files. Because from FLAC converted files do have a picture on the iPod. bvrulez's Profile: http://forums.slimdevices.com/member.php?userid=67251 View this thread: http://forums.slimdevices.com/showthread.php?t=115010 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] Should LMS read metadata from ID3v2.4?
mrw wrote: > I have been using an old version of -eyeD3- with its ---verbose- and > ---debug- options with some success. I don't know about the modern > version. Out of interest, just installed & tried - eye3D - can't find a "--debug" but logging option "-l debug" worked well - provides full explanation of all bits set. bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 View this thread: http://forums.slimdevices.com/showthread.php?t=115010 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] Should LMS read metadata from ID3v2.4?
bvrulez wrote: > I tried eyeD3, mp3tool, mp3info and others. I have been using an old version of -eyeD3- with its ---verbose- and ---debug- options with some success. I don't know about the modern version. Perhaps the old iPod Nano just doesn't support v2.4 tags (I don't know why it wouldn't). Be sure to remove any ID3 v1 tags before experimenting if you're trying to hone into what may be wrong/incompatible. Otherwise they may confuse matters. mrw's Profile: http://forums.slimdevices.com/member.php?userid=38299 View this thread: http://forums.slimdevices.com/showthread.php?t=115010 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] Should LMS read metadata from ID3v2.4?
Thank you very much! bvrulez's Profile: http://forums.slimdevices.com/member.php?userid=67251 View this thread: http://forums.slimdevices.com/showthread.php?t=115010 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] Should LMS read metadata from ID3v2.4?
bvrulez wrote: > How can I analyse the file to know what exactly was written to it? > Thanks! Depends on your background. I'm OK with decoding raw data so i used hexdump as I knew MP3 headers & IDV3.* are relatively simple, well documented (https://id3.org/id3v2.3.0#ID3v2_overview) and it was quicker than trying to find a tool. You could try ffmpeg/ffplay with loglevel of trace (e.g. ffplay -v trace filename.mp3) . It can produce output shown below for the original problem file "New Psycho". The Flags show 0x40 as the "extended header" (look at id3 linked page) Code: [mp3 @ 0x7f57cbc0] Format mp3 probed with size=32768 and score=51 id3v2 ver:4 flags:40 len:13993 [mp3 @ 0x7f57cbc0] Skipping 0 bytes of junk at 14003. [mp3 @ 0x7f57cbc0] Before avformat_find_stream_info() pos: 14003 bytes read:32768 seeks:0 nb_streams:2 [mjpeg @ 0x7f57c00084c0] marker=d8 avail_size_in_buf=13799 [mjpeg @ 0x7f57c00084c0] marker parser used 0 bytes (0 bits) [mjpeg @ 0x7f57c00084c0] marker=e0 avail_size_in_buf=13797 . . . [mjpeg @ 0x7f57c00084c0] decode frame unused 0 bytes [mp3 @ 0x7f57cbc0] All info found [mp3 @ 0x7f57cbc0] Estimating duration from bitrate, this may be inaccurate [mp3 @ 0x7f57cbc0] stream 0: start_time: 0.000 duration: 306.725 [mp3 @ 0x7f57cbc0] stream 1: start_time: -102481911520608.625 duration: 306.725 [mp3 @ 0x7f57cbc0] format: start_time: 0.000 duration: 306.725 bitrate=192 kb/s [mp3 @ 0x7f57cbc0] After avformat_find_stream_info() pos: 43699 bytes read:65536 seeks:0 frames:51 Input #0, mp3, from '2008+03+22+05+New+Psycho.mp3': Metadata: encoder : MP3FS title : 2008 03 22 05 New Psycho artist : phaze album_artist: phaze album : Proberaum genre : Rock TLEN: 306689 Duration: 00:05:06.73, start: 0.00, bitrate: 192 kb/s Stream #0:0, 50, 1/14112000: Audio: mp3, 48000 Hz, stereo, fltp, 192 kb/s Stream #0:1, 1, 1/9: Video: mjpeg (Baseline), 1 reference frame, yuvj420p(pc, bt470bg/unknown/unknown, center), 300x300 [SAR 1:1 DAR 1:1], 0/1, 90k tbr, 90k tbn, 90k tbc (attached pic) Metadata: title : cover.jpg comment : Cover (front) . . . For other formats where documentation is hard to find and/or uses more intricate encoding (e.g. MPEG4) - a existing tool bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 View this thread: http://forums.slimdevices.com/showthread.php?t=115010 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] Should LMS read metadata from ID3v2.4?
mrw wrote: > Thank you @bpa and @bvrulez. > > I have just installed mp3fs on my Debian box. It has produced mp3 files, > tagged with ID3 v2.4 and containing that CRC+extended header that > Audio::Scan will choke on. Would you mind explaining how to analyse mp3tags this deep? I still have troubles with my setup because my old iPod Nano does not show cover artwork for a file that was generated with mp3fs. I would like to find out which data exactly has been written but no command line tool in Linux seems to support this. I tried eyeD3, mp3tool, mp3info and others. The only bit of success I had was with *id3v2 -l*. It gives the id3v1 info and says there is no id3v2 tag. How can I analyse the file to know what exactly was written to it? Thanks! bvrulez's Profile: http://forums.slimdevices.com/member.php?userid=67251 View this thread: http://forums.slimdevices.com/showthread.php?t=115010 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] Should LMS read metadata from ID3v2.4?
mherger wrote: > Don't forget to submit a pull request for Andy to merge: PR raised: https://github.com/andygrundman/Audio-Scan/pull/12 Differs slightly from my original effort - ID3 'synchsafe' integers are in play. mrw's Profile: http://forums.slimdevices.com/member.php?userid=38299 View this thread: http://forums.slimdevices.com/showthread.php?t=115010 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] Should LMS read metadata from ID3v2.4?
Thank you @bpa and @bvrulez. I have just installed mp3fs on my Debian box. It has produced mp3 files, tagged with ID3 v2.4 and containing that CRC+extended header that Audio::Scan will choke on. So I can now produce test sample files at will. It's a clever idea (mp3fs). mrw's Profile: http://forums.slimdevices.com/member.php?userid=38299 View this thread: http://forums.slimdevices.com/showthread.php?t=115010 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] Should LMS read metadata from ID3v2.4?
@mrw Thank you for doing this! I use 'mp3fs' (https://khenriks.github.io/mp3fs/). My collection contains FLAC and MP3. The flac are converted to mp3. Not sure if something is done to files that are already mp3. Could be they are also converted since mp3fs can be set to generate a specific quality (160, 320, etc). I informed the maintainer to make sure I point to the right problem: https://github.com/khenriks/mp3fs/issues/68 The file you have is generated from FLAC to MP3 by mp3fs in a recent version that I installed directly from github. -- I tag with easytag version 2.4.2. (last but one version) on linux. I know this is old but I had no problems with it apart from one issue with flac: I have to add cover artwork to FLAC on the commandline with *metaflac --import-picture-from="$FILEPATH" "$f"*. Otherwise the file gets corrupted metadata-wise. I most probably *did not* do this to the file I uploaded. -- If you need more files or if I should generate something specific let me know. bvrulez's Profile: http://forums.slimdevices.com/member.php?userid=67251 View this thread: http://forums.slimdevices.com/showthread.php?t=115010 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] Should LMS read metadata from ID3v2.4?
mrw wrote: > @bvrulez, the issue you have is known, and I have a draft fix ready for > submission. (Not quite the same as I posted earlier). > > But, I have a problem with creating v2.4 tags that illustrate your > issue. Could you let me know what tagging software you are using ? At > present I only have the one sample that you provided. > > The particular issue is triggered by the inclusion of a CRC checksum > within the tag. The "taggers" at my disposal just don't do this. >From firstpost of linked thread OP is using mp3fs which converts formats on the fly. I think it does the metadata conversion as well. > > I use the awesome filesystem mp3fs to convert flac to mp3. > bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 View this thread: http://forums.slimdevices.com/showthread.php?t=115010 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] Should LMS read metadata from ID3v2.4?
bvrulez wrote: > We were discussing this 'here' > (https://forums.slimdevices.com/showthread.php?115001-LMS-does-not-show-artwork-of-mp3-that-was-converted-from-flac) > but wanted to post a clearer thread now that the problem is known: > > DOES LMS NOT READ METADATA FROM ID3V2.4 BUT JUST FROM 2.3 AND LOWER? > > If so, is there any support planed for 2.4? If not I will just rearrange > my library, no problem. But I need to know. @bvrulez, the issue you have is known, and I have a draft fix ready for submission. (Not quite the same as I posted earlier). But, I have a problem with creating v2.4 tags that illustrate your issue. Could you let me know what tagging software you are using ? At present I only have the one sample that you provided. The particular issue is triggered by the inclusion of a CRC checksum within the tag. The "taggers" at my disposal just don't do this. mrw's Profile: http://forums.slimdevices.com/member.php?userid=38299 View this thread: http://forums.slimdevices.com/showthread.php?t=115010 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] Should LMS read metadata from ID3v2.4?
https://github.com/andygrundman/Audio-Scan Should we continue to use the 'Audio-Scan repo in the lms-community github' (https://github.com/LMS-Community/Audio-Scan) then? Andy did merge a PR recently. Let's give him a try first. ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] Should LMS read metadata from ID3v2.4?
mherger wrote: > > > Don't forget to submit a pull request for Andy to merge: > > https://github.com/andygrundman/Audio-Scan Away for a few days. Will pick up on my return. mrw's Profile: http://forums.slimdevices.com/member.php?userid=38299 View this thread: http://forums.slimdevices.com/showthread.php?t=115010 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] Should LMS read metadata from ID3v2.4?
mherger wrote: > > Posting here so that I can find it again in due course. > > Don't forget to submit a pull request for Andy to merge: > > https://github.com/andygrundman/Audio-Scan Should we continue to use the 'Audio-Scan repo in the lms-community github' (https://github.com/LMS-Community/Audio-Scan) then? Ralphy *1*-Touch, *5*-Classics, *3*-Booms, *2*-UE Radio 'Squeezebox client builds' (https://sourceforge.net/projects/lmsclients/files/) 'donations' (https://www.paypal.com/cgi-bin/webscr?cmd=_donations=LL5P6365KQEXN=CA_name=Squeezebox%20client%20builds_code=USD=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHosted) always appreciated. ralphy's Profile: http://forums.slimdevices.com/member.php?userid=3484 View this thread: http://forums.slimdevices.com/showthread.php?t=115010 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] Should LMS read metadata from ID3v2.4?
Posting here so that I can find it again in due course. Don't forget to submit a pull request for Andy to merge: https://github.com/andygrundman/Audio-Scan ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] Should LMS read metadata from ID3v2.4?
mrw wrote: > As far as I can see, -Audio::Scan- does not appear to be handling the > "extended header" properly in an ID3 v2.4 tag. The structure/meaning > changes somewhat compared with the ID3 v2.3 tag. Well, the attached patch to the -Audio::Scan- source code package does result in a successful scan on my system. The patch corrects handling of the extended header in v2.4 vs v2.3. The "Extended header size" element in a v2.4 tag includes the size of that element, whereas it does not in a v2.3 tag. Posting here so that I can find it again in due course. +---+ |Filename: audio_scan_extended_header.patch.txt | |Download: http://forums.slimdevices.com/attachment.php?attachmentid=35556| +---+ mrw's Profile: http://forums.slimdevices.com/member.php?userid=38299 View this thread: http://forums.slimdevices.com/showthread.php?t=115010 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] Should LMS read metadata from ID3v2.4?
As far as I can see, -Audio::Scan- does not appear to be handling the "extended header" properly in an ID3 v2.4 tag. The structure/meaning changes somewhat compared with the ID3 v2.3 tag. The example file does have an "extended header". More that I do not know. It will take some detailed analysis to figure out the issue.. mrw's Profile: http://forums.slimdevices.com/member.php?userid=38299 View this thread: http://forums.slimdevices.com/showthread.php?t=115010 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] Should LMS read metadata from ID3v2.4?
AFAIK the scanner uses Audio::scan module to do scanning and a quick glance at the module info, it seems to supports 3v2.4 https://metacpan.org/pod/Audio::Scan#INFO bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 View this thread: http://forums.slimdevices.com/showthread.php?t=115010 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
[slim] Should LMS read metadata from ID3v2.4?
We were discussing this 'here' (https://forums.slimdevices.com/showthread.php?115001-LMS-does-not-show-artwork-of-mp3-that-was-converted-from-flac) but wanted to post a clearer thread now that the problem is known: DOES LMS NOT READ METADATA FROM ID3V2.4 BUT JUST FROM 2.3 AND LOWER? If so, is there any support planed for 2.4? If not I will just rearrange my library, no problem. But I need to know. bvrulez's Profile: http://forums.slimdevices.com/member.php?userid=67251 View this thread: http://forums.slimdevices.com/showthread.php?t=115010 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss