chef 3752 Posted August 15, 2015 Share Posted August 15, 2015 (edited) Fixed the TV Series Save Path - now saves into proper series folder (should squash the saving error) Attempted to wrap the graphic text for long titles to make them fit on the image. (they only wrap once, but may need to wrap again for really long titles) https://dl.dropboxusercontent.com/u/46151346/Thumb%20Maker.zip Here's a question, where does emby store boxset info? I want to remove some thumbs so I can test collections/boxset info. Edited August 15, 2015 by chef 1 Link to comment Share on other sites More sharing options...
FrostByte 5063 Posted August 15, 2015 Share Posted August 15, 2015 I like the text wrap. Can the font size be increased any? It seems a little small, but probably can't be increased too much without causing sizing issues. The last couple builds it always comes back with "No Titles" after I run it the first time. I can't get it to find anything after the first run. Running a new build almost seems to wipe out a flag or something Link to comment Share on other sites More sharing options...
chef 3752 Posted August 15, 2015 Share Posted August 15, 2015 I like the text wrap. Can the font size be increased any? It seems a little small, but probably can't be increased too much without causing sizing issues. The last couple builds it always comes back with "No Titles" after I run it the first time. I can't get it to find anything after the first run. Running a new build almost seems to wipe out a flag or something Movies and Series are returning "no titles"? It is possible that the long running tasks to gather title info are erroring. If that is the case, I will alert the screen of the error so you can press the button again. That is one issue with asynchronous calls, sometimes (rarely.. Mind you) they time out during high network activity. Link to comment Share on other sites More sharing options...
FrostByte 5063 Posted August 15, 2015 Share Posted August 15, 2015 (edited) Ya, even movies and tv are saying No Titles now. Collections and Artists have always said that for me. I'm running this local on the server, I'll keep trying it though and see if it eventually comes back with something Edit: btw text thumbs are saving correctly now with no errors Edited August 15, 2015 by FrostByte Link to comment Share on other sites More sharing options...
chef 3752 Posted August 15, 2015 Share Posted August 15, 2015 I need to streamline the code a bit. It is getting to bulky for what it is actually doing. That will probably fix the empty returns. I also added an image list that allows you to choose which backdrop to use visually. It's pretty cool. Should have something better in a bit. 1 Link to comment Share on other sites More sharing options...
FrostByte 5063 Posted August 15, 2015 Share Posted August 15, 2015 That's cool. Sometimes I like the backdrop 2/3 images more than the first 1 Link to comment Share on other sites More sharing options...
Happy2Play 8389 Posted August 15, 2015 Share Posted August 15, 2015 TV path is fixed. Text version and Logo version save for Movie and TV. Only save issue left so far is saving clearart for TV and Movies still returns same error. Text is definitely small No Titles for Box sets and Music Artists. Box set I have the plugin but the majority are done the old way. Link to comment Share on other sites More sharing options...
ebr 14969 Posted August 15, 2015 Share Posted August 15, 2015 When falling back to just text, I suggest moving it to the bottom and right justifying it. It will be much more likely the image doesn't contain important elements at that position. Also, putting some sort of darker screen behind it, or using a text shadow (if possible) would help readability on all backgrounds. 1 Link to comment Share on other sites More sharing options...
chef 3752 Posted August 15, 2015 Share Posted August 15, 2015 How do you calculate the graphical size of text. That is where I'm stuck. If I place the graphics in a bitmap it isn't transparent, but I can't figure out the width of the text when creating media item names on the fly. @@ebr Link to comment Share on other sites More sharing options...
ebr 14969 Posted August 15, 2015 Share Posted August 15, 2015 I believe ImageMagick has everything you need to draw text at a specific size. Maybe @t.andre can point you in the right direction. Link to comment Share on other sites More sharing options...
chef 3752 Posted August 15, 2015 Share Posted August 15, 2015 (edited) Darn, I should have been using image magick instead of the GDI+ this whole time. It's way better... Actually, a little slow in the up take. I'm drawing string graphics when it should be simply a label. Geez! Edited August 15, 2015 by chef 1 Link to comment Share on other sites More sharing options...
chef 3752 Posted August 16, 2015 Share Posted August 16, 2015 Man oh man, I didn't finish the Text issues yet, I had to remove clearart to test this. There is an Image list, so you can choose which backdrops you want to use in your thumbs now. Sometimes fetching the Backdrops takes some time, so if the program seems to be come unresponsive, because it isn't threaded yet, it isn't forever. https://dl.dropboxusercontent.com/u/46151346/Thumb%20Maker.zip 1 Link to comment Share on other sites More sharing options...
FrostByte 5063 Posted August 16, 2015 Share Posted August 16, 2015 (edited) Almost there, just a little off with the text. Both text and logo movies save correctly Still nothing back from Collections or Artists for me. All Collections created with plugin or manually created using the metadata manager. I have no boxsets per say Edited August 16, 2015 by FrostByte Link to comment Share on other sites More sharing options...
FrostByte 5063 Posted August 16, 2015 Share Posted August 16, 2015 (edited) I noticed if you click on a movie title and an associated backdrop, then click on another movie but forget to click a backdrop before clicking "show thumb" it shows the backdrop from the first movie. Maybe the backdrop field can be cleared when click a new movie? Edit: Or maybe if you click a new movie the first backdrop could be selected as default Edited August 16, 2015 by FrostByte 1 Link to comment Share on other sites More sharing options...
FrostByte 5063 Posted August 16, 2015 Share Posted August 16, 2015 Is the image being resized before, or after the logo is pasted? This was a 1280x720 image as source and the logo looks very large. Wonder if the image was resized first it would look right? Link to comment Share on other sites More sharing options...
chef 3752 Posted August 16, 2015 Share Posted August 16, 2015 Good catch with the backdrops not changing. I will fix it. The logo should change size based on the backdrop height and width, after resizing. You are right, The "you kill me" thumb is way off and I'll read through to see why. Link to comment Share on other sites More sharing options...
chef 3752 Posted August 16, 2015 Share Posted August 16, 2015 1. This will take the first backdrop of the collection and make the thumb in case you don't choose one from the list of backdrop images. 2. Re-scaling Logos is now based on the size and shape of the logo over-lay: example: Rectangle Logos which are longer then they are tall will re-size slightly larger, however square logos/logos which are taller then wide will scale down smaller. Currently fixing Clear art and text graphics. https://dl.dropboxusercontent.com/u/46151346/Thumb%20Maker.zip 1 Link to comment Share on other sites More sharing options...
FrostByte 5063 Posted August 16, 2015 Share Posted August 16, 2015 Is it possible it is remembering an old search list from memory or something? Reason is I saved a thumb, closed the app, and then reran the app with another search and it still thought that movie was missing a thumb even though I could see it in the folder. As another test I deleted a thumb I created yesterday, then closed the app and reran a search and it didn't see that the thumb was missing. Once I rebooted the computer then all seemed to be good. Link to comment Share on other sites More sharing options...
chef 3752 Posted August 16, 2015 Share Posted August 16, 2015 (edited) After a thumb has been added or removed you'll have to run an emby media scan to pick iup the change. Once it appears in the emby metadata editor it won't show up in the list if added and vice versa. I'll make sure that the dictionary of media items are cleared before each search, just to make sure it isn't on the thumb makers end of things. Edited August 16, 2015 by chef 1 Link to comment Share on other sites More sharing options...
FrostByte 5063 Posted August 16, 2015 Share Posted August 16, 2015 Ok, that makes sense. Thanks Link to comment Share on other sites More sharing options...
chef 3752 Posted August 17, 2015 Share Posted August 17, 2015 1. I fixed the Clear Art Saving problem, you can now choose Clear Art again (not as customizable as I originally intended, but they look good) 2. I took @@ebr s advice and used graphics to layer the Text to give it a Black drop shadow effect. It is subtle. 3. I also used Graphics to draw a transparent Rectangle around the Text version of the name, and tried to place it as close as I could in the bottom right. Other fixes include: - Wrapping text a third time for really long titles. - The Image list is coded better. The only thing that might still be a problem is there is no threading when loading the Image list, so the program may become unresponsive for a moment. https://dl.dropboxusercontent.com/u/46151346/Thumb%20Maker.zip 1 Link to comment Share on other sites More sharing options...
FrostByte 5063 Posted August 17, 2015 Share Posted August 17, 2015 (edited) There are a few which do not wrap at the beginning of the word. It almost seems like if it has a large word it's dealing with then it chops, if it's a small word that goes over then the word is brought down to the next line. In the two thumbs that are wrong the words "Christmas Favourites" and "Mayflower Voyagers" was cut off. That's just my observation on the ones that work and the ones that don't, it may not be correct. On shorter titles that are only one line long the background shadow is still two lines big. It's hard to see here, but it's there and I see it on others also The shadow again is two lines even on very long titles which are 3 lines long. Also, not sure why this one wrapped the third time, it appears it could fit in 2 lines Edited August 17, 2015 by FrostByte 1 Link to comment Share on other sites More sharing options...
Happy2Play 8389 Posted August 17, 2015 Share Posted August 17, 2015 There appears to be an issue with same name movies. In the list it default to one of the movies, it flash the second movie backdrop but revert back to the other. Hope that makes since. 1 Link to comment Share on other sites More sharing options...
chef 3752 Posted August 17, 2015 Share Posted August 17, 2015 There are a few which do not wrap at the beginning of the word. It almost seems like if it has a large word it's dealing with then it chops, if it's a small word that goes over then the word is brought down to the next line. In the two thumbs that are wrong the words "Christmas Favourites" and "Mayflower Voyagers" was cut off. That's just my observation on the ones that work and the ones that don't, it may not be correct. On shorter titles that are only one line long the background shadow is still two lines big. It's hard to see here, but it's there and I see it on others also The shadow again is two lines even on very long titles which are 3 lines long. Also, not sure why this one wrapped the third time, it appears it could fit in 2 lines I was afraid of this. It looks like the condition is going to have to count letters instead of words. 1 Link to comment Share on other sites More sharing options...
chef 3752 Posted August 19, 2015 Share Posted August 19, 2015 This should fix @@Happy2Play (s) dual movie bug. It's not as pretty in the List because the Id is now shown beside the name, it should fix it. Still major problems with text wrapping. There are a couple of conditions added which may sort out some text issues, but there will still be problems with the shaded rectangle under the text. https://dl.dropboxusercontent.com/u/46151346/Thumb%20Maker.zip 1 Link to comment Share on other sites More sharing options...
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