sentriz / gonic

music streaming server / free-software subsonic server API implementation
ircs://irc.libera.chat/#gonic
GNU General Public License v3.0
1.49k stars 105 forks source link

Scan #476

Closed Beulu closed 4 months ago

Beulu commented 4 months ago

gonic version: latest

Hi ! Sorry if question was ask before :

Running gonic in docker with compose. Folders are well configured. Got folders (data, cache, audio) but scan doesn't work.

Got access to gonic UI at port 4747

image

I now have habit to configure folders with docker/compose. I can't find where is the problem.

sentriz commented 4 months ago

can you be more specific? how doesn't the scan work? is there anything in the logs?

Beulu commented 4 months ago

How can I have access to logs ?

I just click "scan" go the message in green banner and nothing.

sentriz commented 4 months ago

after you clicked scan, did we relaod the gonic page to see the results?

you can view the docker logs with "docker compose logs"

Beulu commented 4 months ago

I click on scan and even after a refresh : nothing

here the log :

_gonic-gonic-1_logs.txt

Seems it doesn't detect folders/files but I'm 99% sure folders are corrects in the docker-compose (copy/paste and veryfied)

sentriz commented 4 months ago

could you share your docker compose?

Beulu commented 4 months ago

sure ! (code balise doesn't work well)

`# example docker-compose.yml

version: "2.4" services: gonic: image: sentriz/gonic:latest environment:

/HDD is for the music hard disk drive on my server. Is well linked in my docker compose (copy/paste from HDD list)

image

Folders are created too.

Beulu commented 4 months ago

Links to the music files are good, copy/paste from navidrome docker-compose and it works perfectly in navidrome

image

sentriz commented 4 months ago

you have mounted your music into the container as /musique, gonic is expecting /music. you need to either change the mount to /music, or else set GONIC_MUSIC_PATH=/musique

Beulu commented 4 months ago

It works ! ^^

thank you !

Now I have to found how navidrome can use Gonic database ^^

Beulu commented 4 months ago

Does Gonic detects internet radios links files to had them automaticcaly in the list with the name (from title, tags, url balises) ?

image

Beulu commented 4 months ago

Gonic doenst detect my podcasts files in my podcasts folder. podcasts is well asked in docker compose

sentriz commented 4 months ago

gonic will not detect internet radio stations or podcasts from your filesystem unfortunately

this is inherent to the subsonic protocol, where internet radio stations and podcasts have associated users, ratings, favourites, etc - note of which can be deduced from the filesystem. you will need to use a client like airsonic-refix or dsub or whatever else your using to add them to gonic

Beulu commented 4 months ago

It's not important, Audiobookshelf can be used for podcasts. ^^

Thanks for your time !