Merge pull request #753 from 1hitsong/support-jellyscrub
Add BIF Image Support - Using Jellyscrub Plugin
This commit is contained in:
commit
39b19cbb3c
2
.github/workflows/master-release.yml
vendored
2
.github/workflows/master-release.yml
vendored
|
@ -40,4 +40,4 @@ jobs:
|
||||||
with:
|
with:
|
||||||
name: jellyfin_v${{ env.MAJOR }}.${{ env.MINOR }}.${{ env.BUILD }}.zip
|
name: jellyfin_v${{ env.MAJOR }}.${{ env.MINOR }}.${{ env.BUILD }}.zip
|
||||||
path: ${{ github.workspace }}/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
|
||||||
|
|
2
.github/workflows/unstable-release.yml
vendored
2
.github/workflows/unstable-release.yml
vendored
|
@ -39,4 +39,4 @@ jobs:
|
||||||
with:
|
with:
|
||||||
name: jellyfin_v${{ env.MAJOR }}.${{ env.MINOR }}.${{ env.BUILD }}.zip
|
name: jellyfin_v${{ env.MAJOR }}.${{ env.MINOR }}.${{ env.BUILD }}.zip
|
||||||
path: ${{ github.workspace }}/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
|
||||||
|
|
|
@ -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
|
' is enabled/will be enabled, indexed on the provided list of subtitles
|
||||||
video.SelectedSubtitle = setupSubtitle(video, video.Subtitles, subtitle_idx)
|
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
|
if not fully_external
|
||||||
video.content = authorize_request(video.content)
|
video.content = authorize_request(video.content)
|
||||||
end if
|
end if
|
||||||
|
|
Loading…
Reference in New Issue
Block a user