... schließlich sind die (bzw. einige) Werte für stik oder TCON/gnre nicht beliebig, sondern numerische Codes mit (relativ) fester Bedeutung, die prinzipiell auch übersetzbar ist. Es wäre schön, wenn man (sofern man weiß, was man tut) mit MP3Tag auch undokumentierte, numerische Werte ins Tag schreiben könnte und wenn auch alternative sowie lokalisierte Eingaben auf die korrekten Werte gemappt werden würden:
| Stored | Displayed | Accepted Input | Proposed Alternative Input |
|---|---|---|---|
h00 |
Unknown | anything unrecognized | 0 |
h01 |
Normal | Normal |
1, Music; dt.: Musik |
h02 |
Audiobook | Audiobook |
2, (20), Audio, Book, Audio Book, Audioplay, Radioplay; dt.: Hörbuch, Hörspiel, Buch |
h03 |
3 |
||
h04 |
4 |
||
h05 |
(Whacked Bookmark?) | none | 5, (50), Whacked Bookmark, Whacked, Bookmark; dt.: Lesezeichen |
h06 |
Music Video | Music Video |
6, (60), Video; dt: Musikvideo |
h07 |
7 |
||
h08 |
8 |
||
h09 |
Movie | Movie |
9, (90), Short Film, Film; dt: Kinofilm, Kurzfilm |
h0A |
TV Show | TV Show |
10, TV, Television; dt.: Fernsehserie, Fernsehsendung, Fernsehen |
h0B |
Booklet | Booklet |
11 |
h0C |
12 |
||
h0D |
13 |
||
h0E |
Ringtone | Ringtone (undocumented) |
14, Ring Tone, Alarm, Alarm Sound; dt.: Klingelton |
h0F |
15 |
||
h15 |
(Podcast?) | none | 21, Podcast |
h17 |
iTunes U | iTunes U (undocumented) |
23, U, University, Uni, Lecture; dt: Vorlesung, Vortrag |
iTunes Search
iTunes Search API: https://itunes.apple.com/search?term={<search string>}&country={us|...}&media={Media Type}&entity={Entities}&attribute={Attributes}
stik |
Media Type | Entities | Attributes |
|---|---|---|---|
| 9 | movie |
movieArtist, movie |
actorTerm, genreIndex, artistTerm, shortFilmTerm, producerTerm, ratingTerm, directorTerm, releaseYearTerm, featureFilmTerm, movieArtistTerm, movieTerm, ratingIndex, descriptionTerm |
| 21 | podcast |
podcastAuthor, podcast |
titleTerm, languageTerm, authorTerm, genreIndex, artistTerm, ratingIndex, keywordsTerm, descriptionTerm |
| 1 | music |
musicArtist, musicTrack, album, musicVideo, mix, song |
mixTerm, genreIndex, artistTerm, composerTerm, albumTerm, ratingIndex, songTerm |
| 6 | musicVideo |
musicArtist, musicVideo |
genreIndex, artistTerm, albumTerm, ratingIndex, songTerm |
| 2 | audiobook |
audiobookAuthor, audiobook |
titleTerm, authorTerm, genreIndex, ratingIndex |
| 9? | shortFilm |
shortFilmArtist, shortFilm |
genreIndex, artistTerm, shortFilmTerm, ratingIndex, descriptionTerm |
| 10 | tvShow |
tvEpisode, tvSeason |
genreIndex, tvEpisodeTerm, showTerm, tvSeasonTerm, ratingIndex, descriptionTerm |
| N/A | software |
software, iPadSoftware, macSoftware |
softwareDeveloper |
| 11? | ebook |
ebook |
|
| (0) | all |
movie, album, allArtist, podcast, musicVideo, mix, audiobook, tvSeason, allTrack |
actorTerm, languageTerm, allArtistTerm, tvEpisodeTerm, shortFilmTerm, directorTerm, releaseYearTerm, titleTerm, featureFilmTerm, ratingIndex, keywordsTerm, descriptionTerm, authorTerm, genreIndex, mixTerm, allTrackTerm, artistTerm, composerTerm, tvSeasonTerm, producerTerm, ratingTerm, songTerm, movieArtistTerm, showTerm, movieTerm, albumTerm |
Please note that the musicTrack entity can include both songs and music videos in the results.
SiriKit
Intents: INMediaItem.type : INMediaItemType
enum INMediaItemType : Int = {
// General
case unknown = 0
case genre = 4
case station = 17
// Music
case song = 1
case album = 2
case artist = 3
case playlist = 5
case musicStation = 9
case musicVideo = 14
case radioStation = 16
case music = 18
// TV and Movie
case movie = 11
case tvShow = 12
case tvShowEpisode = 13
// Podcast
case podcastShow = 6
case podcastEpisode = 7
case podcastPlaylist = 8
case podcastStation = 15
// Audiobook
case audioBook = 10
}