File tree 11 files changed +22
-22
lines changed
11 files changed +22
-22
lines changed Original file line number Diff line number Diff line change @@ -28,9 +28,9 @@ sub setPoster()
28
28
if isValidAndNotEmpty (m .top .json .ImageBlurHashes .Primary )
29
29
blurhash = m .top .json .ImageBlurHashes .Primary [m .top .json .ImageTags .Primary ]
30
30
if get_user_setting ("ui.design.renderblurhashes" ) = "true" and isValidAndNotEmpty (blurhash )
31
- ' timer = CreateObject("roTimeSpan")
31
+ timer = CreateObject ("roTimeSpan " )
32
32
m .top .posterBlurHashUrl = renderFakeBlurhash (blurhash , imgParams .maxWidth , imgParams .maxHeight )
33
- ' print "Took " + Str(timer.totalMilliseconds()) + " milliseconds to render a blurhash in CollectionData."
33
+ print "Took " + Str (timer .totalMilliseconds ()) + " milliseconds to render a blurhash in CollectionData."
34
34
end if
35
35
end if
36
36
else if m .top .json .BackdropImageTags <> invalid
Original file line number Diff line number Diff line change @@ -31,9 +31,9 @@ sub setPoster()
31
31
if isValidAndNotEmpty (m .top .json .ImageBlurHashes .Primary )
32
32
blurhash = m .top .json .ImageBlurHashes .Primary [m .top .json .ImageTags .Primary ]
33
33
if get_user_setting ("ui.design.renderblurhashes" ) = "true" and isValidAndNotEmpty (blurhash )
34
- ' timer = CreateObject("roTimeSpan")
34
+ timer = CreateObject ("roTimeSpan " )
35
35
m .top .posterBlurHashUrl = renderFakeBlurhash (blurhash , imgParams .maxWidth , imgParams .maxHeight )
36
- ' print "Took " + Str(timer.totalMilliseconds()) + " milliseconds to render a blurhash in FolderData."
36
+ print "Took " + Str (timer .totalMilliseconds ()) + " milliseconds to render a blurhash in FolderData."
37
37
end if
38
38
end if
39
39
end if
Original file line number Diff line number Diff line change @@ -51,9 +51,9 @@ sub setPoster()
51
51
if isValidAndNotEmpty (m .top .json .ImageBlurHashes .Primary )
52
52
blurhash = m .top .json .ImageBlurHashes .Primary [m .top .json .ImageTags .Primary ]
53
53
if get_user_setting ("ui.design.renderblurhashes" ) = "true" and isValidAndNotEmpty (blurhash )
54
- ' timer = CreateObject("roTimeSpan")
54
+ timer = CreateObject ("roTimeSpan " )
55
55
m .top .posterBlurHashUrl = renderFakeBlurhash (blurhash , imgParams .maxWidth , imgParams .maxHeight )
56
- ' print "Took " + Str(timer.totalMilliseconds()) + " milliseconds to render a blurhash in MoviesData."
56
+ print "Took " + Str (timer .totalMilliseconds ()) + " milliseconds to render a blurhash in MoviesData."
57
57
end if
58
58
end if
59
59
else if isValid (m .top .json .BackdropImageTags ) and isValid (m .top .json .BackdropImageTags [0 ])
Original file line number Diff line number Diff line change @@ -22,9 +22,9 @@ sub setPoster()
22
22
if isValidAndNotEmpty (m .top .json .ImageBlurHashes .Primary )
23
23
blurhash = m .top .json .ImageBlurHashes .Primary [m .top .json .ImageTags .Primary ]
24
24
if get_user_setting ("ui.design.renderblurhashes" ) = "true" and isValidAndNotEmpty (blurhash )
25
- ' timer = CreateObject("roTimeSpan")
25
+ timer = CreateObject ("roTimeSpan " )
26
26
m .top .posterBlurHashUrl = renderFakeBlurhash (blurhash , imgParams .maxWidth , imgParams .maxHeight )
27
- ' print "Took " + Str(timer.totalMilliseconds()) + " milliseconds to render a blurhash in MusicAlbumSongListData."
27
+ print "Took " + Str (timer .totalMilliseconds ()) + " milliseconds to render a blurhash in MusicAlbumSongListData."
28
28
end if
29
29
end if
30
30
else if m .top .json .BackdropImageTags [0 ] <> invalid
Original file line number Diff line number Diff line change @@ -25,9 +25,9 @@ sub setPoster()
25
25
if isValidAndNotEmpty (m .top .json .ImageBlurHashes .Primary )
26
26
blurhash = m .top .json .ImageBlurHashes .Primary [m .top .json .ImageTags .Primary ]
27
27
if get_user_setting ("ui.design.renderblurhashes" ) = "true" and isValidAndNotEmpty (blurhash )
28
- ' timer = CreateObject("roTimeSpan")
28
+ timer = CreateObject ("roTimeSpan " )
29
29
m .top .posterBlurHashUrl = renderFakeBlurhash (blurhash , imgParams .maxWidth , imgParams .maxHeight )
30
- ' print "Took " + Str(timer.totalMilliseconds()) + " milliseconds to render a blurhash in MusicArtistData."
30
+ print "Took " + Str (timer .totalMilliseconds ()) + " milliseconds to render a blurhash in MusicArtistData."
31
31
end if
32
32
end if
33
33
else if m .top .json .BackdropImageTags [0 ] <> invalid
Original file line number Diff line number Diff line change @@ -22,9 +22,9 @@ sub setPoster()
22
22
if isValidAndNotEmpty (m .top .json .ImageBlurHashes .Primary )
23
23
blurhash = m .top .json .ImageBlurHashes .Primary [m .top .json .ImageTags .Primary ]
24
24
if get_user_setting ("ui.design.renderblurhashes" ) = "true" and isValidAndNotEmpty (blurhash )
25
- ' timer = CreateObject("roTimeSpan")
25
+ timer = CreateObject ("roTimeSpan " )
26
26
m .top .posterBlurHashUrl = renderFakeBlurhash (blurhash , imgParams .maxWidth , imgParams .maxHeight )
27
- ' print "Took " + Str(timer.totalMilliseconds()) + " milliseconds to render a blurhash in MoviesData."
27
+ print "Took " + Str (timer .totalMilliseconds ()) + " milliseconds to render a blurhash in MoviesData."
28
28
end if
29
29
end if
30
30
else if m .top .json .BackdropImageTags [0 ] <> invalid
Original file line number Diff line number Diff line change @@ -24,9 +24,9 @@ sub setPoster()
24
24
if isValidAndNotEmpty (m .top .json .ImageBlurHashes .Primary )
25
25
blurhash = m .top .json .ImageBlurHashes .Primary [m .top .json .ImageTags .Primary ]
26
26
if get_user_setting ("ui.design.renderblurhashes" ) = "true" and isValidAndNotEmpty (blurhash )
27
- ' timer = CreateObject("roTimeSpan")
27
+ timer = CreateObject ("roTimeSpan " )
28
28
m .top .posterBlurHashUrl = renderFakeBlurhash (blurhash , imgParams .maxWidth , imgParams .maxHeight )
29
- ' print "Took " + Str(timer.totalMilliseconds()) + " milliseconds to render a blurhash in PhotoData."
29
+ print "Took " + Str (timer .totalMilliseconds ()) + " milliseconds to render a blurhash in PhotoData."
30
30
end if
31
31
end if
32
32
else if m .top .json .BackdropImageTags [0 ] <> invalid
Original file line number Diff line number Diff line change @@ -46,9 +46,9 @@ sub setPoster()
46
46
if isValidAndNotEmpty (m .top .json .ImageBlurHashes .Primary )
47
47
blurhash = m .top .json .ImageBlurHashes .Primary [m .top .json .ImageTags .Primary ]
48
48
if get_user_setting ("ui.design.renderblurhashes" ) = "true" and isValidAndNotEmpty (blurhash )
49
- ' timer = CreateObject("roTimeSpan")
49
+ timer = CreateObject ("roTimeSpan " )
50
50
m .top .posterBlurHashUrl = renderFakeBlurhash (blurhash , imgParams .maxWidth , imgParams .maxHeight )
51
- ' print "Took " + Str(timer.totalMilliseconds()) + " milliseconds to render a blurhash in ScheduleProgramData."
51
+ print "Took " + Str (timer .totalMilliseconds ()) + " milliseconds to render a blurhash in ScheduleProgramData."
52
52
end if
53
53
end if
54
54
Original file line number Diff line number Diff line change @@ -42,9 +42,9 @@ sub setPoster()
42
42
if isValidAndNotEmpty (m .top .json .ImageBlurHashes .Primary )
43
43
blurhash = m .top .json .ImageBlurHashes .Primary [m .top .json .ImageTags .Primary ]
44
44
if get_user_setting ("ui.design.renderblurhashes" ) = "true" and isValidAndNotEmpty (blurhash )
45
- ' timer = CreateObject("roTimeSpan")
45
+ timer = CreateObject ("roTimeSpan " )
46
46
m .top .posterBlurHashUrl = renderFakeBlurhash (blurhash , imgParams .maxWidth , imgParams .maxHeight )
47
- ' print "Took " + Str(timer.totalMilliseconds()) + " milliseconds to render a blurhash in SeriesData."
47
+ print "Took " + Str (timer .totalMilliseconds ()) + " milliseconds to render a blurhash in SeriesData."
48
48
end if
49
49
end if
50
50
else if m .top .json .BackdropImageTags <> invalid
Original file line number Diff line number Diff line change @@ -25,9 +25,9 @@ sub setPoster()
25
25
if isValidAndNotEmpty (m .top .json .ImageBlurHashes .Primary )
26
26
blurhash = m .top .json .ImageBlurHashes .Primary [m .top .json .ImageTags .Primary ]
27
27
if get_user_setting ("ui.design.renderblurhashes" ) = "true" and isValidAndNotEmpty (blurhash )
28
- ' timer = CreateObject("roTimeSpan")
28
+ timer = CreateObject ("roTimeSpan " )
29
29
m .top .posterBlurHashUrl = renderFakeBlurhash (blurhash , imgParams .maxWidth , imgParams .maxHeight )
30
- ' print "Took " + Str(timer.totalMilliseconds()) + " milliseconds to render a blurhash in MoviesData."
30
+ print "Took " + Str (timer .totalMilliseconds ()) + " milliseconds to render a blurhash in MoviesData."
31
31
end if
32
32
end if
33
33
end if
Original file line number Diff line number Diff line change @@ -25,9 +25,9 @@ sub setPoster()
25
25
if isValidAndNotEmpty (m .top .json .ImageBlurHashes .Primary )
26
26
blurhash = m .top .json .ImageBlurHashes .Primary [m .top .json .ImageTags .Primary ]
27
27
if get_user_setting ("ui.design.renderblurhashes" ) = "true" and isValidAndNotEmpty (blurhash )
28
- ' timer = CreateObject("roTimeSpan")
28
+ timer = CreateObject ("roTimeSpan " )
29
29
m .top .posterBlurHashUrl = renderFakeBlurhash (blurhash , imgParams .maxWidth , imgParams .maxHeight )
30
- ' print "Took " + Str(timer.totalMilliseconds()) + " milliseconds to render a blurhash in VideoData."
30
+ print "Took " + Str (timer .totalMilliseconds ()) + " milliseconds to render a blurhash in VideoData."
31
31
end if
32
32
end if
33
33
end if
You can’t perform that action at this time.
0 commit comments