Property talk:P6398

From Wikidata
Jump to navigation Jump to search

Documentation

iTunes movie ID
U.S. version identifier for a film in the iTunes Store
Applicable "stated in" valueiTunes (Q9589)
Data typeExternal identifier
Domainfilm (Q11424), television special (Q1261214) or video album (Q10590726)
Allowed values[1-9]\d{7,9}
ExampleGet Out (Q25136235)1202441786
Harry Potter and the Philosopher's Stone (Q102438)271469503
Mission: Impossible (Q1741232)266810607
Sourcehttps://itunes.apple.com/us
Formatter URLhttps://itunes.apple.com/us/movie/id$1
See alsoApple Books book ID (U.S. version) (P6395), iTunes TV season ID (P6381), Apple Music artist ID (U.S. version) (P2850), Apple Music album ID (U.S. version) (P2281), App Store app ID (P3861), Hulu movie ID (P6466), Google Play Movies & TV ID (deprecated) (P6562), Vudu video ID (P7334), Apple TV movie ID (P9586)
Lists
Proposal discussionProposal discussion
Current uses
Total54,301
Main statement54,288>99.9% of uses
Qualifier3<0.1% of uses
Reference10<0.1% of uses
Search for values
[create Create a translatable help page (preferably in English) for this property to be included here]
Allowed entity types are Wikibase item (Q29934200): the property may only be used on a certain entity type (Help)
Exceptions are possible as rare values may exist. Exceptions can be specified using exception to constraint (P2303).
List of violations of this constraint: Database reports/Constraint violations/P6398#Entity types
Scope is as main value (Q54828448), as reference (Q54828450): the property must be used by specified way only (Help)
Exceptions are possible as rare values may exist. Exceptions can be specified using exception to constraint (P2303).
List of violations of this constraint: Database reports/Constraint violations/P6398#Scope, SPARQL
Distinct values: this property likely contains a value that is different from all other items. (Help)
Exceptions are possible as rare values may exist. Exceptions can be specified using exception to constraint (P2303).
List of violations of this constraint: Database reports/Constraint violations/P6398#Unique value, SPARQL (every item), SPARQL (by value)
Format “[1-9]\d{7,9}: value must be formatted using this pattern (PCRE syntax). (Help)
Exceptions are possible as rare values may exist. Exceptions can be specified using exception to constraint (P2303).
List of violations of this constraint: Database reports/Constraint violations/P6398#Format, SPARQL
Conflicts with “instance of (P31): album (Q482994), single (Q134556): this property must not be used with the listed properties and values. (Help)
Exceptions are possible as rare values may exist. Exceptions can be specified using exception to constraint (P2303).
List of violations of this constraint: Database reports/Constraint violations/P6398#Conflicts with P31, SPARQL

Please notify projects that use this property before big changes (renaming, deletion, merge with another property, etc.)

US only![edit]

Please change the title to make clear that this property is only about iTunes USA, not iTunes in other countries. --84.62.82.23 01:17, 1 July 2019 (UTC)[reply]

Redirecting to Apple TV since today[edit]

Literally just now these IDs started redirecting to Apple TV movie ID (P9586), including many that were not available in the US store. The old pages still can be viewed in some form if you set browser's UserAgent to "iTunes/10". Solidest (talk) 11:26, 26 April 2023 (UTC)[reply]

So regarding this property we have a few options:
  • Leave everything as it is (redirects). Additionally, we can remove deprecated status from all the ones which are working redirects. Even though many of them remain inaccessible in the US store.
  • Change the url formatter to archive.org and mark the property as obsolete/archived
  • Ideally it would be perfect to adjust the url formatter to redirect to the active pages like the ones accessible via UserAgent=Itunes. But as far as I understand it, it is not possible to do so. or maybe there are some additional parameters on their website to somehow adjust it? Solidest (talk) 14:09, 27 April 2023 (UTC)[reply]

Wow, Apple is finally making some changes here. I’ve been anticipating them removing these ever since I added Apple TV movie ID (P9586).

Just checking today, the iTunes Search API is still working. Which how I run my iTunes Store ID related bots.

I think I’m mostly in favor in keeping them as is just for now and revisiting when Apple makes more changes. With Apple announcing a new iOS/macOS in a month or so (June 2023), they are likely making changes to their TV app around this. I like to wait and see what happens next. There’s probably more to come. But it does feel like by next year, this probably could be entirely obsolete/archived.

I’m actually more excited than anything about this change. I can follow those redirects and backfill some missing Apple TV movie ID (P9586)’s based on their iTunes movie ID (P6398)!

Additionally, we can remove deprecated status from all the ones which are working redirects.

If my bot marked any iTunes movie ID (P6398) as deprecated, it should be delisted entirely/removed from all stores. So curious if any of those deprecated do start redirecting to a working page. Let me know! I'd like to dig into what's going on there and update my bot accordingly.

Thanks for spotting this major change @Solidest!

Josh404 (talk) 16:13, 27 April 2023 (UTC)[reply]
> "If my bot marked any iTunes movie ID (P6398) as deprecated, it should be delisted entirely/removed from all stores."
@Josh404:, did you test the availability of all IDs in all 184 regions? As far as I know, it's impossible to check the availability of one ID in all stores by one request, so you have to request each region 1 by 1. And it's quite a painful job. I was doing such work to find at least 1 working store for any ID to update MnM links. And by my calculations (finished the 10 biggest languages yet), out of currently 2470 deprecated IDs on WD about 200 IDs were available in non-US stores (and are still available via API). Availability is probably changing frequently, since among those deprecated IDs about 20 have also started working in the US store - I removed their deprecated status a few days ago.
But regarding redirects, it seems that up to half of non-working-in-US IDs are working now. You can check them yourself here: https://mix-n-match.toolforge.org/#/list/3480/na . This is up-to-date data, as I literally rechecked and reassigned everything regarding availability in the US store a week ago. And there are at least 1/3 of them are working again on each page. So I guess we should re-check all IDs for being working redirects from scratch and I think it's worth removing their deprecated status on WD. So I'll leave it up to you if you're willing to do it :) While I will keep working on merging two MnM catalogues, and then I'll remove N/A statuses for the working redirects. Solidest (talk) 17:10, 27 April 2023 (UTC)[reply]
👍🏻 Gotcha. I can do a quick rescan of any of those deprecated ones and see which now have redirects. Josh404 (talk) 17:45, 27 April 2023 (UTC)[reply]

I just finished restoring all the old deprecated iTunes movie ID (P6398) statements (with reason for deprecated rank (P2241) withdrawn identifier value (Q21441764)) that now successfully redirect to a https://tv.apple.com/ domain. There were about 1,000 of them that worked. And another 1,000 are still deprecated that didn't.

Just noting some interesting cases that now have multiple iTunes movie ID (P6398) statements with unique IDs but are redirecting to the same new ID like Goodfellas (Q42047). For this specific case I swear, the old ID was some non-HD version of the movie that was superseded by a newer version. But now that old version even redirects to a canonical Apple TV movie ID (P9586), see https://itunes.apple.com/us/movie/id515680850. Curious if you can find any region where `515680850` is might still be listed.

Josh404 (talk) 16:48, 28 April 2023 (UTC)[reply]
`515680850` is available in 53 out of 184 stores. The fastest way (which will soon stop working) to get any working region + movie name is simply to google "id515680850 itunes". Most of the regions found are still working or have been available in recent weeks. If it does not find any results, it usually means that the ID has been deactivated for quite some time. Solidest (talk) 20:06, 28 April 2023 (UTC)[reply]