popeen / Booksonic-Air

A new Booksonic server based on Airsonic. - OBS: The code here might not be ready for release. Feel free to compile it yourself but if so I recommend searching for the latest commit with the description "Prepare for release"

Home Page:https://booksonic.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Android app cannot browse Recently Added

danmed opened this issue · comments

Problem description

When using the Android app with the docker installation, i can't go to recently added (or Random). I get an error : "Server error: Access denied to file /audiobooks"

Everything else works fine.

Steps to reproduce

  • Install linuxserver.io docekr image
  • connect booksonic android app to it.

System information

  • Airsonic version:

  | 2009.1.0 – September 15, 2020, based on Airsonic 8b28366

  • Operating system: Ubuntu 18.04

This seems to only be a problem if i have 2 media folders set up and one of them is called audiobooks.

In my case.. its 👍
/audiobooks = /audiobooks/adults
/kids = /audiobooks/kids

If i set them up properly

/adults = /audiobooks/adults
/kids = /audiobooks.kids

then it works fine..

Edit : All of the above is rubbish.. i cannot get this consistently to work regardless of my set up.

so.. i think i've gotten to the bottom of it.. i had a single volume set in the container..

/audiobooks /mnt/audiobooks

and then in booksonic i had 2 media sources

/adults /audiobooks/Adults
/kids /audiobooks/Kids

this doesn't work..

I had to mount each source seperately within the container..

/adults /mnt/audiobooks/Adults
/kids /mnt/audiobooks/Kids

then it seems to work.. either my bad for not mounting things properly.. or i dunno.