Merge pull request #753 from 1hitsong/support-jellyscrub

Add BIF Image Support - Using Jellyscrub Plugin
This commit is contained in:
Jimi 2022-08-27 14:56:40 -06:00 committed by GitHub
commit 39b19cbb3c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 2 deletions

View File

@ -40,4 +40,4 @@ jobs:
with:
name: jellyfin_v${{ env.MAJOR }}.${{ env.MINOR }}.${{ env.BUILD }}.zip
path: ${{ github.workspace }}/jellyfin_v${{ env.MAJOR }}.${{ env.MINOR }}.${{ env.BUILD }}.zip
if-no-files-found: error
if-no-files-found: error

View File

@ -39,4 +39,4 @@ jobs:
with:
name: jellyfin_v${{ env.MAJOR }}.${{ env.MINOR }}.${{ env.BUILD }}.zip
path: ${{ github.workspace }}/jellyfin_v${{ env.MAJOR }}.${{ env.MINOR }}.${{ env.BUILD }}.zip
if-no-files-found: error
if-no-files-found: error

View File

@ -274,6 +274,10 @@ sub AddVideoContent(video, mediaSourceId, audio_stream_idx = 1, subtitle_idx = -
' is enabled/will be enabled, indexed on the provided list of subtitles
video.SelectedSubtitle = setupSubtitle(video, video.Subtitles, subtitle_idx)
video.content.SDBifUrl = api_API().jellyscrub.get(video.id)
video.content.HDBifUrl = api_API().jellyscrub.get(video.id)
video.content.FHDBifUrl = api_API().jellyscrub.get(video.id)
if not fully_external
video.content = authorize_request(video.content)
end if