Using 5.5.1 - regarding the "Extra" page where the IMDB number is listed: updating from IMDB works whether the field has the raw number, like "0435761" or the preceding "tt" like "tt0435761" as it would appear in the IMDB URL, for example: http://www.imdb.com/title/tt0435761
That is useful, because I often just wind up copying that number out of the URL, and so a lot of my IMDB fields have the nonsense "tt" prefix.
However, if you click the little Safari icon next to the box, the URL generated has "tt" prepended to it every time. So if the field has "tt0435761" then the browser gets an incorrect URL, like: http://www.imdb.com/title/tttt0435761/
It would be great if the "tt" were optional for the browser link too.
IMDB link doubles optional "tt" - 5.5.1
Re: IMDB link doubles optional "tt" - 5.5.1
That should be very simple for conor using an "if" and "if not" statement in the code. But there could be other considerations in the code that we are not aware of. Third party sites have a habit of changing their 'api' code without letting users of their 'api' aware of the change and it is only us end users that pick it up and are able to let the developers know there has been a change.
Thanks for the heads up.
Thanks for the heads up.
Re: IMDB link doubles optional "tt" - 5.5.1
Done it the DVDpedia beta.
If you wanted to clean up the prefixed "tt" for clarity, you can do so with the open SQL backend. In Terminal run the following three lines:
Of course, double backup your data file first, as it should already be being backed up.
If you wanted to clean up the prefixed "tt" for clarity, you can do so with the open SQL backend. In Terminal run the following three lines:
Code: Select all
sqlite3 ~/Library/Application\ Support/DVDpedia/Database.dvdpd
update zentry set zimdb = replace(zimdb, "tt", "");
.exit