Jump to content

Custom Intro Path not asking for Username or Password on SMB


Recommended Posts

Posted

Really hoping I'm posting this in the right place...

I'm running EMBY via a jail on TrueNAS CORE, and I'm trying to get a custom intro for my server via the Cinema Intros plugin, which I have already put in place on the NAS drive where the EMBY Server is referencing for all content. But when I attempt to point to where the trailer file(s) via smb, EMBY doesn't prompt for a username or password. I have been able to enter the username and password for my NAS when attempting to link up the libraries for both Movies and TV Shows in the past, and have been able to watch content from these for a while. I recently purchased the lifetime Premier pass to I was hoping to add a little more flavour to the server with a custom intro for everything. 

 

I've attempted to enter the location as it is, and I get told "Not connected to share. Status: STATUS_ACCESS_DENIED", which I'm assuming is relating to it wanting the username and password to my NAS, which it's not asking for... I'm not sure if it's a bug with a recent update as the last time I attempted to connect to my local NAS it asked perfectly fine. I don't want to run the risk of disconnecting the current libraries in case it breaks the entire server. 

 

The NAS isn't showing up on the Network list either so that's not a great help, but I was able to get around this last time by putting in the SMB address for the Library. Now that's not wanting to work. I did attempt to copy one of the trailers directly into the "/usr/share" directory but that's locked down (and for good reason I imagine so I won't be tinkering with those permissions).

 

Any ideas?

image_2024-07-31_012137556.png

image_2024-07-31_012148414.png

image_2024-07-31_012230019.png

image_2024-07-31_012242167.png

Posted (edited)

embyserver.txtUploading Emby Server Log in case it's needed

Edited by exilis
Posted

HI, yes it's going to take a bit of work to get this applied to all directory pickers. 

The best thing you can do is instead mount the share to a local path on the NAS and then use the local path in Emby Server.

Posted

Hi Luke! I didn't expect a response that quick, that's impressive!

I've got two SMB's on TrueNAS at the moment, both of which are accessible to all machines on my network (including consoles), so I'm not sure why EMBY isn't finding it anymore. I've tried moving the trailers folder to a folder that's already mounted in the library and that hasn't worked either. I've followed pretty much every guide I've found to far including the Cinema Trailers/Intro's guide to no avail as well. How should the local path in Emby Server look? I'm not sure where the root directory would start with Emby.

image_2024-07-31_015419923.png

Posted
Quote

How should the local path in Emby Server look?

HI, whatever you mount it as in TrueNAS. You could mount it as /blah/blah and that would work. Have you done that?

Posted

My drives are mounted as Network drives on Windows, I know that Emby does not connect the same way and I've tried doing just /mnt/NAS as well, but I get "Directory could not be found" as I assume it's trying to reference a local directory instead of the SMB. I don't have any other issue connecting to the shares any other way. 

I've noticed that the initial issue of not asking for the SMB username and password also happens when I'm trying to reapply my SSL certificate. 

image_2024-07-31_094408281.png

Posted

What mount did you setup for the intro path?

Posted

The intro path is currently within the NAS SMB (NAS/Trailers), where the library is set to. There isn't a separate share setup for the intro specifically, but even with one being in place the settings on Emby aren't recognising any share at all.

Posted

OK then it sounds like it would be something under /mnt/NAS , right? I would try that.

Posted

Still getting the directory could not be found error unfortunately

Posted

What path did you enter?

Posted

I've tried the following paths with no success on any:

/mnt/NAS/TV Shows/Trailers

/NAS/TV Shows/Trailers

/TV Shows/Trailers

/mnt/NAS

/NAS

\\192.168.178.202\NAS\Trailers

smb:\\192.168.178.202\NAS\Trailers

 

Posted
Quote

\\192.168.178.202\NAS\Trailers

smb:\\192.168.178.202\NAS\Trailers

As we previously established, I wouldn't use unc paths or smb paths because there is currently no way to configure the authentication in emby server.

Posted
Quote

/mnt/NAS/TV Shows/Trailers

/NAS/TV Shows/Trailers

/TV Shows/Trailers

/mnt/NAS

Maybe a good way to figure out what the correct path is would be to open up the contents of /mnt/NAS in a file browser, and then locate the intros folder underneath there. That should tell you what the full path to use in emby server is.

Posted

Not via the same method, but I've been putting the exact location as it appears on other devices without the drive letter, as I've mapped the NAS as a network drive. Apart from that though, the path/location is identical to what I'm attempting to use on Emby. Can I ask why Emby only prompt for the username and password on an SMB share when mapping the library, and not on any other settings?

Emby shows the Intro video I want to use in the TV Shows library, but when I enter the same directory in the settings, it says the directory cannot be found, I assume it's not wanting to reference the libraries already in place when selecting a path?

Posted

Can you please try  what I suggested? What is the result when using a file browser?

Posted

The directory in my file browser is Z:\NAS\TV Shows\Trailer, but as I mentioned before the NAS is mounted as a network drive on my other machines, and Emby is running from a separate machine on TrueNAS, so the directory won't be the same.

Posted

How about a file browser on the NAS machine, starting with the /mnt/NAS. What is the full path from underneath there?

Posted

There isn't a file browser on the NAS machine as such, just the SMB hosting service. On the NAS machine, the drive is mounted as /mnt/NAS, then the directories previously mentioned. The full file path will be as /mnt/NAS/TV Shows/Trailers, which I have already tried. As Emby is hosted via a Jail on TrueNAS, it cannot see anything before it's mount point, so it cannot access TrueNAS itself, only the SMB, which it is currently accessing via SMB for it's library.

Posted
Quote

/mnt/NAS/TV Shows/Trailers

It sounds like this is the correct path then. Have you ensured that Emby Server has access to this location? Have you taken a look at this guide on permissions?

 

Posted

Emby Server is currently using the same permissions I use to access the NAS drives for the libraries, only major issue is that I can't change the ACL groups for Emby itself as it's hosted via a Jail, and TrueNAS locks it down to stop you from messing with any configs. I have multiple users setup on the permissions for TrueNAS as I live with multiple people, so they all have their own access levels. Myself being the one that looks after it, I have admin. I looked into this before to see if there was a way I could force the main intro file I want to use into the Emby Server files, but TrueNAS stopped me in my tracks there. Even having admin creds won't let me do what I want to do. Aside from that, Emby can access the NAS no problem for the library, but won't access it for anything else. Any attempt to force a change on ACL Manager for Emby results in TrueNAS blocking it out, so there's not a lot I can do there either. And making a separate login for Emby won't do any good as it's currently using Admin creds to access the NAS, there's no further permissions it can gain.

  • 2 weeks later...
Posted

HI, did you figure this out?

Posted

Hi Luke, nope still no resolution. Still not sure why the Emby settings don't prompt for SMB credentials

  • 5 weeks later...
Posted
On 8/14/2024 at 2:54 PM, exilis said:

Hi Luke, nope still no resolution. Still not sure why the Emby settings don't prompt for SMB credentials

It's because this dialog hasn't yet added support for saving credentials. It will get there, but in the meantime you could avoid having to enter those credentials in Emby if you were to mount the folder to a local path in the OS, and then use the local path in Emby Server.

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
×
×
  • Create New...