mirror of
https://github.com/SickGear/SickGear.git
synced 2024-12-22 02:33:37 +00:00
Merge branch 'hotfix/3.30.4'
This commit is contained in:
commit
bdfeaa7350
3 changed files with 10 additions and 4 deletions
|
@ -1,4 +1,9 @@
|
|||
### 3.30.3 (2023-10-10 07:30:00 UTC)
|
||||
### 3.30.4 (2023-10-12 11:50:00 UTC)
|
||||
|
||||
* Add metadata source attribution in footer
|
||||
|
||||
|
||||
### 3.30.3 (2023-10-10 07:30:00 UTC)
|
||||
|
||||
* Change bad anon redirect service for an open source service
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
#import sickgear
|
||||
#from sickgear import db
|
||||
#from sickgear.common import Quality, SKIPPED, WANTED
|
||||
#from sickgear.helpers import df
|
||||
#from sickgear.helpers import anon_url, df
|
||||
#from sickgear.webserve import MainHandler
|
||||
<% def sg_var(varname, default=False): return getattr(sickgear, varname, default) %>#slurp#
|
||||
<% def sg_str(varname, default=''): return getattr(sickgear, varname, default) %>#slurp#
|
||||
|
@ -97,11 +97,12 @@ if min_output:
|
|||
<td style="text-align:left">$drive[0]</td>
|
||||
</tr>
|
||||
#end for
|
||||
</tobdy>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
#end if
|
||||
#end if
|
||||
<p style="margin-top:6px">Metadata from <a href=<%= anon_url('https://thetvdb.com') %> rel="noreferrer" onclick="window.open(this.href, '_blank'); return false;">TheTVDB</a>, <a href=<%= anon_url('https://tvmaze.com') %> rel="noreferrer" onclick="window.open(this.href, '_blank'); return false;">TVmaze</a>, and <a href=<%= anon_url('https://tmdb.org') %> rel="noreferrer" onclick="window.open(this.href, '_blank'); return false;">TMDB</a>
|
||||
</div>
|
||||
<script>
|
||||
var footerTimeUrl = '$localRoot/get-footer-time';
|
||||
|
|
|
@ -1012,7 +1012,7 @@ class GenericMetadata(object):
|
|||
):
|
||||
# type: (...) -> Optional[bytes, List[AnyStr]]
|
||||
"""
|
||||
Gets an image URL from theTVDB.com, fanart.tv and TMDB.com, downloads it and returns the data.
|
||||
Gets an image URL from theTVDB.com, fanart.tv and TMDB.org, downloads it and returns the data.
|
||||
If type is fanart, multiple image src urls are returned instead of a single data image.
|
||||
|
||||
image_type: type of image to retrieve (currently supported: fanart, poster, banner, poster_thumb, banner_thumb)
|
||||
|
|
Loading…
Reference in a new issue