Jump to content

Emby 4.6.7.0 strips exclamation mark from dirname only for .nfo ?


pgemby

Recommended Posts

I'm running a new-install Emby v4.6.7.0 server on a Synology DS918 (Intel/64) on DSM v7.

I have a title in my store,

    /volume1/share1/Movies/¡Three_Amigos!_(1986)/¡Three_Amigos!_(1986).mkv

I've configured for Emby to save art & .nfo to folders.

After a top-level metadata refresh,
```
find . | grep Amigo
    ./¡Three_Amigos!_(1986)
    ./¡Three_Amigos!_(1986)/¡Three_Amigos!_(1986).mkv
    ./¡Three_Amigos!_(1986)/.actors
    ./¡Three_Amigos!_(1986)/.actors/Kai_Wulff.jpg
    ./¡Three_Amigos!_(1986)/.actors/Brian_Thompson.jpg
    ./¡Three_Amigos!_(1986)/.actors/Philip_Gordon.jpg
    ./¡Three_Amigos!_(1986)/.actors/Brinke_Stevens.jpg
    ./¡Three_Amigos!_(1986)/.actors/Norbert_Weisser.jpg
    ./¡Three_Amigos!_(1986)/.actors/Jon_Lovitz.jpg
    ./¡Three_Amigos!_(1986)/.actors/Joe_Mantegna.jpg
    ./¡Three_Amigos!_(1986)/.actors/Dyana_Ortelli.jpg
    ./¡Three_Amigos!_(1986)/.actors/Alfonso_Aráu.jpg
    ./¡Three_Amigos!_(1986)/.actors/Rebecca_Ferratti.jpg
    ./¡Three_Amigos!_(1986)/.actors/Alfonso_Arau.jpg
    ./¡Three_Amigos!_(1986)/.actors/Steve_Martin.jpg
    ./¡Three_Amigos!_(1986)/.actors/Tony_Plana.jpg
    ./¡Three_Amigos!_(1986)/.actors/Chevy_Chase.jpg
    ./¡Three_Amigos!_(1986)/.actors/Phil_Hartman.jpg
    ./¡Three_Amigos!_(1986)/.actors/Patrice_Martinez.jpg
    ./¡Three_Amigos!_(1986)/.actors/Martin_Short.jpg
    ./Three_Amigos_(1986)
    ./Three_Amigos_(1986)/¡Three_Amigos!_(1986).nfo
```

notice that while the

    ./actors/*.jpg

images are written into same parent folder as the title,

    ./¡Three_Amigos!_(1986)/

the .nfo _file_, with correct *name*

    ¡Three_Amigos!_(1986).nfo

is written into an INCORRECTLY named parent folder,

    ./Three_Amigos_(1986)/

with the "¡" & "!" stripped off.

 

Link to comment
Share on other sites

Hi, I would suggest fixing the current problem by removing the incorrectly named folder that shouldn't be there.
Emby should then write the NFO to the proper location.

I'm not sure why it writes the NFO to a location with no media in it and is something @Luke will need to take a look at. Luke I've seen this happen a couple of times as well.

@pgemby let us know if removing the folder and doing another scan places the NFO in the correct location.

Thanks.

Link to comment
Share on other sites

Happy2Play

Do you by chance have the server log showing the import of that movies and creating those files?

Does moving that movie out of your library and deleting the images and nfo and wrong folder, doing a scan to remove from Emby, then readding the movie replicate your issue?

But since you have .actor folder which Emby does not create are you sure Emby is doing this?

  • Like 1
Link to comment
Share on other sites

@cayars

> removing the incorrectly named folder that shouldn't be there.  Emby should then write the NFO to the proper location.

The 'incorrectly named folder' wasn't there in the first place.  Emby's refresh apparently creates the folder.

Removing it, then refreshing, simply repeated the process ... the .nfo, correctly named, is written to a newly-created incorrectly named folder.

 

  • Thanks 1
Link to comment
Share on other sites

@happy2play

> Does moving that movie out of your library and deleting the images and nfo and wrong folder, doing a scan to remove from Emby, then readding the movie replicate your issue?

checking that now ...

 

Link to comment
Share on other sites

@happy2play

removing all *Amigos* folders/files from Library, rescan, then recreate correctly-named folder in Library path, with .mkv in it, then rescan (not entirely clear, yet, what the functional diff in this case 'tween rescan and refresh is ) again ...

now good:

ls -alR '¡Three_Amigos!_(1986)'
'¡Three_Amigos!_(1986)':
total 1720340
drwxrwxrwx    2 nobody users       4096 Dec  9 19:12  .
drwxrwxrwx 1741 nobody users      73728 Dec  9 19:12  ..
-rw-r--r--    1 emby   emby      358727 Dec  9 19:12  fanart.jpg
-rw-r--r--    1 emby   emby      291782 Dec  9 19:12  poster.jpg
-rw-rw-rw-    1 nobody users 1760876536 Feb  1  2019 '¡Three_Amigos!_(1986).mkv'
-rw-r--r--    1 emby   emby        6672 Dec  9 19:12 '¡Three_Amigos!_(1986).nfo'

now to pay some attention to perms/users/groups ....

thanks!

Edited by pgemby
  • Thanks 2
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
×
×
  • Create New...