Last active
August 29, 2015 14:00
-
-
Save patrickkettner/11023775 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git assets/templates/PlayVideo.xml assets/templates/PlayVideo.xml | |
index ecb650c..00f47d9 100644 | |
--- assets/templates/PlayVideo.xml | |
+++ assets/templates/PlayVideo.xml | |
@@ -36,12 +36,12 @@ | |
<myStackedMedia> | |
<!-- stacked media --> | |
- <httpFileVideoAsset id="{{VAL(key)}}"> | |
- <mediaURL>{{MEDIAURL(key)}}</mediaURL> | |
- <title>{{VAL(@main/Video/title)}}</title> | |
- <description>{{VAL(@main/Video/summary)}}</description> | |
+ <httpFileVideoAsset id="{{VAL(Media/Part/key)}}"> | |
+ <mediaURL>{{MEDIAURL(Media/Part/key)}}</mediaURL> | |
+ <title>{{VAL(title)}}</title> | |
+ <description>{{VAL(summary)}}</description> | |
<!--bookmarkTime>{{EVAL({{VAL(@main/Video/viewOffset:0)}} / 1000)}}</bookmarkTime--> | |
- <image>{{IMAGEURL(@main/Video/thumb::384)}}</image> | |
+ <image>{{IMAGEURL(thumb::384)}}</image> | |
<!--title, description, image will get forwarded from main VideoAsset in willStartPlaying()--> | |
<myMetaData> | |
@@ -49,7 +49,8 @@ | |
<startTime>0<!--(determined by willStartPlaying())--></startTime> | |
</myMetaData> | |
- </httpFileVideoAsset>{{COPY(Video/Media/Part)}} | |
+ </httpFileVideoAsset>{{COPY(Media/Part)}} | |
+ {{COPY(Video)}} | |
</myStackedMedia> | |
</httpFileVideoAsset> | |
diff --git assets/templates/Season_List.xml assets/templates/Season_List.xml | |
index c3861d5..4877d49 100644 | |
--- assets/templates/Season_List.xml | |
+++ assets/templates/Season_List.xml | |
@@ -14,7 +14,7 @@ | |
<sections> | |
<menuSection> | |
<items> | |
- <twoLineEnhancedMenuItem id="{{VAL(key)}}" onPlay="atv.loadURL('{{URL(key)}}')" | |
+ <twoLineEnhancedMenuItem id="{{VAL(key)}}" onPlay="atv.loadURL('{{URL(key)}}&PlexConnect=Play')" | |
onSelect="atv.loadURL('{{URL(key)}}')" | |
onHoldSelect="scrobbleMenu('{{URL(key)}}&PlexConnect=ScrobbleMenu')"> | |
{{COPY(Directory)}} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment