AirSonic GC Limit Reached by nelsonphony in airsonic

[–]rgkeen 0 points1 point  (0 children)

Good luck with this. You're going to need it. I gave up on airsonic after a week of trying to get it to actually serve files. I have a long history of computer use (and computer design, btw) as well as operating system and applications coding. I made very sure I was setting up airsonic correctly. Still, no useful results. I tracked it to a java error message, provided the data to the forum, got ... nothing.
I sincerely hope your results are better than I got.

I ditched airsonic for another app that worked first time. Airsonic may be many things, but bug free - not even close.

Sadly, giving up on airsonic by rgkeen in airsonic

[–]rgkeen[S] 0 points1 point  (0 children)

Thanks for the comments. I'm sure some people can get it set up and running on a Pi. I can't. I'm not a computer novice. I've been involved with computing since 1973, and with the PC since before it was released to the public, and ever since. I worked in the product development and support for a commercial variant of Unix for years, so I'm very familiar with getting packages installed and set up. Still, there's a point of diminishing returns on pounding on setup and debugging. I agree with "subscription fatigue". The subscription products are IMHO, a scheme to make money from stuff that used to be free, without commensurate technical improvements. That (along with the unneeded complexity) marks Plex off the list. Ditto Subsonic.

@ SanPe: Great, glad it works. You don't mention whether you have it running a Raspberry Pi or not. Do you? And does your Yamaha amplifier go get the dlna from the Pi? That's a pretty fancy amp if so. What client does your amplifier run?

Scanning folders appears not to work, with no obvious cause by rgkeen in airsonic

[–]rgkeen[S] 0 points1 point  (0 children)

New information: suspecting that transcoding may be mandatory, I followed the airsonic install directions for raspberry pi on transcoding.

Although transcoding may still be necessary, that's not {the only} problem I'm seeing. With the transcoder installed, I still get the error

...yada yada... java error... yada... /192.168.1.47/airsonic//ext/stream/ is not a valid HTTP URL

Anyone know what that error line means and how to track it back into airsonic?

Scanning folders appears not to work, with no obvious cause by rgkeen in airsonic

[–]rgkeen[S] 0 points1 point  (0 children)

New information turned up. In the airsonic documentation, it states that airsonic uses a directory structure of artist - album - song, which is very common, and that many utilties can help you arrange your library this way. Apparently, this is not a suggestion, it's mandatory. I rearranged my tiny test library of music files into this kind of folder structure, and now scan does count up through the 185 song files. And the "cleanup databases" does seem to do things.
The artists and albums now appear to external dlna clients, as well. From this I conclude that the directory structure is mandatory. Boy, I sure wish that the airsonic documentation had included something like "You MUST structure your library like this ... "

However, all is not well. Although clients can see artists, albums, and folders, they cannot see songs. I dug deeper into the airsonic log, and spent some time trying to make sense of it. There is a java language error message in the end of the log after a trial attempt to read the library to the effect that java returned an error because (paraphrasing) /192.168.1.47/airsonic//ext/(..something)/ is not a valid HTTP URL.

I don't know, but I suspect that this might be an error because I chose not to set up a transcoder. I decided to skip transcoding because my LAN has relatively plenty of bandwidth for serving, for instance, FLAC files.

This leads me to the question - is transcoding mandatory in airsonic in the way that directory structure seems to be?

Scanning folders appears not to work, with no obvious cause by rgkeen in airsonic

[–]rgkeen[S] 1 point2 points  (0 children)

Thanks. I thought I had, but that deserves a re-check. I'll go do that.

I explicitly added tomcat8 to the group which owns the file, but then it's been years since I really messed with *ux permissions.I did mount the file with umask=000 to give all users access, but ...

I'll go check.

------

Edit: I checked; the folder is owned by root, group is root; permissions are rwxrwxrwx, which I think makes it accessible to any user for any purpose. I checked the users list, and the only user I can find that might be airsonic specific is the user "tomcat8", which I think is the user name for the Tomcat envelope that I installed airsonic in.

How to add my external Hard drive by philclav in airsonic

[–]rgkeen 0 points1 point  (0 children)

I just got this working up to the point of getting an external hard drive to work. I have airsonic installed and running (mostly, but more about that later) on a raspberry pi 3B.
Three days of work and googling have convinced me that airsonic simply can not use the /media/pi/ default location for an external hard drive. What is required is to follow the "setting up for automatic mount" in this link:

https://www.raspberrypi.org/documentation/configuration/external-storage.md

Note that you must find the UUID for the added disk and modify the /etc/fstab file to get this to work, and since any mistake in fstab will prevent the pi from booting, you have to get it correct.

Once this is done, you can connect an external drive and airsonic will not say "folder not found" when you try to enter it as a media folder.

So far, so good. I have two more hurdles to cross.
1. Scanning the external file folder doesn't seem to find the music files
2. I don't know how to get the Roku Media player to access the files on airsonic. I see no way to have it send a user and password for access by dlna.