Jump to content

Symbolic Links support for linux?


Recommended Posts

Posted

I want to use emby and keep my existing file structures as well, so I write a python script to monitor my videos and generate a virtual folder for emby using symbolic links.

But only when i finished the script do I find that emby can not follow the links.

And I searched and got the old topics as below.

So 5 years had passed and we still do not support the symbolic links? Is it true? Do i miss anything?

Posted

I have not tried.

But if symbolic links do not work... You could do a bind mount to mount a directory to another directory.  This is how I deal with Docker, since Docker doesn't like symbolic links.

Posted
7 hours ago, sargenthp said:

I have not tried.

But if symbolic links do not work... You could do a bind mount to mount a directory to another directory.  This is how I deal with Docker, since Docker doesn't like symbolic links.

I will make hundreds of symbolic links for my video data... It's not acceptable to make that many of mount binds.

Posted
19 minutes ago, Luke said:

Hi, there is still work to be done in the .net runtime before we can fully support them: https://github.com/dotnet/runtime/issues/53577

Yes, this is a upstream bug😥, I have to make a hardlink version of solution, but that will involve much large number of file operations and is not very elegant

  • Thanks 1
  • 2 weeks later...
Posted (edited)

I found another way to keep my own folder name structure while make emby fetching the right metadata

by just manually `Identify` for each item and input some ids (e.g., tvdbid, tmdbid) and search

Do we have an API to trigger this `Identify` process? If we do, these is not need to make symbol links or hardlinks, we just import the raw folder and trigger the `Identify` process in emby, using a much easier python script without FILE operations.

@Luke

Edited by randomWalk
Posted
4 hours ago, randomWalk said:

I found another way to keep my own folder name structure while make emby fetching the right metadata

by just manually `Identify` for each item and input some ids (e.g., tvdbid, tmdbid) and search

Do we have an API to trigger this `Identify` process? If we do, these is not need to make symbol links or hardlinks, we just import the raw folder and trigger the `Identify` process in emby, using a much easier python script without FILE operations.

@Luke

It would have to be able to be resolved by the normal library scan process.

Posted (edited)

I made it!

my series root folder name is like `[202101][无职转生][Mushoku Tensei - Jobless Reincarnation (2021) {tmdb=94664} ]`

emby can not parse it and will not fetch metadata

The I write a script, search for all series that have name in the above format, parse the tmdb ID, and then use these APIs

POST /Items/{ItemId}
body_data = {
  'ProviderIds': {
    'Tmdb': 123,
  }
}

this will temporary erase all metadata, except for the Tmdb or Tvdb id

then we use

POST /Items/{Id}/Refresh

to trigger a refresh, and wait for a second emby will start to fetch the metadata, based on the only metadata it have (the tmdb id)

see the full documents of the APIs here: http://swagger.emby.media/?staticview=true#/

Edited by randomWalk
Posted (edited)

Hmm thats wierd.

[202101][无职转生][Mushoku Tensei - Jobless Reincarnation (2021) {tmdb=94664} ]

Try with  a   -   instead of   =   

just for the fun of it.

[202101][无职转生][Mushoku Tensei - Jobless Reincarnation (2021) {tmdb-94664} ]

Edited by jaycedk
Posted

Either

[202101][无职转生][Mushoku Tensei - Jobless Reincarnation (2021) {tmdb=94664} ]

nor

[202101][无职转生][Mushoku Tensei - Jobless Reincarnation (2021) {tmdb-94664} ]

can trigger the metadata fetch process

Posted

Perhaps emby doesn’t like the nested brackets?:
[202101][无职转生][Mushoku Tensei - Jobless Reincarnation (2021) {tmdb=94664} ]

try:
[202101][无职转生][Mushoku Tensei - Jobless Reincarnation (2021)][tmdb=94664]

  • 2 weeks later...
Posted

I use [tmdbid=xxxx] instead of [tmdb=xxxx], now emby can recognize it.

Posted
9 hours ago, randomWalk said:

I use [tmdbid=xxxx] instead of [tmdb=xxxx], now emby can recognize it.

The upcoming 4.8 server release will support both conventions. Thanks.

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