Skip to content

Instantly share code, notes, and snippets.

@patrickkettner
Last active August 29, 2015 14:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save patrickkettner/11023775 to your computer and use it in GitHub Desktop.
Save patrickkettner/11023775 to your computer and use it in GitHub Desktop.
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)}}&amp;PlexConnect=Play')"
onSelect="atv.loadURL('{{URL(key)}}')"
onHoldSelect="scrobbleMenu('{{URL(key)}}&amp;PlexConnect=ScrobbleMenu')">
{{COPY(Directory)}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment