Property talk:P2281
Documentation
identifier for a musical work in the U.S. version of Apple Music website
List of violations of this constraint: Database reports/Constraint violations/P2281#Type Q2031291, Q108346082, SPARQL
List of violations of this constraint: Database reports/Constraint violations/P2281#Unique value, SPARQL (every item), SPARQL (by value)
List of violations of this constraint: Database reports/Constraint violations/P2281#Entity types
List of violations of this constraint: Database reports/Constraint violations/P2281#Scope, SPARQL
List of violations of this constraint: Database reports/Constraint violations/P2281#Conflicts with P31, SPARQL
List of violations of this constraint: Database reports/Constraint violations/P2281#Conflicts with P2850, search, SPARQL
List of violations of this constraint: Database reports/Constraint violations/P2281#Conflicts with P1243, search, SPARQL
List of violations of this constraint: Database reports/Constraint violations/P2281#Conflicts with P31, SPARQL
List of violations of this constraint: Database reports/Constraint violations/P2281#Conflicts with P136, search, SPARQL
This property is being used by: Please notify projects that use this property before big changes (renaming, deletion, merge with another property, etc.) |
Pattern ^(?:https://music\.apple\.com/[a-z]{2}/album/)?[a-z%0-9A-F-]+/(?:id)?([1-9][0-9]*)(?:\?i=\1)?$ will be automatically replaced to \1. Testing: TODO list |
Issues[edit]
I've renamed this to "iTunes album ID" based on the formatter URL, since iTunes has IDs for things like artists too.
There a problem here with the formatter URL though. iTunes is really a collection of numerous country-specific stores and not all stores have the same albums. You can leave the country code out if the album is available in all stores, but if it's not, you have to include the country code of one of the stores it's available at, e.g. the example for this property currently links to https://itunes.apple.com/en/album/id747694220 which doesn't work ("en" is not a country, so it would only work if it's available in all stores), https://itunes.apple.com/album/id747694220 doesn't work either (since it's not available in all stores), https://itunes.apple.com/us/album/id747694220 doesn't work (it's not available in the US store), it needs to be something like https://itunes.apple.com/fi/album/id747694220.
It seems they do now have geo.itunes.apple.com which will redirect the user to their local store (e.g. https://geo.itunes.apple.com/album/id747694220 redirects me to https://itunes.apple.com/de/album/id747694220) but the URLs still don't work if the album isn't available on the user's local store (e.g. https://geo.itunes.apple.com/album/id983709042 redirects me to http://www.apple.com/itunes/download/ because https://itunes.apple.com/ca/album/id983709042 isn't available in Germany).
- Nikki (talk) 11:12, 9 November 2015 (UTC)
- Maybe the constraint needs to change to
[a-z]{2}/album/id[1-9]\d*
and the formatter URL tohttps://itunes.apple.com/
and no single value constraint. Mbch331 (talk) 09:56, 10 November 2015 (UTC)
Support software (Q7397) as well?[edit]
d1g (talk) 02:26, 6 March 2017 (UTC)
US only?[edit]
why is this property labeled (U.S. version)? the services seems to work outside of the us –Shisma (talk) 21:07, 12 November 2023 (UTC)
- All Properties
- Properties with external-id-datatype
- Properties used on 1000+ items
- Properties with constraints on type
- Properties with unique value constraints
- Properties with format constraints
- Properties with entity type constraints
- Properties with conflicts with constraints
- Properties with scope constraints
- Properties with constraints on items using them