-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(movie): Resolution should be a string, not int #2
base: master
Are you sure you want to change the base?
Conversation
Thanks for this first contribution ! After some tries, I can see that I have also tried on the new Radarr API v3 and I have the same result. Can you tell me why you think that Moreover, for the |
Strange... I'm on version 0.2.0.1480 which uses the response structure in the PR |
Hum can you show me please ? |
I don't know what there is to show... The struct and test data reflect what I'm seeing |
As you can see here https://radarr.video/docs/api/#/Movie/getMovie, this sdk is deprecated regarding the Radarr API v3. My testsVersion
|
With a downloaded movie to ensure {
"title": "Chouchou",
"alternativeTitles": [
{
"sourceType": "tmdb",
"movieId": 1,
"title": "Szívem csücske: Chouchou",
"sourceId": 0,
"votes": 0,
"voteCount": 0,
"language": {
"id": 22,
"name": "Hungarian"
},
"id": 1
}
],
"secondaryYearSourceId": 0,
"sortTitle": "chouchou",
"sizeOnDisk": 1529008169,
"status": "released",
"overview": "Choukri, alias Chouchou, a transvestite Maghrebi with clear eyes, comes illegally to Paris to find his nephew. Hired as an assistant by a psychotherapist, known for his good mood, he also work as a waiter in a transvestite cabaret of Clichy where he meets Stanislas.",
"inCinemas": "2003-03-19T00:00:00Z",
"physicalRelease": "0001-01-01T00:00:00Z",
"images": [
{
"coverType": "poster",
"url": "/MediaCover/1/poster.jpg?lastWrite=637432421590106897"
},
{
"coverType": "fanart",
"url": "/MediaCover/1/fanart.jpg?lastWrite=637432421590716897"
}
],
"website": "http://www.warnerbros.fr/movies/chouchou/",
"downloaded": true,
"year": 2003,
"hasFile": true,
"youTubeTrailerId": "",
"studio": "Fechner Audiovisuel",
"path": "/movies/Chouchou (2003)",
"profileId": 1,
"monitored": true,
"minimumAvailability": "announced",
"isAvailable": true,
"folderName": "/movies/Chouchou (2003)",
"runtime": 105,
"lastInfoSync": "2020-12-11T00:11:34.8884227Z",
"cleanTitle": "chouchou",
"imdbId": "tt0328955",
"tmdbId": 17684,
"titleSlug": "17684",
"genres": [
"Comedy"
],
"tags": [],
"added": "2020-12-11T00:09:18.7117638Z",
"ratings": {
"votes": 347,
"value": 5.3
},
"movieFile": {
"movieId": 0,
"relativePath": "Chouchou.2003.FRENCH.1080p.WEBDL.H264-Ducks.mp4",
"size": 1529008169,
"dateAdded": "2020-12-11T00:11:35.3709309Z",
"sceneName": "",
"quality": {
"quality": {
"id": 3,
"name": "WEBDL-1080p",
"source": "webdl",
"resolution": 1080,
"modifier": "none"
},
"revision": {
"version": 1,
"real": 0,
"isRepack": false
}
},
"edition": "",
"mediaInfo": {
"containerFormat": "MPEG-4",
"videoFormat": "AVC",
"videoCodecID": "avc1",
"videoProfile": "High@L4",
"videoCodecLibrary": "",
"videoBitrate": 1813709,
"videoBitDepth": 8,
"videoMultiViewCount": 0,
"videoColourPrimaries": "",
"videoTransferCharacteristics": "",
"width": 1920,
"height": 1080,
"audioFormat": "E-AC-3",
"audioCodecID": "ec-3",
"audioCodecLibrary": "",
"audioAdditionalFeatures": "",
"audioBitrate": 128000,
"runTime": "01:44:41.1670000",
"audioStreamCount": 1,
"audioChannels": 0,
"audioChannelPositions": "2/0/0",
"audioChannelPositionsText": "",
"audioProfile": "",
"videoFps": 24,
"audioLanguages": "French",
"subtitles": "",
"scanType": "Progressive",
"schemaRevision": 6
},
"id": 1
},
"qualityProfileId": 1,
"id": 1
} We can see |
Pretty straightforward