airsonic / airsonic

:satellite: :cloud: :notes:Airsonic, a Free and Open Source community driven media server (fork of Subsonic and Libresonic)
https://airsonic.github.io
GNU General Public License v3.0
2.01k stars 236 forks source link

Ripped CD Artists/Songs Never Added #1189

Open plvines opened 5 years ago

plvines commented 5 years ago

Problem description

Most of my music is loaded properly. However, some artists are loaded but none of their songs are added (in either Airsonic web interface or various android apps connected to it). In one case I was able to fix this by changing the directory structure: /music/Symphony X/synphony x - discography/Symphony X - The Damnation Game-1995 By removing the intermediate folder (not sure if the mispelling was involved in the problem) to get: /music/Symphony X/Symphony X - The Damnation Game-1995 All the songs loaded correctly

However, the same change has not helped other artists/folders. Looking at the metadata, they have correct artist, song, album tags.

Specifically, all the artists with issues appear to be those whose MP3s are sourced from ripping from CDs (as opposed to being obtained digitally).

Steps to reproduce

Describe how somebody else could observe the same behavior you do. If possible, include relevant configuration or files that cause the problem. If sharing media files, ensure you are legally permitted to share copies!

I'm not sure how to provide reproducibility aside from sharing my exact music files.

System information

tesshucom commented 5 years ago

I'm curious if #1173 fixes this problem. 10.4 doesn't contain any fixes yet, so you have to wait for the next release.

We may also need to know what software you are using to rip CDs. If the software you use or the output format is too retro, you may not be able to load it.

plvines commented 5 years ago

I used iTunes for at least some of these. As far as I can tell, the format is identical to other songs that play: MP3 Sample Rate: 44100Hz Bit Rate: 192 kbps

tesshucom commented 5 years ago

There is a version in the tag format. The most widely used is id3v2.3, or multi-format of id3v2.3 and id3v1. iTunes uses id3v2.2, but this format is not compatible with id3v2.3.

In general, It is less trouble to use ripping software that uses id3v2.3 or id3v2.3 and id3v1 multi-format. Even if also when considering compatibility with other than Airsonic.


I investigated the iTunes output specification.

4.1.0.52 5.0.1.4 6.0.0.18 7.0.0.70 8.1.0.52 10.0.0.68 11.0.0.163 12.9.6.3

These output tags are all Id3v2.2. Encoding may be unsigned or UTF-16, and is automatically determined by the content. Airsonic can read all of these. If it is older, or if the format or encoding is converted later and fails, it is unclear whether it can be read.

Probably. It seems that the cause of the failure is not reading Id3 but a bug in the file structure. It is necessary to confirm whether it will be resolved by a fix released in the future. If not resolved, further tracking is required.

plvines commented 5 years ago

So using MusicBrainz Picard I converted tags to ID3v2.3 - this fixed the mp3s generated by ripping CDs in iTunes.

I have remaining music with problems, but those were not generated by ripping CDs in iTunes and have ID3v2.3 tags, so I assume their absence is a different problem.

Is there documentation describing what file/folder structure Airsonic will work with? It seems to be a "just works" situation, but given that it isn't working for some music it is hard to figure out why

eharris commented 5 years ago

Airsonic should not care about the folder structure. Any file that is named with an extension that is known (and configured) should be recognized as a media file. However, the tag information is considerably more "fragile", as many programs that write the tag info have their own quirks and nuances.

stale[bot] commented 4 years ago

This issue has been automatically marked as stale because it has not had recent activity. Thank you for your contributions.

stale[bot] commented 4 years ago

This issue has been automatically marked as stale because it has not had recent activity. Thank you for your contributions.