Jump to content

Support for movie naming starting with year


Go to solution Solved by Luke,

Recommended Posts

ilCosmico
Posted (edited)

Hello Support,

I'd like to store movie collection using the year as first info to respect the release date of every movie.

For example, consider the Jurassic Park Collection, I'd like to store it in this way:

(1993) Jurassic Park

(1997) Il mondo perduto - Jurassic Park

(2001) Jurassic Park III

etc..

In this way, I get ordered files in my folder and it would be really nice if Emby could support this kind of naming, thanks! 

Edited by ilCosmico
ilCosmico
Posted

I just realized that maybe the problem is the one reported here.

I will check again when the bug will be fixed, and in case, I will close this feature request.

emdubya77
Posted (edited)

[deleted]

Edited by emdubya77
ilCosmico
Posted

I know, but I spoke about the way I store the file on my hd.

Happy2Play
Posted
15 minutes ago, ilCosmico said:

I just realized that maybe the problem is the one reported here.

I will check again when the bug will be fixed, and in case, I will close this feature request.

But your log shows proper querying with this naming scheme with year first.

image.png.20929df1e3136d03d94de81e1f85a613.png

image.png.dcd4710cce10747eb88890166bf8b853.png

Have not tested but what issue are you having beside the parser not handling the multiple periods in Italian name translation.

ilCosmico
Posted (edited)

If I write the year as first info in the filename, the query does not return any result

image.thumb.png.8dfa98dc256803ab46422483b724fddb.png

You can try by yourself

(Year) filename.extension => NO RESULTS
https://api.themoviedb.org/3/search/movie?api_key=‌{f6bd687ffa63cd282b6ff2c6877f2669}‌&query=(1970) Lo Chiamavano Trinita'....mkv&language=it&year=1970

(Year) filename => NO RESULTS
https://api.themoviedb.org/3/search/movie?api_key=‌{f6bd687ffa63cd282b6ff2c6877f2669}‌&query=(1970) Lo Chiamavano Trinita'...&language=it&year=1970

filename (Year) => RESULT OK
https://api.themoviedb.org/3/search/movie?api_key=‌{f6bd687ffa63cd282b6ff2c6877f2669}‌&query=Lo Chiamavano Trinita'...&language=it&year=1970

Edited by ilCosmico
Cheesegeezer
Posted

Tmdb has a specific year api call. In emby you can get the year from the baseitemDto.

you can then filter by this.

i don’t think there is anything emby needs to add, you need to set your filters on your folders to display in this style and they will be saves in user preferences 

 

Happy2Play
Posted (edited)

Appears to work here, tested folder and flat structure.

2022-07-02 11:54:23.681 Debug App: Running MovieDbProvider for C:\Users\Media\Desktop\Videos\Movies - nfo\(1993) Jurassic Park\(1993) Jurassic Park.strm
2022-07-02 11:54:23.684 Info App: MovieDbProvider: Finding id for item: Jurassic Park
2022-07-02 11:54:23.688 Info HttpClient: GET https://api.themoviedb.org/3/search/movie?api_key=‌f6bd687ffa63cd282b6ff2c6877f2669‌&query=Jurassic Park&language=en&year=1993

Flat issue

2022-07-02 12:02:50.382 Debug App: Running MovieDbProvider for C:\Users\Media\Desktop\Videos\Movies - Flat test\(2001) Jurassic Park III.strm
2022-07-02 12:02:50.382 Info App: MovieDbProvider: Finding id for item: Jurassic Park III.strm
2022-07-02 12:02:50.382 Info HttpClient: GET https://api.themoviedb.org/3/search/movie?api_key=‌f6bd687ffa63cd282b6ff2c6877f2669‌&query=Jurassic Park III.strm&language=en&year=2001

Need to see server log for specific example that does not work as your posted examples are not the queries actually being used by Emby that I can see.

This should never work "query=(1970) Lo Chiamavano Trinita'..." as you get the no results on their website with that also.

Actually @Lukethe issue is with Flat structure (no item folder) querying with file extension.

item imported

image.png.7f6a1e35cb45977e3f0e226353dde6b7.png

 

Edited by Happy2Play
  • Agree 1
  • Solution
Posted

Hi, yes we can look at supporting this. Thanks.

ilCosmico
Posted
3 minutes ago, Luke said:

Hi, yes we can look at supporting this. Thanks.

Thank you very much!

  • 3 weeks later...
ilCosmico
Posted

Hi @Luke,

I'm testing server version 4.8.0.6 beta and it works like a charm!

I had to remove the move library and re-add it to make it woks, but now it seems ok.

Thank you very much!

Posted

Thanks for the feedback.

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