IsaacJT / jellyfin-snap

Snap package for the Jellyfin media server
GNU General Public License v2.0
9 stars 1 forks source link

Where should we store our media? #8

Open RJDan opened 1 year ago

RJDan commented 1 year ago

Hello The snap does not find any media in my media directories (the ppa was able to scan and find the directories). Is there a special/preferred directory for storing media?

In the snap I cannot navigate to a directory when selecting media directories, I need to type the directory address explicitly. The snap seems to evaluate if the dir exitst or not. e.g. incorrect spelling and it says the directory does not exist. So that looks to be working.

It however does not find accept ~ as a short cut for home and it says that anything inside /home/user/snap/itrue-jellyfin/common/ does not exist.

RJDan commented 1 year ago

With some trial and error... it seems the snap has access to $SNAP_DATA only. It cannot see any of my media in my home dir nor if I add media to the $SNAP_COMMON dir.

IsaacJT commented 1 year ago

Hi @RJDan,

This seems strange. Are you running it on Ubuntu Desktop/Server? The interfaces for accessing other storage locations should be automatically connected when the snap is installed.

Can you please post the output of snap connections itrue-jellyfin?

If the interfaces are not shown as connected, please connect the interfaces manually, like this:

snap connect itrue-jellyfin:home
snap connect itrue-jellyfin:removable-media
snap connect itrue-jellyfin:mount-observe

This should allow the snap to access all files in /home and /media.

RJDan commented 1 year ago

Hello Here you go. I did check this already. My first suspicion was that my home drive is an a separate (but non-removable) SD. I then manually connected for all the slots, ran multiple iterations of snap start/stop itrue-jellyfin, rebooted several times but it did not help. I then purged and reinstalled, hoping that maybe it was just another buggy installation. The reinstall did not help. I just put the content in the $SNAP_DATA to be done with the whole saga.

The output below is from the default, new installation.

Interface         Plug                             Slot           Notes
firewall-control  itrue-jellyfin:firewall-control  -              -
home              itrue-jellyfin:home              :home          -
mount-observe     itrue-jellyfin:mount-observe     -              -
network           itrue-jellyfin:network           :network       -
network-bind      itrue-jellyfin:network-bind      :network-bind  -
opengl            itrue-jellyfin:opengl            :opengl        -
removable-media   itrue-jellyfin:removable-media   -              -
RJDan commented 1 year ago
OS: Ubuntu Sway 23.04 x86_64 
Host: ASUSTeK COMPUTER INC. FA506IH 
Kernel: 6.2.0-24-generic 
Shell: bash 5.2.15 
Resolution: 1920x1080, 1920x1080 
WM: sway 
Terminal: kitty 
CPU: AMD Ryzen 7 4800H with Radeon Graphics (16) @ 2.900GHz 
GPU: NVIDIA NVIDIA Corporation TU117M 
GPU: AMD ATI Renoir 
RJDan commented 1 year ago

Tested here with the plugs/slots/whatever-its-called added manually. I still couldn't navigate to anything inside my home dir. I could navigate to content inside my /media directory and I tested on a portable harddrive, I could access media from there (mounted to /media/). Interestingly, I could navigate to the 'lost-found' folder in the home dir, so I guess it is not an issue with accessing the second drive, but an issue of accessing the user home folder.

Interface         Plug                             Slot              Notes
firewall-control  itrue-jellyfin:firewall-control  -                 -
home              itrue-jellyfin:home              :home             -
mount-observe     itrue-jellyfin:mount-observe     :mount-observe    manual
network           itrue-jellyfin:network           :network          -
network-bind      itrue-jellyfin:network-bind      :network-bind     -
opengl            itrue-jellyfin:opengl            :opengl           -
removable-media   itrue-jellyfin:removable-media   :removable-media  manual
IsaacJT commented 9 months ago

Hi @RJDan sorry for the late reply. Did you ever get this sorted? I'm really not sure what the issue could be, especially if you can see lost+found...

RJDan commented 9 months ago

Hello No, It is still in the same state. I have media on a home server, so I just put everything in a directory that jellyfin could access to be done with it.

kalehrl commented 6 months ago

I have the same issue on Oracle icloud server. I just see /home/opc and /home/ubuntu when trying to add library but no other folders.

alculete commented 6 months ago

Same here, I can see /home/user/ and nothing else

kalehrl commented 6 months ago

I installed Jellyfin using the official guide instead of snap with this command 'curl https://repo.jellyfin.org/install-debuntu.sh | sudo bash' and now adding library works when I put my files in /media folder.