Jump to content

Emby can't see any media


Gisnep
 Share

Recommended Posts

Gisnep

Hello,

I'm running an Emby server via Docker/Portainer on a raspberry pi. Emby can't seem to find the media.

I have two library folders, one for movies and one for TV. The TV folder is located at ~/sdaMnt/Emby/TV and the Movies folder at ~/TestFolder/Movies

image.png.a8c83ed9946b59c39220eca70fe775f9.png

image.png.27a5f2df0633c843c8da2c5f3331674f.png

image.png.c115735dd5625b5afb23e8a3ba41e1a5.png

Both locations actually have media on the pi inside the appropriate subfolders

ethan@gserv:~ $ ls sdaMnt/Emby/TV/Serial\ Experiments\ Lain/ && ls TestFolder/Movies/Burn\ After\ Reading\ \(2008\)/

'Layer 02 - Girls.mkv'  'Layer 06 - Kids.mkv'  'Layer 08 - Rumors.mkv'  'Layer 09 - Protocol.mkv'
Burn.After.Reading.2008.720p.BrRip.x264.YIFY.mp4

Both locations are in the docker-compose

version: "2.3"
services:
  emby:
    image: emby/embyserver_arm32v7
    container_name: embyserver
    runtime: nvidia # Expose NVIDIA GPUs
    network_mode: host # Enable DLNA and Wake-on-Lan
    environment:
      - UID=1000 # The UID to run emby as (default: 2)
      - GID=100 # The GID to run emby as (default 2)
      - GIDLIST=100 # A comma-separated list of additional GIDs to run emby as (default: 2)
    volumes:
      - /path/to/programdata:/config # Configuration directory
      - /path/to/tvshows:/home/ethan/sdaMnt/Emby/TV # Media directory
      - /path/to/movies:/home/ethan/TestFolder/Movies # Media directory
    ports:
      - 8096:8096 # HTTP port
      - 8920:8920 # HTTPS port
    devices:
      - /dev/dri:/dev/dri # VAAPI/NVDEC/NVENC render nodes
      - /dev/vchiq:/dev/vchiq # MMAL/OMX on Raspberry Pi
    restart: unless-stopped

and the file / folder permissions all seem fine, the server should have read access to the folders

ethan@gserv:~ $ls -l ~/sdaMnt/Emby && ls -l ~/TestFolder

total 8
drwxr-xr-x 3 ethan root 4096 Apr 16 18:01 Movies
drwxr-xr-x 3 ethan root 4096 Apr 16 16:44 TV
total 4
drwxr-xr-x 3 ethan ethan 4096 Apr 16 17:41 Movies

 

ethan@gserv:~ $ ls -l ~/sdaMnt/Emby/TV && ls -l ~/TestFolder/Movies

total 4
drwxr-xr-x 2 ethan ethan 4096 Apr 16 16:54 'Serial Experiments Lain'
total 4
drwxr-xr-x 2 ethan ethan 4096 Apr 16 17:41 'Burn After Reading (2008)'

So far I've tried

- Using the 'Scan Library Files' button inside the emby dashboard

- Restarting the emby server and the docker container

- Changing the file locations (That's why movies are at ~/TestFolder/Movies. I wanted to see if the problem had something to do with using an external drive)

A copy of my log right after restarting the server is attached  embyserver.txt

 

 

Link to comment
Share on other sites

Xakmad

Sorry to hear you're having trouble.

No expert, as the following will prove, but I installed basic pi image, mounted an external HDD,  installed samba,  shared folders in the HDD,  so I could load files from Windows over network, then installed envy, pointed each library to each folder. It works really well.

Maybe no help, as I've no idea what portainer and docker are... 

Good luck

Link to comment
Share on other sites

bella0450

Hi there, how did you setup the video library in emby library setup?

Link to comment
Share on other sites

Xakmad

Visited 192.xxx.xxx.xxx:8096, logged in as an admin, clicked  setup cog icon. Presumably you have a user setup as this already hopefully not with the name of "admin"

on far left, it has as headings home button, my name, envy web,  SERVER and advanced

under SERVER, clicked LIBRARY, then top middle, second line down it says I've 17 libraries ,  + new library, rescan libraries

when I click "+ new library" i tend to always go movies or TV shows, change display names to eg films2022.

Hit the plus sign beside folders and browse through ru4 Fuller's until you get what you want. I mentioned I had mounted my external drives - so originally I created a folder called MEDIA , then subfolders under that called USBHDD01, USBHDD02, USBHDD03, and mounted it's hard drive to each of those subfolders. So in emby now if I scroll down far enough I see /media/USBHDD01

Clicking the arrow beside this folder will show me the sub folders of my hard drive which code for instance old films, classic films, comedy, films 2021, films 2022.

Other hard drives would have different sub folders for comedy sci-fi zombie etc

So finally you can hit the ok button and that fuller will appear on the left where you previously clicked the plus side to side folders there's a minute beside it in case you mess it up. You can add more folders personally I don't. As you can see a match the library name with the first subfolder on hard drive

Then click ok at the very bottom and you will see the side scan libraries it has a green progress bar going from down to 100%

I've just been completing all the steps as I have been typing. 

 

 

 

 

 

 

 

 

 

 

 

 

 

Link to comment
Share on other sites

  • 3 weeks later...
mengoshmink

Admittedly I haven't read all of the details above but to add my 2 cents. I get a similar problem if permissions are set incorrectly on the share or the folder. I get caught out because the host can browse the share but the server can not. Check by try viewing or browsing a sub folder when adding to the library.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...