-
Notifications
You must be signed in to change notification settings - Fork 624
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
11 changed files
with
274 additions
and
12 deletions.
There are no files selected for viewing
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
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<atv> | ||
<body> | ||
<search id="plex-search"> | ||
<header> | ||
<simpleHeader> | ||
<title>lol</title> | ||
</simpleHeader> | ||
</header> | ||
</search> | ||
</body> | ||
</atv> |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
<atv> | ||
<head> | ||
<script src="{{URL(:/js/utils.js)}}"/> | ||
</head> | ||
|
||
<body> | ||
|
||
|
||
<scroller id="com.sample.movie-showcase-grid"> | ||
<header> | ||
<simpleHeader> | ||
<title>Recommended</title> | ||
</simpleHeader> | ||
</header> | ||
|
||
<items> | ||
<__COPY__> | ||
{{COPY(Hub)}} | ||
<collectionDivider alignment="left" accessibilityLabel="{{VAL(title)}}"> | ||
<title>{{VAL(title)}}</title> | ||
</collectionDivider> | ||
<shelf id="{{VAL(hubKey)}}" columnCount="7"> | ||
<sections> | ||
<shelfSection> | ||
<items> | ||
<moviePoster id="{{VAL(key)}}" accessibilityLabel="{{VAL(title)}}" | ||
alwaysShowTitles="{{VAL($postertitles::Highlighted Only=false|Show All=true)}}" | ||
onPlay="atv.loadURL('{{URL(key:::PlexConnect={{VAL(Media/onAir:LiveTV_Record:1=LiveTV_Watch|=LiveTV_Record)}}&PlexConnectRatingKey={{VAL(ratingKey)}})}}')" | ||
onSelect="atv.loadURL('{{URL(key:::includeExtras=1&PlexConnect=Movie_PrePlay{{VAL($fanart::Hide=|Show=_Fanart)}})}}')" | ||
onHoldSelect="scrobbleMenu('{{URL(key:::PlexConnect=Scrobble_MenuVideo)}}')"> | ||
{{COPY(Video)}} | ||
<title>{{VAL(grandparentTitle)}}</title>{{CUT(grandparentTitle:CUT:=CUT| =)}} | ||
<title>{{VAL(title)}}</title>{{CUT(grandparentTitle:: =CUT)}} | ||
<subtitle>{{VAL(title)}}</subtitle>{{CUT(grandparentTitle:CUT:=CUT| =)}} | ||
<image>{{IMAGEURL(grandparentThumb::384)}}</image>{{CUT(grandparentThumb:CUT:=CUT| =)}} | ||
<image>{{IMAGEURL(thumb::384)}}</image>{{CUT(grandparentThumb:: =CUT)}} | ||
<defaultImage>resource://Poster.png</defaultImage> | ||
<badgeCount>8</badgeCount> | ||
</moviePoster> | ||
|
||
<moviePoster id="{{VAL(key)}}" accessibilityLabel="{{VAL(title)}}" | ||
alwaysShowTitles="{{VAL($postertitles::Highlighted Only=false|Show All=true)}}" | ||
onPlay="atv.loadURL('{{URL(key:::PlexConnect=Play_Video&PlexConnectRatingKey={{VAL(ratingKey)}})}}')" | ||
onSelect="atv.loadURL('{{URL(key:::includeExtras=1&PlexConnect=Movie_PrePlay{{VAL($fanart::Hide=|Show=_Fanart)}})}}')" | ||
onHoldSelect="scrobbleMenu('{{URL(key:::PlexConnect=Scrobble_MenuVideo)}}')"> | ||
{{COPY(Directory)}} | ||
<title>{{VAL(title)}}</title> | ||
<image>{{IMAGEURL(grandparentThumb::384)}}</image>{{CUT(grandparentThumb:CUT:=CUT| =)}} | ||
<image>{{IMAGEURL(thumb::384)}}</image>{{CUT(grandparentThumb:: =CUT)}} | ||
<defaultImage>resource://Poster.png</defaultImage> | ||
</moviePoster> | ||
</items> | ||
</shelfSection> | ||
</sections> | ||
</shelf> | ||
</__COPY__> | ||
</items> | ||
</scroller> | ||
|
||
|
||
</body> | ||
</atv> |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
<atv> | ||
<head> | ||
<script src="{{URL(:/js/utils.js)}}" /> | ||
<script src="{{URL(:/js/updateXML.js)}}" /> | ||
</head> | ||
|
||
<body> | ||
<viewWithNavigationBar id="PlexConnect_Navigation" onNavigate="loadItem(event)" volatile="true" onVolatileReload="updatePage('{{URL(:::PlexConnect=LiveTV)}}');"> | ||
<navigation currentIndex="0"> | ||
|
||
<navigationItem id="0"> | ||
<title>Recommended</title> | ||
<url>{{URL(key::/hubs/discover:excludeFields=summary&count=20&PlexConnect=LiveTV_Hub)}}</url> | ||
</navigationItem> | ||
|
||
<navigationItem id="1"> | ||
<title>On Right Now</title> | ||
<url>{{URL(key::/all:type=1,4&beginsAtyyltyy=now&endsAtyygtyy=1sPlexConnect=LiveTV_Grid)}}</url> | ||
</navigationItem> | ||
|
||
<navigationItem id="2"> | ||
<title>Starting Soon</title> | ||
<url>{{URL(key::/all:type=1,4&beginsAtyygtyy=+1s&beginsAtyyltyy=+1hPlexConnect=LiveTV_Grid)}}</url> | ||
</navigationItem> | ||
|
||
<navigationItem id="3"> | ||
<title>New Episodes Tonight</title> | ||
<url>{{URL(key::/all:type=1,4&beginsAtyygtyy=7pmtimestamp&beginsAtyyltyy=11pmtimestamp&sort=beginsAtPlexConnect=LiveTV_Grid)}}</url> | ||
</navigationItem> | ||
|
||
<navigationItem id="4"> | ||
<title>Recommended for You</title> | ||
<url>{{URL(key::/rec:PlexConnect=LiveTV_Grid)}}</url> | ||
</navigationItem> | ||
|
||
<navigationItem id="5"> | ||
<title>Upcoming Movies</title> | ||
<url>{{URL(key::/sections/1/all:type=1&beginsAtyygtyy=now&PlexConnect=LiveTV_Grid)}}</url> | ||
</navigationItem> | ||
|
||
<navigationItem id="6"> | ||
<title>Upcoming Shows</title> | ||
<url>{{URL(key::/sections/2/all:type=4&beginsAtyygtyy=now&PlexConnect=LiveTV_Grid)}}</url> | ||
</navigationItem> | ||
|
||
<navigationItem id="7"> | ||
<title>Upcoming Sports</title> | ||
<url>{{URL(key::/sections/3/all:type=4&beginsAtyygtyy=now&PlexConnect=LiveTV_Grid)}}</url> | ||
</navigationItem> | ||
|
||
<navigationItem id="8"> | ||
<title>Upcoming News</title> | ||
<url>{{URL(key::/sections/4/all:type=4&beginsAtyygtyy=now&PlexConnect=LiveTV_Grid)}}</url> | ||
</navigationItem> | ||
|
||
<navigationItem id="9"> | ||
<title>DVR Schedule</title> | ||
<url>{{URL(/media/subscriptions/scheduled:::PlexConnect=LiveTV_DVRSchedule)}}</url> | ||
</navigationItem> | ||
|
||
|
||
</navigation> | ||
</viewWithNavigationBar> | ||
</body> | ||
</atv> |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<atv> | ||
<body> | ||
<preview> | ||
<paradePreview inOrder="true"> | ||
<image> | ||
{{COPY(Video:grandparentThumb::=COPY)}} | ||
{{IMAGEURL(grandparentThumb::768)}} | ||
</image> | ||
</paradePreview>{{CUT(size:CUT:0=CUT|0 =|1=CUT|1 =|2=CUT|2 =|3=CUT|4=CUT|5=CUT|6=)}} | ||
|
||
<crossFadePreview> | ||
<image> | ||
{{COPY(Video:grandparentThumb::=COPY)}} | ||
{{IMAGEURL(grandparentThumb::768)}} | ||
</image> | ||
</crossFadePreview>{{CUT(size::0=|0 =CUT|1=|1 =CUT|2=|2 =CUT|3=|4=|5=|6=CUT)}} | ||
</preview> | ||
</body> | ||
</atv> | ||
|
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
<atv> | ||
<head> | ||
<script src="{{URL(:/js/utils.js)}}" /> | ||
<script src="{{URL(:/js/sectionHoldSelect.js)}}" /> | ||
</head> | ||
|
||
<body> | ||
{{VAR(sections:NoKey:FALSE)}} <!--this sets the var to FALSE--> | ||
|
||
<listWithPreview id="Library_List"> | ||
<header> | ||
<simpleHeader> | ||
<title>{{TEXT(Plex Library)}}</title> | ||
</simpleHeader> | ||
</header> | ||
<menu> | ||
<sections> | ||
|
||
<!-- servers --> | ||
<menuSection> | ||
{{COPY(Server:@main/size::0=|1=COPY)}} | ||
|
||
<header> | ||
<horizontalDivider alignment="left"> | ||
<title>{{VAL(name)}}{{VAL(local::0= <{{TEXT(remote)}}>|0 =)}}</title> | ||
</horizontalDivider> | ||
</header>{{CUT(@main/size:CUT:0=CUT|1=CUT|1 =)}} | ||
|
||
<items> | ||
|
||
<!-- /library/sections --> | ||
<oneLineMenuItem id="{{VAL(key)}}" | ||
onPlay="atv.loadURL('{{URL(key:::PlexConnect={{EVAL('{{VAL(scanner)}}'.replace(' ', '_'))}})}}')" | ||
onSelect="atv.loadURL('{{URL(key:::PlexConnect={{EVAL('{{VAL(scanner)}}'.replace(' ', '_'))}})}}')" | ||
onHoldSelect="refreshSection('{{VAL(key)}}', '{{URL(refreshKey)}}')"> | ||
{{COPY(Directory)}} | ||
{{VAR(sections:NoKey:TRUE)}} <!--within COPY this sets the var to TRUE--> | ||
<label>{{VAL(title)}}</label> | ||
<preview> | ||
<link>{{URL(key::/recentlyAdded:stack=1&X-Plex-Container-Start=0&X-Plex-Container-Size=20&PlexConnect=Main_SectionPreview-{{VAL(type)}})}}</link>{{CUT(type::a=|livetv=CUT|m=|photo=CUT|q=)}} | ||
<link>{{URL(key::/recentlyAdded:X-Plex-Container-Start=0&X-Plex-Container-Size=20&PlexConnect=Main_SectionPreview-{{VAL(type)}})}}</link>{{CUT(type:CUT:a=CUT|photo=|q=CUT)}} | ||
<link>{{URL(key::/all:type=1,4&beginsAtyyltyy=now&endsAtyygtyy=1s&PlexConnect=Main_SectionPreview-{{VAL(type)}})}}</link>{{CUT(type:CUT:a=CUT|livetv=|m=CUT)}} | ||
</preview> | ||
</oneLineMenuItem> | ||
<!-- search --> | ||
<oneLineMenuItem id="{{VAL(searchKey)}}" | ||
onPlay="atv.loadURL('{{URL(searchKey)}}')" | ||
onSelect="atv.loadURL('{{URL(searchKey)}}')"> | ||
<label>{{TEXT(Search)}}</label> | ||
<accessories> | ||
<arrow/> | ||
</accessories> | ||
</oneLineMenuItem> | ||
|
||
</items> | ||
</menuSection> | ||
|
||
</sections> | ||
</menu> | ||
</listWithPreview>{{CUT(#sections::FALSE=CUT|TRUE=)}} <!--CUT if no section added--> | ||
|
||
<!--No Sections Available--> | ||
<dialog id="com.sample.error-dialog"> | ||
{{CUT(#sections::FALSE=|TRUE=CUT)}} | ||
<title>PlexConnect</title> | ||
<description>{{TEXT(No Plex Library Sections Available)}}</description> | ||
</dialog> | ||
|
||
</body> | ||
</atv> |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
<atv> | ||
<redirect template="Provider/List.xml" /> | ||
</atv> |