BinaryWorks.it Official Forum
BinaryWorks.it Official Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password? | Admin Options

 All Forums
 eXtreme Movie Manager 8, 9, 10 Forum
 Scripts
 Bugfix for #YEAR# in IMDB script for TVShows
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

JDommi
Administrator

Germany
4655 Posts

Posted - 19 Jan 2017 :  11:04:08  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Now TV Series and TV Mini-Series will get the correct year, runtime in years and serie status.

#YEAR#
    #STARTREADWEB#
    #PUT#=#17#
    #FINDLINE#=<title>#15##ONERROR#=*STOP*
    #FIND#=(TV #15##ONERROR#=*STOP*
    #RESETCURSOR#
    #FIND#=(TV Series #16##ONERROR#=*OK*
    #IF# #16#<>#00#
        #STRING#=#15#=#16#
        #COMPUTEVAR#=#15#+10
        #COMPUTECURSOR#=+11
        #PUT#=Series: #17#
    #ENDIF#
    #FIND#=(TV Mini-Series #16##ONERROR#=*OK*
    #IF# #16#<>#00#
        #STRING#=#15#=#16#
        #COMPUTEVAR#=#15#+15
        #COMPUTECURSOR#=+16
        #PUT#=Mini-Series: #17#
    #ENDIF#
    #PUT#=4#01#
	#FIND#=)#02#
    #TAKEWORDLEN#=#03#,#15#,#01#
    #TAKEYEAR#=#03#
	#TAKEWORD#=#03#,#15#,#02#
    #CHECKVARIABLE#=#03#
    #STARTSUBSTITUTETAGS#
    #STARTDELETETAGS#
    #CLEARTAGS#
	#TAKECUSTOM4#=#03#
	#PUT#=Ended#03#
	#RESETCURSOR#
	// - =$96 instead of $2D        
	#FIND#=– )#11# #ONERROR#=*OK*
	#IF# #11#<>#00#
		#PUT#=Continuing#03#
	#ENDIF#
	#STRING#=#03#=#17##03#
	#TAKESERIESTATUS#=#03#
#ENDYEAR#

In order to achieve what is possible, you have to try the impossible over and over again.
Hermann Hesse
  Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
BinaryWorks.it Official Forum © Binaryworks.it Go To Top Of Page
Generated in 0.09 sec. Powered By: Snitz Forums 2000 Version 3.4.07