Fixed rating parsing

This commit is contained in:
PingWin committed 2021-04-06 18:14:22 +03:00
1 parent 5b54b95443
commit b619253510
4 files changed
+16 -5

No files matched your search

+2 -2
View File
@@ -14,7 +14,7 @@
"/property:GenerateFullPaths=true", "/property:GenerateFullPaths=true",
// Do not generate summary otherwise it leads to duplicate errors in Problems panel // Do not generate summary otherwise it leads to duplicate errors in Problems panel
"/consoleloggerparameters:NoSummary", "/consoleloggerparameters:NoSummary",
"/property:Version=10.7.0.1" "/property:Version=10.7.0.2"
], ],
"group": "build", "group": "build",
"presentation": { "presentation": {
@@ -29,7 +29,7 @@
"args": [ "args": [
"Compress-Archive", "Compress-Archive",
"-Path", "${workspaceFolder}/src/Jellyfin.Plugin.Kinopoisk/bin/Debug/net5.0/Jellyfin.Plugin.Kinopoisk.dll,${workspaceFolder}/src/Jellyfin.Plugin.Kinopoisk.Test/bin/Debug/net5.0/Macross.Json.Extensions.dll", "-Path", "${workspaceFolder}/src/Jellyfin.Plugin.Kinopoisk/bin/Debug/net5.0/Jellyfin.Plugin.Kinopoisk.dll,${workspaceFolder}/src/Jellyfin.Plugin.Kinopoisk.Test/bin/Debug/net5.0/Macross.Json.Extensions.dll",
"-DestinationPath", "${workspaceFolder}/dist/jellyfin-plugin-kinopoisk_10.7.0.1.zip" "-DestinationPath", "${workspaceFolder}/dist/jellyfin-plugin-kinopoisk_10.7.0.2.zip"
], ],
"group": "build", "group": "build",
"presentation": { "presentation": {
Binary file not shown.
+11
View File
@@ -7,6 +7,17 @@
"owner": "linfor", "owner": "linfor",
"description": "Загружает рейтинги сайта КиноПоиск", "description": "Загружает рейтинги сайта КиноПоиск",
"versions": [ "versions": [
{
"checksum": "8d77d5f4de0bdf0abbce76cf8e5a251d",
"changelog": "Fixed rating parsing",
"name": "КиноПоиск",
"targetAbi": "10.7.0",
"runtimes": "netframework,netcore",
"sourceUrl": "https://github.com/LinFor/jellyfin-plugin-kinopoisk/raw/master/dist/jellyfin-plugin-kinopoisk_10.7.0.2.zip",
"filename": "jellyfin-plugin-kinopoisk_10.7.0.2.zip",
"timestamp": "2021-04-06 18:12:00",
"version": "10.7.0.2"
},
{ {
"checksum": "9051c982f7846af34249ed9969012c17", "checksum": "9051c982f7846af34249ed9969012c17",
"changelog": "Fixed some actor professions parsing", "changelog": "Fixed some actor professions parsing",
@@ -62,11 +62,11 @@ namespace Jellyfin.Plugin.Kinopoisk.ApiModel
public class FilmRating public class FilmRating
{ {
public float Rating { get; set; } public float Rating { get; set; }
public int RatingVoteCount { get; set; } public int? RatingVoteCount { get; set; }
public float? RatingImdb { get; set; } public float? RatingImdb { get; set; }
public int RatingImdbVoteCount { get; set; } public int? RatingImdbVoteCount { get; set; }
public string RatingFilmCritics { get; set; } public string RatingFilmCritics { get; set; }
public int RatingFilmCriticsVoteCount { get; set; } public int? RatingFilmCriticsVoteCount { get; set; }
} }
public class FilmImages public class FilmImages