home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
MediaPortal 1 Plugins
Popular Plugins
Moving Pictures
IMDb tt-ID expansion
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="RoChess" data-source="post: 1264994" data-attributes="member: 18896"><p>The substring hassle was done to use RegExp match with new hardcoded "tt" prefix.</p><p></p><p>RegExp replace would have been better, but sometimes we take the easy route. Captured groups with the 2nd match would also worked, and then named groups are needed in the event preceeding groups are optional.</p><p></p><p>Just must easier to kill off the old code and move forward, and I should do the same for IMDb+ as Amazon has made a lot of "upgrades", and I got a ton of legacy code, but then you stumble upon an older movie entry still using old format and things screw up, so I often leave it as-is, but then forget to check back in the event Amazon did finally update all references <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite1" alt=":)" title="Smile :)" loading="lazy" data-shortname=":)" /></p></blockquote><p></p>
[QUOTE="RoChess, post: 1264994, member: 18896"] The substring hassle was done to use RegExp match with new hardcoded "tt" prefix. RegExp replace would have been better, but sometimes we take the easy route. Captured groups with the 2nd match would also worked, and then named groups are needed in the event preceeding groups are optional. Just must easier to kill off the old code and move forward, and I should do the same for IMDb+ as Amazon has made a lot of "upgrades", and I got a ton of legacy code, but then you stumble upon an older movie entry still using old format and things screw up, so I often leave it as-is, but then forget to check back in the event Amazon did finally update all references :) [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Plugins
Popular Plugins
Moving Pictures
IMDb tt-ID expansion
Contact us
RSS
Top
Bottom