arkrow / PyMusicLooper

A python program for repeating music endlessly and creating seamless music loops, with play/export/tagging support.
https://pypi.org/project/pymusiclooper/
MIT License
257 stars 24 forks source link

error: No comment text / valid description? #44

Open gingerbeardman opened 1 month ago

gingerbeardman commented 1 month ago

Before continuing with the bug report, does updating to the latest version fix this issue? [Yes/No]

Describe the bug

Debugging Information

Expected behavior

Environment Information (please complete the following information):

arkrow commented 4 weeks ago

Does this happen only with specific files or formats, or all tracks? Based on the error message, this might be related to an ID3 tag that cannot be parsed in the file.

gingerbeardman commented 4 weeks ago

specific files.

sample:

id3ed

% id3ed -i MusMus-BGM-011.mp3
MusMus-BGM-011.mp3: (tag v1.0)
songname: 11th finger                   
artist: Watson                        
album: MusMus                        
year: 2007
comment:                               
genre: unknown(255)

ffprobe

% ffprobe MusMus-BGM-011.mp3                                                               
ffprobe version 7.1 Copyright (c) 2007-2024 the FFmpeg developers
  built with Apple clang version 15.0.0 (clang-1500.3.9.4)
  configuration: --prefix=/opt/homebrew/Cellar/ffmpeg/7.1 --enable-shared --enable-pthreads --enable-version3 --cc=clang --host-cflags= --host-ldflags='-Wl,-ld_classic' --enable-ffplay --enable-gnutls --enable-gpl --enable-libaom --enable-libaribb24 --enable-libbluray --enable-libdav1d --enable-libharfbuzz --enable-libjxl --enable-libmp3lame --enable-libopus --enable-librav1e --enable-librist --enable-librubberband --enable-libsnappy --enable-libsrt --enable-libssh --enable-libsvtav1 --enable-libtesseract --enable-libtheora --enable-libvidstab --enable-libvmaf --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libxvid --enable-lzma --enable-libfontconfig --enable-libfreetype --enable-frei0r --enable-libass --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libspeex --enable-libsoxr --enable-libzmq --enable-libzimg --disable-libjack --disable-indev=jack --enable-videotoolbox --enable-audiotoolbox --enable-neon
  libavutil      59. 39.100 / 59. 39.100
  libavcodec     61. 19.100 / 61. 19.100
  libavformat    61.  7.100 / 61.  7.100
  libavdevice    61.  3.100 / 61.  3.100
  libavfilter    10.  4.100 / 10.  4.100
  libswscale      8.  3.100 /  8.  3.100
  libswresample   5.  3.100 /  5.  3.100
  libpostproc    58.  3.100 / 58.  3.100
[mp3 @ 0x159e05c30] Estimating duration from bitrate, this may be inaccurate
Input #0, mp3, from 'MusMus-BGM-011.mp3':
  Metadata:
    album           : MusMus
    title           : 11th finger
    artist          : Watson
    comment         : 
    album_artist    : watson
    date            : 2007
  Duration: 00:04:36.36, start: 0.000000, bitrate: 160 kb/s
  Stream #0:0: Audio: mp3 (mp3float), 44100 Hz, stereo, fltp, 160 kb/s