themaCreator http://creator.themasoftware.com/forum/ |
|
Change template if no IMDB / TMDB found. http://creator.themasoftware.com/forum/viewtopic.php?f=18&t=7097 |
Page 1 of 1 |
Author: | Seag4t [ May 8th, 2021, 10:38 am ] |
Post subject: | Change template if no IMDB / TMDB found. |
Hello It is possible to change template if no imdb/tmdb info found? I want to delete some fields and gave space to manualy add some info if i can't get auto from sources I have my main template on VIDEO. I have my backup template on OTHER There are any way to change from VIDEO to OTHER if no imdb/tmdb info found? |
Author: | Freddy [ May 8th, 2021, 1:44 pm ] |
Post subject: | Re: Change template if no IMDB/TMDB found |
You can use "Replacements" to remove not needed or add needed lines. |
Author: | Seag4t [ May 8th, 2021, 3:30 pm ] |
Post subject: | Re: Change template if no IMDB/TMDB found |
I dont think i understand what you mean. So, if themaposter found the imdb, it will give me this: [url={#imdbUrl#}][/url] How can i have replace the {#imdbUrl#} if not found? That way it will not delete even if themaposter found the link? |
Author: | Freddy [ May 8th, 2021, 5:46 pm ] |
Post subject: | Re: Change template if no IMDB/TMDB found |
I believe you meant themaCreator (themaPoster has nothing to do with this). If not found you will have that line like this: Code: [url=N/A][img]http://www.imdblogo.com[/img][/url] You can use a replacement to replace that line to anything you want. |
Author: | Seag4t [ May 8th, 2021, 5:50 pm ] |
Post subject: | Re: Change template if no IMDB/TMDB found |
Every replacement is different on each topic, i can't use any specific word to replace. Per example, i have this on title: Code: [center][color=maroon][size=19pt] [b]{#imdbTitle#} ({#imdbYear#})[/b] [/size][/color] [b]Release:[/b] [u]{#fileName#}[/u] Its works perfect. But everytime the IMDB/TMDB is not found, i only get this: Code: Release:[/b] [u]{#fileName#}[/u] I would love to keep this if not found so i can edit after generated: Code: [center][color=maroon][size=19pt] [b][/b] [/size][/color]
|
Author: | Freddy [ May 8th, 2021, 6:36 pm ] |
Post subject: | Re: Change template if no IMDB/TMDB found |
There is another option which makes this happen at the moment. I will add a new option for 1.92 to prevent that. It will be mentioned in next changelog, you will need to enable it and you will get the result as you expect. Edit: 1.92: * Added option in "Settings" -> "Templates" -> "Video" -> "IMDB / TMDB" -> "If IMDB / TMDB information is not found" -> "Use global option for IMDB sub-tags in "Main" template". |
Author: | Seag4t [ May 8th, 2021, 6:37 pm ] |
Post subject: | Re: Change template if no IMDB/TMDB found |
Freddy wrote: There is another option which makes this happen at the moment. I will need a new option for 1.92 to prevent that. It will be mentioned in next changelog, you will need to enable it and you will get the result as you expect. Thank you |
Author: | Shaki [ May 8th, 2021, 6:38 pm ] |
Post subject: | Re: Change template if no IMDB/TMDB found |
then add enter to make it look like this Code: [center][color=maroon][size=19pt] [b]
{#imdbTitle#} ({#imdbYear#}) [/b] [/size][/color] |
Author: | Freddy [ May 8th, 2021, 6:52 pm ] |
Post subject: | Re: Change template if no IMDB/TMDB found |
You can make that with replacement from 1.92 if needed. |
Author: | Seag4t [ May 8th, 2021, 6:57 pm ] |
Post subject: | Re: Change template if no IMDB/TMDB found |
Shaki wrote: then add enter to make it look like this Code: [center][color=maroon][size=19pt] [b] {#imdbTitle#} ({#imdbYear#}) [/b] [/size][/color] Yes, if i dont use all commands on same line, i think its working. Thanks and i will wait for the fix on next version |
Author: | Seag4t [ June 20th, 2021, 9:51 am ] |
Post subject: | Re: Change template if no IMDB / TMDB found. |
Hello This has been fixed in any of the new versions? I cant find the option to just empty the field If IMDB not found, all this line is removed, and it should be removed only "{#imdbUrl#}" Code: [url={#imdbUrl#}][img]https://www.example.com/imdb.gif[/img][/url]
|
Author: | Freddy [ June 20th, 2021, 1:16 pm ] |
Post subject: | Re: Change template if no IMDB / TMDB found. |
Enable in "Templates" -> "Video" -> "IMDB / TMDB" -> "If IMDB / TMDB information is not found" -> "Use global option for IMDB sub-tags in "Main" template". And in "Settings" -> "Process" -> "General" -> "When some information is missing" -> make sure option "Replace with text" is selected. Make sure you have that line in "Main" template. |
Author: | Seag4t [ June 20th, 2021, 2:16 pm ] |
Post subject: | Re: Change template if no IMDB / TMDB found. |
Freddy wrote: Enable in "Templates" -> "Video" -> "IMDB / TMDB" -> "If IMDB / TMDB information is not found" -> "Use global option for IMDB sub-tags in "Main" template". And in "Settings" -> "Process" -> "General" -> "When some information is missing" -> make sure option "Replace with text" is selected. Make sure you have that line in "Main" template. Thank you! |
Page 1 of 1 | All times are UTC |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |