Jump to content

Path Substitution


Recommended Posts

Posted

I've set up some path substitutes along these lines:

 

D:\Movies \\SRV\Movies and TV\Movies

 

This works perfectly from all the clients that connect to my server over the network, so movies and TV shows display 'Direct' as their quality setting whilst playing. 

 

However, when using Emby on the server to display media from itself, the 'Direct' quality setting disappears and I only get a choice of streaming qualities. Furthermore, I get buffering and stuttering which doesn't occur using VLC to watch the same files directly.

 

I don't really understand what's happening here.

Posted

Hi, 

Web browsers have only limited format support. When your media doesn't match the browser's supported formats, we have to use a process called transcoding to convert it on the fly. You can learn more about that in our wiki here:

 

https://github.com/MediaBrowser/Wiki/wiki/Transcoding

 

Of interest to you might be the section titled

Why Is My Media Transcoding?
twitchstick
Posted

I'm having an issue getting the path substituion to work right. I'm sure that I'm doing something wrong.

 

My Movie folder is located on my UNRAID server Kraken. 

 

I mapped the drive to TITAN which has Plex Server installed under Z:\Movies. I added this folder as a Movie library folder. 

 

How would I apply the path substituion?

 

I tried:

 

Z:\Movies -----> \\Kraken\Movies

 

This didn't work. I keep Direct streaming which I don't want. I really want to get Direct Play working again for my new Nvidia Shield

bluemonkey07
Posted (edited)

Just use the unraid path as the path to your movies in Emby, mapping the path to a drive and then using path substitution is completely redundant and overly complicated

Edited by Vidman
twitchstick
Posted

Just use the unraid path as the path to your movies in Emby, mapping the path to a drive and then using path substitution is completely redundant and overly complicated

 

I did this and the server is still direct streaming. 

bluemonkey07
Posted

What client are you using?

Posted

 

Hi, 

Web browsers have only limited format support. When your media doesn't match the browser's supported formats, we have to use a process called transcoding to convert it on the fly. You can learn more about that in our wiki here:

 

https://github.com/MediaBrowser/Wiki/wiki/Transcoding

 

Of interest to you might be the section titled

Why Is My Media Transcoding?

 

Yup, spot on.  I assumed when watching a series that the encoding would remain the same, and the video encoding did - but by sheer coincidence I was streaming AAC audio to my other computer and DTS on the server, so the server was transcoding. 

Now I'll just find a way to put AAC audio with all my media, on top of their other formats. 

 

Thanks for the help! 

  • Like 1
Koleckai Silvestri
Posted

If you are using MKV containers, you can use the MKVToolnix to set your AAC stream to be the first audio stream. It should then be used for devices that support it.

twitchstick
Posted

What client are you using?

I'm using the Emby client on the Shield TV

 

Sent from my SAMSUNG-SM-N910A using Tapatalk

Posted

I'm using the Emby client on the Shield TV

 

Sent from my SAMSUNG-SM-N910A using Tapatalk

 

This app cannot directly access your file system so path substitution does not come into play.  It will direct stream though, which will take very little in the way of resources on the server.

bluemonkey07
Posted

I'm using the Emby client on the Shield TV

 

Sent from my SAMSUNG-SM-N910A using Tapatalk

You could try kodi with the emby add-on, that should direct play almost everything
twitchstick
Posted

Kodi seems to be working well, but how do i get the add-on on to the Shield TV?

bluemonkey07
Posted

Download the emby repository zip file and install from zip in kodi addon settings

twitchstick
Posted

I have it all running but I'm having issues with playback. All my movies start and then stop after about 10 seconds. I need to figure out what is causing that.

 

Sent from my SAMSUNG-SM-N910A using Tapatalk

Posted

Hi I have an Asustor 5004T nas should I setup path substitution?

 

Currently the emby app for android crashes from time to time for me

Posted

Hi I have an Asustor 5004T nas should I setup path substitution?

 

Currently the emby app for android crashes from time to time for me

 

Hi there,

 

Please see our library setup wiki, scroll to the bottom for the path substitution section.

 

https://github.com/MediaBrowser/Wiki/wiki/Library%20Setup

 

Let us know if that explains it better. For the android apps it currently won't matter whether you set it up or not.

  • Like 1
Posted

Thanks Luke I shall do some reading

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...