chef 3810 Posted February 4, 2023 Author Posted February 4, 2023 On 2/2/2023 at 10:22 AM, Darkseidd said: I disabled nfo generation at all self-build library. I didnt touch top picks library settings @Darkseidd I've done some digging. What happens here, is top picks creates a nfo file for the series. But, we only give it a DateAdded value. This means that it is Emby who goes out and tries to name the Series it has found inside the Top Picks library. And wouldn't you know it, Emby doesn't choose the proper name for the series. So, I have a release here that gives a title to the series NFO to help Emby out with naming. I suppose the proper thing to do, is add some provider ID's into the mix, so there is no way emby can choose the improper name. Hopefully it's enough to help emby name items properly. 1
woenk 62 Posted February 5, 2023 Posted February 5, 2023 6 hours ago, chef said: @Darkseidd I've done some digging. What happens here, is top picks creates a nfo file for the series. But, we only give it a DateAdded value. This means that it is Emby who goes out and tries to name the Series it has found inside the Top Picks library. And wouldn't you know it, Emby doesn't choose the proper name for the series. So, I have a release here that gives a title to the series NFO to help Emby out with naming. I suppose the proper thing to do, is add some provider ID's into the mix, so there is no way emby can choose the improper name. Hopefully it's enough to help emby name items properly. Shouldn't Emby have found it before that ? I mean, all the info one needs is already in the database, really no need to retry to find something. A databse query should be enough to get anything one needs. And allways remember...the first rule about databases is that you do not do redundancies. 1
Darkseidd 59 Posted February 5, 2023 Posted February 5, 2023 7 hours ago, chef said: @Darkseidd I've done some digging. What happens here, is top picks creates a nfo file for the series. But, we only give it a DateAdded value. This means that it is Emby who goes out and tries to name the Series it has found inside the Top Picks library. And wouldn't you know it, Emby doesn't choose the proper name for the series. So, I have a release here that gives a title to the series NFO to help Emby out with naming. I suppose the proper thing to do, is add some provider ID's into the mix, so there is no way emby can choose the improper name. Hopefully it's enough to help emby name items properly. thanks @chef! does this fix is in .44, or future release?
chef 3810 Posted February 5, 2023 Author Posted February 5, 2023 18 minutes ago, Darkseidd said: thanks @chef! does this fix is in .44, or future release? Next release for tomorrow afternoon. I've just got to make sure setting the IMDB id in the NFO is actually going to work. 1
Darkseidd 59 Posted February 5, 2023 Posted February 5, 2023 23 minutes ago, chef said: Next release for tomorrow afternoon. I've just got to make sure setting the IMDB id in the NFO is actually going to work. thanks @chef anyway i just dig around data made by Top Picks on movie, to figure out my previous unsolved issue.. is it normal for .srt file to be together with .strm file, inside top oicks data folder?
chef 3810 Posted February 5, 2023 Author Posted February 5, 2023 1 minute ago, Darkseidd said: thanks @chef anyway i just dig around data made by Top Picks on movie, to figure out my previous unsolved issue.. is it normal for .srt file to be together with .strm file, inside top oicks data folder? Yeah, they get copied over if they exist in the library. That way if you select the top picks version, your subtitles will be available to you. 1
Junglejim 385 Posted February 5, 2023 Posted February 5, 2023 17 hours ago, chef said: Something is up with the admin panel for the catalog. It won't let me put a new version of top picks there. I'm going to put it here for now. clear the browser cache. 1.0.0.44 Emby.TopPicks_1.0.0.44.zip 9.77 MB · 1 download @Spaceboy @horstepipe There is an alpha-picker there. Hi mate, did you get this sorted out? Not a big deal really, my library is tiny compared to some. Will be nice to jump to the relevant section though. I can wait till it pops up as a update. @Spaceboy @horstepipe have you tried the download?
Cheesegeezer 3104 Posted February 5, 2023 Posted February 5, 2023 46 minutes ago, Spaceboy said: no, i only have .43 avaiulable .44 is on last post of previous page. Chef couldn’t update on the admin portal to update the catalog
GrimReaper 4739 Posted February 5, 2023 Posted February 5, 2023 2 hours ago, Junglejim said: have you tried the download?
chef 3810 Posted February 5, 2023 Author Posted February 5, 2023 (edited) 13 hours ago, woenk said: Shouldn't Emby have found it before that ? I mean, all the info one needs is already in the database, really no need to retry to find something. A databse query should be enough to get anything one needs. And allways remember...the first rule about databases is that you do not do redundancies. The original library item is in the database, yes you are correct. But, when we create the strm file it isn't really the original. It points to the original. So we name it, and copy it's NFO file. If the user has enabled NFO files for their library we won't have any issues naming the strm file. Emby will read the NFO for metadata. But, if the user doesn't have an NFO file to copy, then the library refresh is technically seeing the strm file as new item, and emby attempts to name it from the providers. In the case of "Reacher" being named "The Teacher", Emby has mis-named it. Because naming is happening inside the library refresh, we can't really control the results at that point (inside the scan). I think we can add some provider IDs to our prefabricated NFO, and I'm hoping that emby attempts to read the NFO during the library scan (I'm not sure if it does or not). I have a feeling that it does read the NFO, and it fills in missing data, because we set a DateAdded node to the NFO, and it doesn't get overwritten during the scan, and we use this node to control where the item is placed on the home screen. If that doesn't work, then the next step would be having to write the NFO from scratch using the database information. I just have to figure out what the keys are named for the IDs inside the PrividerDictionary. @Cheesegeezer, do you know what the keys are named inside the ProviderDictionary? Are they: Imdbid, Tmdbid Like that? Otherwise, I'll just get an exception of key value pairs not found in the ProviderDictionary. Edited February 5, 2023 by chef
GrimReaper 4739 Posted February 5, 2023 Posted February 5, 2023 3 minutes ago, chef said: and I'm hoping that emby attempts to read the NFO during the library scan (I'm not sure if it does or not). Emby will read existing NFO only if Metadata Readers>Nfo option is enabled in library settings. 1
chef 3810 Posted February 5, 2023 Author Posted February 5, 2023 2 minutes ago, GrimReaper said: Emby will read existing NFO only if Metadata Readers>Nfo option is enabled in library settings. Right, and top picks does have this enabled. So, it should work. 1
chef 3810 Posted February 5, 2023 Author Posted February 5, 2023 Actually, I was thinking about that statement that an item shouldn't be duplicated in a database. This is why we are seeing duplicated items in Recent Watched items on the home screen from channel items, and strm files. I wish there was away for emby to handle strm files and Channel items differently, outside the database. But, I don't think the infrastructure is there to do that.
UltraTM 1 Posted February 5, 2023 Posted February 5, 2023 (edited) Hello, i have the problem that in the Top Pick library they are in correct order but on the mainside not. There they are not from 1-8 in my example. What can i do against it? Mainscreen (Homepage) Top Picks Library Edited February 5, 2023 by UltraTM
chef 3810 Posted February 5, 2023 Author Posted February 5, 2023 21 minutes ago, UltraTM said: Hello, i have the problem that in the Top Pick library they are in correct order but on the mainside not. There they are not from 1-8 in my example. What can i do against it? Mainscreen (Homepage) Top Picks Library Can you run the top picks update task again, and let me know if this fixes the issue? If it doesn't, please may I see a log file?
Cheesegeezer 3104 Posted February 5, 2023 Posted February 5, 2023 Chef you can get the providerId from the item itself. let me find it, i use it in VantagePoint var imdbID = item.GetProviderId(MetadataProviders.Imdb); string tmdbID = item.GetProviderId(MetadataProviders.Tmdb); 1
horstepipe 422 Posted February 5, 2023 Posted February 5, 2023 6 hours ago, Junglejim said: Hi mate, did you get this sorted out? Not a big deal really, my library is tiny compared to some. Will be nice to jump to the relevant section though. I can wait till it pops up as a update. @Spaceboy @horstepipe have you tried the download? Yes, just installed it. Alpha picker works fine, thanks @chef ! 1
UltraTM 1 Posted February 5, 2023 Posted February 5, 2023 1 hour ago, chef said: Can you run the top picks update task again, and let me know if this fixes the issue? If it doesn't, please may I see a log file? it doesnt help. But there is an error in the log with Top Pick. See attached. using the latest stable release from emby embyserver.txt 1
horstepipe 422 Posted February 5, 2023 Posted February 5, 2023 Can anybody help how to sort the items from 1 to 10?
GrimReaper 4739 Posted February 5, 2023 Posted February 5, 2023 1 minute ago, horstepipe said: Can anybody help how to sort the items from 1 to 10? Sort where?
horstepipe 422 Posted February 5, 2023 Posted February 5, 2023 3 minutes ago, GrimReaper said: Sort where? When acceding the top picks library via main menu. I don’t find a way to sort them by the top picks number,, but from the screenshots I saw they seem to be able to be sorted…?
chef 3810 Posted February 5, 2023 Author Posted February 5, 2023 3 hours ago, UltraTM said: Hello, i have the problem that in the Top Pick library they are in correct order but on the mainside not. There they are not from 1-8 in my example. What can i do against it? Mainscreen (Homepage) Top Picks Library 4 minutes ago, horstepipe said: Can anybody help how to sort the items from 1 to 10? Hmmm... Are starting to see a bug here? 3 minutes ago, GrimReaper said: Sort where? Are you seeing items in the proper order Grim?
GrimReaper 4739 Posted February 5, 2023 Posted February 5, 2023 (edited) On 10/18/2022 at 1:17 PM, chef said: Entering the Top Picks library you should choose to "Sort by Date Added" to have the images order themselves. @horstepipe Edited February 5, 2023 by GrimReaper 1 1
GrimReaper 4739 Posted February 5, 2023 Posted February 5, 2023 2 minutes ago, chef said: Hmmm... Are starting to see a bug here? Are you seeing items in the proper order Grim? Yup, no issues on .44.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now