Jump to content

macOS alias support


streamac
 Share

Go to solution Solved by ebr,

Recommended Posts

streamac

I've just installed Emby and it looks like a very good replacement for StreamToMe. One thing I'd like to see is support for macOS aliases. That way I wouldn't have to always move files into the Emby library folder, I could just copy the alias in place and leave the original file where it was. Currently I get a playback error if there is an alias file in the library instead of the original, so looks like Emby isn't able to follow the alias.

I can't imagine this would be that hard to implement. I'm using Kodi as the local media player and it works with aliases.

Link to comment
Share on other sites

streamac
On 8/23/2021 at 3:59 PM, ebr said:

Hi.  For now, you could use strm files.

Strm Files

Thanks for the tip. I was able to create an Automator action that creates the strm files for selected files. Alias support would remove one extra step so hopefully it can me implemented at some point.

For anyone wanting to do this, create a new Automator service and add "Run Shell Script" action. Set "Pass input: as arguments" and use this snippet as the command:

for f in "$@"
do
	echo "$f" > "$(echo "$f" | sed 's/\.[^.]*$/.strm/')"
done

 

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