Compare commits

...
Sign in to create a new pull request.

1 commit

Author SHA1 Message Date
Martin Gansser
d8fc0cb7eb Add scraper2vdr_serienposter_statt_banner.diff 2021-10-29 11:38:39 +02:00
2 changed files with 41 additions and 2 deletions

View file

@ -0,0 +1,15 @@
--- scrapmanager.c 2020-12-28 18:38:53.850634334 +0100
+++ scrapmanager.c.new 2020-12-28 18:44:09.536615518 +0100
@@ -698,11 +698,7 @@ bool cScrapManager::GetPosterBannerV2(Sc
if (hitSeries == series.end())
return false;
cTVDBSeries *s = hitSeries->second;
- bool found = s->GetRandomBanner(&call->banner);
- if (v.episodeId > 0) {
- s->GetSeasonPoster(v.episodeId, &call->poster);
- }
- return found;
+ return s->GetPoster(&call->banner);
} else if (v.movieId > 0) {
call->type = tMovie;
map<int, cMovieDbMovie*>::iterator hitMovies = movies.find(v.movieId);

View file

@ -7,13 +7,16 @@
Name: vdr-scraper2vdr
Version: 1.0.11
Release: 7.%{gitdate}git%{shortcommit0}%{?dist}
Release: 14.%{gitdate}git%{shortcommit0}%{?dist}
Summary: A client plugin which provides scraped metadata from EPGD to other plugins
License: GPL+
URL: https://github.com/horchi/scraper2vdr
Source0: https://github.com/horchi/scraper2vdr/archive/%{commit0}/%{name}-%{commit0}.tar.gz#/%{name}-%{shortcommit0}.tar.gz
Source1: %{name}.conf
# https://www.vdr-portal.de/index.php?attachment/44795-scraper2vdr-serienposter-statt-banner-diff/
Patch0: scraper2vdr_serienposter_statt_banner.diff
BuildRequires: make
BuildRequires: gcc-c++
BuildRequires: libuuid-devel
BuildRequires: ImageMagick-c++-devel
@ -39,7 +42,7 @@ themoviedb.org API for movies. Check the websites of both services for
the terms of use.
%prep
%setup -qn %{pname}-%{commit0}
%autosetup -p0 -n %{pname}-%{commit0}
iconv -f iso-8859-1 -t utf-8 README > README.utf8 ; mv README.utf8 README
# fedora specific
@ -64,6 +67,27 @@ install -Dpm 644 %{SOURCE1} \
%config(noreplace) %{vdr_configdir}/plugins/%{pname}/epg.dat
%changelog
* Fri Oct 29 2021 Martin Gansser <martinkg@fedoraproject.org> - 1.0.11-14.20190128gitd9f6cb4
- Add scraper2vdr_serienposter_statt_banner.diff
* Sat Oct 16 2021 Martin Gansser <martinkg@fedoraproject.org> - 1.0.11-13.20190128gitd9f6cb4
- Rebuilt due FTI in rawhide
* Tue Sep 14 2021 Sahana Prasad <sahana@redhat.com> - 1.0.11-12.20190128gitd9f6cb4
- Rebuilt with OpenSSL 3.0.0
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.11-11.20190128gitd9f6cb4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Wed Apr 28 2021 Martin Gansser <martinkg@fedoraproject.org> - 1.0.11-10.20190128gitd9f6cb4
- Rebuilt for new VDR API version
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.11-9.20190128gitd9f6cb4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Sun Jan 03 2021 Martin Gansser <martinkg@fedoraproject.org> - 1.0.11-8.20190128gitd9f6cb4
- Rebuilt for new VDR API version
* Fri Aug 28 2020 Martin Gansser <martinkg@fedoraproject.org> - 1.0.11-7.20190128gitd9f6cb4
- Rebuilt for new VDR API version