Firmware: A-410 [01 Apr. 2014] | A-400 [12 Mar. 2014] | C-300 [13 Feb. 2014] | A-300 [24 Feb. 2014] | C-200 [11 July 2013] | A-200/A-210 [11 July 2013] | Popbox V8 [3 Dec 2013]

Just got your NMT | WIKI has the answers | Search the forum | Forum Rules/Policy | Firmware & Official NMT News | Popcornhour manuals



User(s) browsing this thread: 1 Guest(s)
Post Reply 
Using tvid="Play"
06-18-2012, 10:34 AM
Post: #1
Question Using tvid="Play"
Hi,

Can someone explain how tvid="Play" is used in myiHome and the normal NMT file browser to start a playlist from the selected item?

Looking at the page source of a file list from myiHome I only see a single hidden link that's assigned to the Play button that generates a playlist, but doesn't seem to contain anything to suggest it knows which file to start the playlist from. Each file item has it's own link assigned to a number button to play the individual item, as expected when you press Enter.

So, if I have a menu of eight files and press Play on the third file how does the underlying app know that play was pressed on the third file to generate the appropriate playlist?

SwissCenter Developer
Players: Popcorn A-300 | Popcorn A-200 | Popcorn A-100 | Netgear EVA700
AV: Pioneer VSX-915 | Samsung LE40C650
Visit this user's website Find all posts by this user
Add Thank You Quote this message in a reply
06-18-2012, 05:16 PM
Post: #2
RE: Using tvid="Play"
I could probably answer this for you but I'd need to see the html your taking about. I've never run myihome nor do I have it setup to look.
Find all posts by this user
Add Thank You Quote this message in a reply
06-19-2012, 05:58 PM
Post: #3
RE: Using tvid="Play"
myiHome serves pages that contain:
Code:
<!-- invisible link eg. tvid=refresh -->
      <a href="http://localhost:8000/perform?list=music%2fLossless%2fMoody%2520Blues%2520MFSL%2520Collection%2520Plus​%2fThe%2520Moody%2520Blues%2520-%2520A%2520Question%2520Of%2520Balance%2520%2528MFSL%2529%2520%25281969%2529%252​8flac%2529&application=music&action=playlist&page=" pod="2,1,http://localhost:8000/perform?list=music%2fLossless%2fMoody%2520Blues%2520MFSL%2520Collection%2520Plus​%2fThe%2520Moody%2520Blues%2520-%2520A%2520Question%2520Of%2520Balance%2520%2528MFSL%2529%2520%25281969%2529%252​8flac%2529&application=music&action=goslide"
        name="playMenu"  onkeyleftset="playMenu" onkeyrightset="start"        tvid="play"></a>
It's an invisible link that defines what happens when Play is pressed. Say you have a folder containing 20 music tracks, you move down the list to the 4th track and press Play. A playlist is generated containing 20 tracks (no problem so far) but the playback starts on track 4/20.
The visible link for track 4 could be:
Code:
<a href="http://localhost:8000/perform?id=5422&counter=2&application=music&action=playsong" tvid="4" style="width:280" name="item4x" onkeyrightset="item4x" pod="2,1,http://localhost:8000/perform?list=music%2fLossless%2fMoody%2520Blues%2520MFSL%2520Collection%2520Plus​%2fThe%2520Moody%2520Blues%2520-%2520A%2520Question%2520Of%2520Balance%2520%2528MFSL%2529%2520%25281969%2529%252​8flac%2529&application=music&action=goslide" onkeyleftset="home" onkeydownset="item5x" onkeyupset="item3x"><font class="text"><marquee behavior="focus" width="280">03 - And The Tide Rushes In</marquee></font></a>

How does the PCH know I had track 4 highlighted when I press Play? Do I have have to set the name to 'item4x' or something else?

SwissCenter Developer
Players: Popcorn A-300 | Popcorn A-200 | Popcorn A-100 | Netgear EVA700
AV: Pioneer VSX-915 | Samsung LE40C650
Visit this user's website Find all posts by this user
Add Thank You Quote this message in a reply
06-30-2012, 07:51 PM
Post: #4
RE: Using tvid="Play"
Sorry, forgot we started to talk about this.. From what you posted, I agree and don't see anything that should be linking them (unless there is something hidden in gaya they are using and we just don't know it)..

I suspect there is probably additional javascript you may not have posted which may not be obvious it's moving the onclick.
Find all posts by this user
Add Thank You Quote this message in a reply
07-01-2012, 10:15 PM
Post: #5
RE: Using tvid="Play"
There must be something in gaya that is not documented anywhere but the desired effect must be deducable.

An entire page is as follows, no j
Code:
&lt;!-- invisible link eg. tvid=refresh --&gt;
      <a href="http://localhost:8000/perform?list=video%2fCartoons%2fPixar%2520Shorts&application=video&action=playlist&page=" vod="playlist"
        name="playMenu"  onkeyleftset="playMenu" onkeyrightset="start"
            
                
                
                
                
            
        
        
        
        
        tvid="play"
        
        ></a>
    
  



  

  
      
    
      
    
  

  
    
      
      
    
  



  

  
      
    
      
    
  

  
      
    
      &lt;!-- invisible link eg. tvid=refresh --&gt;
      <a href="http://localhost:8000/perform?list=video%2fCartoons&start=0&startlist=0%2c&rowstart=0&rowlist=0%2c&application=video&action=showpage&page="  
        
        
        
        tvid="#back"
        
        
        ></a>
    
  



  

  
      
    
      
    
  

  
      
    
      &lt;!-- invisible link eg. tvid=refresh --&gt;
      <a href="http://localhost:8000/perform?start=0&refresh=true&list=video%2fCartoons%2fPixar%2520Shorts&application=video&action=showpage&page="  
        
        
        
        
        tvid="refresh"
        
        ></a>
    
  































  

  



&lt;!-- Focus area --&gt;


  
  
    
      
      
      
      
      
      
      
      
      
      

      
      
      
      
      
      

        
        
      
      
    
  






  
  
  
    
    
  





&lt;!-- Navigation --&gt;



&lt;!-- Previous/Next Page --&gt;





  
<html>  <head>
      <meta SYABAS-COMPACT=OFF>
      <meta SYABAS-FULLSCREEN>
      <meta SYABAS-PLAYERMODE="video">
      <meta http-equiv="Pragma" content="no-cache">
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    
      
      
        <meta SYABAS-KEYOPTION="LOWERCASE">
      
    
      
      
      <meta SYABAS-BACKGROUND="/theme/deepblue/background/bg.jpg">
        

        <style>&lt;!-- Blue Gaya SD Stylesheet --&gt;body { color: B1D3F6; background-color: 0066cc }a { text-decoration:none; color: B1D3F6 }.menu {font-size:14px;color: 81C9ED;font-weight:bold;}.text {font-size:14px;color: A8D1E6;font-weight:bold;}.server {font-size:14px;color: 2F84B6;font-weight:bold;}.list {font-size:14px;color: B1D3F6;font-weight:bold;}.title {font-size:14px;color: CEE9F0;font-weight:bold;}.appmenu {font-size:14px;color: B1D3F6;font-weight:bold;}.bold { font-size:14px; color: B1D3F6;font-weight:bold; }.pagingHighlight { font-size:12px; color: FFFF33 }.paging {font-size:12px;color: 5097CD; }.msg {font-size:14px;color: A8D1E6;font-weight:bold;}.invalid {font-size:14px;color: FFFF00;font-weight:bold;}</style>
  
    </head>
    
    <body onloadset="start" marginheight="0" marginwidth="0" leftmargin="0" topmargin="0"
      border="0" focuscolor="" focustext="" background="/theme/deepblue/background/pc.jpg" tv="/theme/deepblue/background/bg.jpg">     <table border="0" cellspacing="0" cellpadding="0">         <tr>             <td valign="top">                 <table border="0" cellspacing="0" cellpadding="0">                     <tr>                         <td width="183"  height="148" valign="bottom" align="right">                             <table border="0" cellspacing="0" cellpadding="0">                                <tr>                                    <td valign="middle" align="right" width="164" style="width:125px;"><a href="http://localhost:8000/perform?list=video%2fCartoons%2fPixar%2520Shorts&focus=txtkey&application=video&action=show&page=searchform"  
        name="home"  onkeyleftset="home" onkeyrightset="start"
            
                
                    onkeyupset="home"
                    
                        
                                                    
                            onkeydownset="home2"
                        
                    
                
                
                
                
            
        
        
        
        
        tvid="search"
        
        ><font class="menu">&nbsp;&nbsp;Search&nbsp;</font></a></td>                                    <td valign="middle" align="right" width="12" height="25"><img src="/theme/deepblue/icon/menu.png" width="12" height="12"></td>                                </tr><tr>                                    <td valign="middle" align="right" width="164" style="width:125px;"><a href="http://localhost:8000/perform?order=random&list=video%2fCartoons%2fPixar%2520Shorts&application=video&action=playlist&page=" vod="playlist"
        name="home2"  onkeyleftset="home2" onkeyrightset="start"
            
                
                
                    
                        
                            onkeyupset="home"
                        
                        
                    
                
                
                
            
        
        ><font class="menu">&nbsp;&nbsp;Shuffle&nbsp;</font></a></td>                                    <td valign="middle" align="right" width="12" height="25"><img src="/theme/deepblue/icon/menu.png" width="12" height="12"></td>                                </tr>                                <tr><td height="4"></td></tr>                             </table>                         </td>                     </tr>                     <tr>                         <td height="69" align="right" valign="bottom"><img src="/theme/deepblue/logo/video.png" width="90" height="69"></td>                     </tr>                            <tr>                        <td width="179"  align="right" height="20" valign="top" class="server">//&nbsp;myiHome:Nigel-...</td>                    </tr>                    <tr><td align="right"><img src="/theme/deepblue/background/line_side.png" width="86" height="29"></td></tr>                    <tr><td height="10"></td></tr>                            <tr>                        <td width="179" align="right">                            <table border="0" cellspacing="0" cellpadding="0">                                 <tr>                                    <td valign="middle" align="right" width="164"><a href="http://127.0.0.1:8883/start.cgi?list" name="media" onkeyrightset="start" onkeyleftset="media" style="width:145px;" class="menu"><b>&nbsp;Media Source&nbsp;</b></font></a></td>                                    <td valign="middle" align="right" width="15" height="30"><img src="/theme/deepblue/icon/rect.png" width="12" height="12"></td>                                </tr>                                <tr>                                    <td valign="middle" align="right"><a href="file:///opt/sybhttpd/default/webservices_list.html" name="web" name="web" onkeyrightset="start" onkeyleftset="web" style="width:145px;" class="menu"><b>&nbsp;Web Services&nbsp;</b></font></a></td>                                    <td valign="middle" align="right" width="15" height="30"><img src="/theme/deepblue/icon/rect.png" width="12" height="12"></td>                                </tr>                                <tr><td height="10"></td></tr>                                <tr>                                    <td valign="middle" align="right"><a href="file:///opt/sybhttpd/default/preferences.htm" name="setup" onkeyrightset="start" onkeyleftset="setup" onkeydownset="setup" style="width:145px;" class="menu"><b>&nbsp;Setup&nbsp;</b></font></a></td>                                    <td valign="middle" align="right" width="15" height="30"><img src="/theme/deepblue/icon/rect.png" width="12" height="12"></td>                                </tr>                             </table>                        </td>                    </tr>                 </table>             </td>             <td height="405" width="38" background="/theme/deepblue/background/divider.png"></td>             <td width="380" valign="top">                 <table border="0" cellspacing="0" cellpadding="0">                     <tr><td height="18"></td></tr>                    <tr>                        <td width="380" align="left" valign="top">&lt;!-- Listing --&gt;<table border="0" cellspacing="0" cellpadding="0">    <tr>        <td valign="top">            <table border="0" cellspacing="0" cellpadding="0">                 <updown>             <tr>                <td width="380" height="22" align="right" valign="top"><img src="/theme/deepblue/icon/up_off.png" border="0" width="20" height="18">&nbsp;&nbsp;<img src="/theme/deepblue/icon/down_on.png" border="0" width="20" height="18">&nbsp;&nbsp;</td>              </tr>              </updown>
    
      

      
        

        &lt;!-- Video list --&gt;

          
          
          
          
          
          
          
        
        
      
      


























    

<tr><td height="2"></td></tr>                  <tr>                  <td width="378" valign="top">                     <table border="0" cellspacing="0" cellpadding="0" background="/theme/deepblue/icon/list_bar.png">                         <tr>                            <td width="40" height="35" align="right" class="list">01</td>                            <icon><td width="40" align="right"><img src="/theme/deepblue/icon/folder.png"  width="35" height="25"></td></icon>                            <td width="288"><font class="list">&nbsp;&nbsp;<a href="http://localhost:8000/perform?list=video%2fCartoons%2fPixar%2520Shorts%2fbanners&startlist=0%2c0%2c0%2c&rowlist=0%2c0%2c0%2c&application=video&action=showpage" tvid="1" style="width:280" name="item1x" onkeyrightset="item1x" name=start onkeyleftset="home" onkeydownset="item2x" onkeyupset="page10up"><font class="bold"><marquee behavior="focus" width="280">banners</marquee></font></a></font></td>                            <td width="10"><td>                         </tr>                     </table>                 </td>            </tr>


    
      

      
        
        

        &lt;!-- Video --&gt;

          
          
          

      
          

          
        
        
          
        
          
          
        
          

        
      
      


























    

<tr><td height="2"></td></tr>                  <tr>                  <td width="378" valign="top">                     <table border="0" cellspacing="0" cellpadding="0" background="/theme/deepblue/icon/list_bar.png">                         <tr>                            <td width="40" height="35" align="right" class="list">02</td>                            <icon><td width="40" align="right"><img src="/theme/deepblue/icon/video.png"  width="35" height="25"></td></icon>                            <td width="288"><font class="list">&nbsp;&nbsp;<a href="http://localhost:8000/perform?id=8829&counter=0&application=video&action=playvideo" tvid="2" style="width:280" name="item2x" onkeyrightset="item2x" vod="playlist" onkeyleftset="home" onkeydownset="item3x" onkeyupset="item1x"><font class="text"><marquee behavior="focus" width="280">burn-e</marquee></font></a></font></td>                            <td width="10"><td>                         </tr>                     </table>                 </td>            </tr>


    
      

      
        
        

        &lt;!-- Video --&gt;

          
          
          

      
          

          
        
        
          
        
          
          
        
          

        
      
      


























    

<tr><td height="2"></td></tr>                  <tr>                  <td width="378" valign="top">                     <table border="0" cellspacing="0" cellpadding="0" background="/theme/deepblue/icon/list_bar.png">                         <tr>                            <td width="40" height="35" align="right" class="list">03</td>                            <icon><td width="40" align="right"><img src="/theme/deepblue/icon/video.png"  width="35" height="25"></td></icon>                            <td width="288"><font class="list">&nbsp;&nbsp;<a href="http://localhost:8000/perform?id=8830&counter=1&application=video&action=playvideo" tvid="3" style="width:280" name="item3x" onkeyrightset="item3x" vod="playlist" onkeyleftset="home" onkeydownset="item4x" onkeyupset="item2x"><font class="text"><marquee behavior="focus" width="280">Pixar - 01 - The Adventure Of Andr√© And Wally B (1984)</marquee></font></a></font></td>                            <td width="10"><td>                         </tr>                     </table>                 </td>            </tr>


    
      

      
        
        

        &lt;!-- Video --&gt;

          
          
          

      
          

          
        
        
          
        
          
          
        
          

        
      
      


























    

<tr><td height="2"></td></tr>                  <tr>                  <td width="378" valign="top">                     <table border="0" cellspacing="0" cellpadding="0" background="/theme/deepblue/icon/list_bar.png">                         <tr>                            <td width="40" height="35" align="right" class="list">04</td>                            <icon><td width="40" align="right"><img src="/theme/deepblue/icon/video.png"  width="35" height="25"></td></icon>                            <td width="288"><font class="list">&nbsp;&nbsp;<a href="http://localhost:8000/perform?id=8831&counter=2&application=video&action=playvideo" tvid="4" style="width:280" name="item4x" onkeyrightset="item4x" vod="playlist" onkeyleftset="home" onkeydownset="item5x" onkeyupset="item3x"><font class="text"><marquee behavior="focus" width="280">Pixar - 02 - Luxo Jr (1986)</marquee></font></a></font></td>                            <td width="10"><td>                         </tr>                     </table>                 </td>            </tr>


    
      

      
        
        

        &lt;!-- Video --&gt;

          
          
          

      
          

          
        
        
          
        
          
          
        
          

        
      
      


























    

<tr><td height="2"></td></tr>                  <tr>                  <td width="378" valign="top">                     <table border="0" cellspacing="0" cellpadding="0" background="/theme/deepblue/icon/list_bar.png">                         <tr>                            <td width="40" height="35" align="right" class="list">05</td>                            <icon><td width="40" align="right"><img src="/theme/deepblue/icon/video.png"  width="35" height="25"></td></icon>                            <td width="288"><font class="list">&nbsp;&nbsp;<a href="http://localhost:8000/perform?id=8832&counter=3&application=video&action=playvideo" tvid="5" style="width:280" name="item5x" onkeyrightset="item5x" vod="playlist" onkeyleftset="home" onkeydownset="item6x" onkeyupset="item4x"><font class="text"><marquee behavior="focus" width="280">Pixar - 03 - Red's Dream (1987)</marquee></font></a></font></td>                            <td width="10"><td>                         </tr>                     </table>                 </td>            </tr>


    
      

      
        
        

        &lt;!-- Video --&gt;

          
          
          

      
          

          
        
        
          
        
          
          
        
          

        
      
      


























    

<tr><td height="2"></td></tr>                  <tr>                  <td width="378" valign="top">                     <table border="0" cellspacing="0" cellpadding="0" background="/theme/deepblue/icon/list_bar.png">                         <tr>                            <td width="40" height="35" align="right" class="list">06</td>                            <icon><td width="40" align="right"><img src="/theme/deepblue/icon/video.png"  width="35" height="25"></td></icon>                            <td width="288"><font class="list">&nbsp;&nbsp;<a href="http://localhost:8000/perform?id=8833&counter=4&application=video&action=playvideo" tvid="6" style="width:280" name="item6x" onkeyrightset="item6x" vod="playlist" onkeyleftset="home" onkeydownset="item7x" onkeyupset="item5x"><font class="text"><marquee behavior="focus" width="280">Pixar - 04 - Tin Toy (1988)</marquee></font></a></font></td>                            <td width="10"><td>                         </tr>                     </table>                 </td>            </tr>


    
      

      
        
        

        &lt;!-- Video --&gt;

          
          
          

      
          

          
        
        
          
        
          
          
        
          

        
      
      


























    

<tr><td height="2"></td></tr>                  <tr>                  <td width="378" valign="top">                     <table border="0" cellspacing="0" cellpadding="0" background="/theme/deepblue/icon/list_bar.png">                         <tr>                            <td width="40" height="35" align="right" class="list">07</td>                            <icon><td width="40" align="right"><img src="/theme/deepblue/icon/video.png"  width="35" height="25"></td></icon>                            <td width="288"><font class="list">&nbsp;&nbsp;<a href="http://localhost:8000/perform?id=8834&counter=5&application=video&action=playvideo" tvid="7" style="width:280" name="item7x" onkeyrightset="item7x" vod="playlist" onkeyleftset="home" onkeydownset="item8x" onkeyupset="item6x"><font class="text"><marquee behavior="focus" width="280">Pixar - 05 - Knick Knack (1989)</marquee></font></a></font></td>                            <td width="10"><td>                         </tr>                     </table>                 </td>            </tr>


    
      

      
        
        

        &lt;!-- Video --&gt;

          
          
          

      
          

          
        
        
          
        
          
          
        
          

        
      
      


























    

<tr><td height="2"></td></tr>                  <tr>                  <td width="378" valign="top">                     <table border="0" cellspacing="0" cellpadding="0" background="/theme/deepblue/icon/list_bar.png">                         <tr>                            <td width="40" height="35" align="right" class="list">08</td>                            <icon><td width="40" align="right"><img src="/theme/deepblue/icon/video.png"  width="35" height="25"></td></icon>                            <td width="288"><font class="list">&nbsp;&nbsp;<a href="http://localhost:8000/perform?id=8835&counter=6&application=video&action=playvideo" tvid="8" style="width:280" name="item8x" onkeyrightset="item8x" vod="playlist" onkeyleftset="home" onkeydownset="item9x" onkeyupset="item7x"><font class="text"><marquee behavior="focus" width="280">Pixar - 06 - Geri's Game (1998)</marquee></font></a></font></td>                            <td width="10"><td>                         </tr>                     </table>                 </td>            </tr>


    
      

      
        
        

        &lt;!-- Video --&gt;

          
          
          

      
          

          
        
        
          
        
          
          
        
          

        
      
      


























    

<tr><td height="2"></td></tr>                  <tr>                  <td width="378" valign="top">                     <table border="0" cellspacing="0" cellpadding="0" background="/theme/deepblue/icon/list_bar.png">                         <tr>                            <td width="40" height="35" align="right" class="list">09</td>                            <icon><td width="40" align="right"><img src="/theme/deepblue/icon/video.png"  width="35" height="25"></td></icon>                            <td width="288"><font class="list">&nbsp;&nbsp;<a href="http://localhost:8000/perform?id=8836&counter=7&application=video&action=playvideo" tvid="9" style="width:280" name="item9x" onkeyrightset="item9x" name=end
    
      vod="playlist" onkeyleftset="home" onkeydownset="page10dn" onkeyupset="item8x"><font class="text"><marquee behavior="focus" width="280">Pixar - 07 - For The Birds (2001)</marquee></font></a></font></td>                            <td width="10"><td>                         </tr>                     </table>                 </td>            </tr>


    
  </listing>            <tr><td height="0"></td></tr>                <tr>                 <td align="right">                        <table border="0" cellspacing="0" cellpadding="0">                            <tr>                                <td>                                                                        <a href="http://localhost:8000/perform?order=random&list=video%2fCartoons%2fPixar%2520Shorts&application=video&action=showpage&page=&start=9&rowstart=0&startlist=0,0,&rowlist=0,0,0,&focus=start" name="" tvid="pgdn"></a>
                
                <a href="http://localhost:8000/perform?order=random&list=video%2fCartoons%2fPixar%2520Shorts&application=video&action=showpage&page=&start=9&rowstart=0&startlist=0,0,&rowlist=0,0,0,&focus=eof" name="" tvid="pgup"></a>
            
                    
        
        

      

      

        
            
                
                    
                        
                        
                            <font class="paging">&nbsp;&nbsp;<b>1-9  / 16 items</b></font>
                        
                        
                    
                
                
            
        
            
                
                
                    
                    
                        
                        
                        
                                    
                        
                        
                        
                          
                        

                        
                        
                        <a href="http://localhost:8000/perform?order=random&list=video%2fCartoons%2fPixar%2520Shorts&application=video&action=showpage&page=&start=9&rowstart=0&startlist=0,0,&rowlist=0,0,0,&focus=eof" name="page10up" onkeyupset="end" onkeydownset="page10" tvid=pgdn onfocusLoad></a>
                        <a href="http://localhost:8000/perform?order=random&list=video%2fCartoons%2fPixar%2520Shorts&application=video&action=showpage&page=&start=9&rowstart=0&startlist=0,0,&rowlist=0,0,0,&focus=start" name="page10dn" onkeyupset="end" onkeydownset="page10" tvid=pgdn onfocusLoad></a>
                        


                        

                    
                    &lt;!-- Hidden links --&gt;
                        <a href="http://localhost:8000/perform?order=random&list=video%2fCartoons%2fPixar%2520Shorts&application=video&action=showpage&page=&start=9&rowstart=0&startlist=0,0,&rowlist=0,0,0,&focus=item10x&key=10" tvid="10"></a>
                        <a href="http://localhost:8000/perform?order=random&list=video%2fCartoons%2fPixar%2520Shorts&application=video&action=showpage&page=&start=9&rowstart=0&startlist=0,0,&rowlist=0,0,0,&focus=item11x&key=11" tvid="11"></a>
                        <a href="http://localhost:8000/perform?order=random&list=video%2fCartoons%2fPixar%2520Shorts&application=video&action=showpage&page=&start=9&rowstart=0&startlist=0,0,&rowlist=0,0,0,&focus=item12x&key=12" tvid="12"></a>
                        <a href="http://localhost:8000/perform?order=random&list=video%2fCartoons%2fPixar%2520Shorts&application=video&action=showpage&page=&start=9&rowstart=0&startlist=0,0,&rowlist=0,0,0,&focus=item13x&key=13" tvid="13"></a>
                        <a href="http://localhost:8000/perform?order=random&list=video%2fCartoons%2fPixar%2520Shorts&application=video&action=showpage&page=&start=9&rowstart=0&startlist=0,0,&rowlist=0,0,0,&focus=item14x&key=14" tvid="14"></a>
                        <a href="http://localhost:8000/perform?order=random&list=video%2fCartoons%2fPixar%2520Shorts&application=video&action=showpage&page=&start=9&rowstart=0&startlist=0,0,&rowlist=0,0,0,&focus=item15x&key=15" tvid="15"></a>
                        <a href="http://localhost:8000/perform?order=random&list=video%2fCartoons%2fPixar%2520Shorts&application=video&action=showpage&page=&start=9&rowstart=0&startlist=0,0,&rowlist=0,0,0,&focus=item16x&key=16" tvid="16"></a>                                                                    </td>                                <td width="6"></td>                            </tr>                        </table>                    </td>              </tr>            </table>        </td>    </tr></table></td>                    </tr>                </table>             </td>         </tr>     </table>     <shortcut>      <a href="/application/video" tvid="red"></a>      <a href="/application/music" tvid="green"></a>      <a href="/application/photo" tvid="yellow"></a>      <a href="/" tvid="home"></a>    </shortcut>  </body> </html>
This list contains 16 videos, 9 of which have the usual on-screen links, whilst the remaining interestingly have hidden links. I also tried with a folder of over 1000 movies and found over 1000 hidden links.

I don't think the hidden links are required for what I want though since the hidden Play link effectively plays the whole folder.

SwissCenter Developer
Players: Popcorn A-300 | Popcorn A-200 | Popcorn A-100 | Netgear EVA700
AV: Pioneer VSX-915 | Samsung LE40C650
Visit this user's website Find all posts by this user
Add Thank You Quote this message in a reply
07-01-2012, 10:30 PM (This post was last modified: 07-01-2012 10:30 PM by accident.)
Post: #6
RE: Using tvid="Play"
It sounds like it must trigger playing all links with vod in it.
Find all posts by this user
Add Thank You Quote this message in a reply
07-02-2012, 01:00 AM
Post: #7
RE: Using tvid="Play"
(07-01-2012 10:30 PM)accident Wrote:  It sounds like it must trigger playing all links with vod in it.
Possibly, but then why would it also have a hidden playlist link assigned to the Play button? Looks like I'll have to do some experimentation.

SwissCenter Developer
Players: Popcorn A-300 | Popcorn A-200 | Popcorn A-100 | Netgear EVA700
AV: Pioneer VSX-915 | Samsung LE40C650
Visit this user's website Find all posts by this user
Add Thank You Quote this message in a reply
07-02-2012, 04:27 AM
Post: #8
RE: Using tvid="Play"
It has been a long time since I last read gaya code. IIRC, when you press a link with tvid, eg tvid="play", gaya will append the currently focused item link to the end of tvid link. So let's say your cursor is at item 3 when you press the PLAY key, the link that passed to the server will be

http://localhost:8000/perform?list=video%2fCartoons%2fPixar%2520Shorts&application=video&action=playlist&page=&http://localhost:8000/perform?id=8830&counter=1&application=video&action=playvideo

Can you use a network packet capture program to check the link that is sent to the server? Or if you are able to check the page generated when browsing local storage files, I think you can see it more clearly.
Find all posts by this user
Add Thank You Quote this message in a reply
[+] 2 users say Thank You to rolandhii for this post
07-02-2012, 10:20 AM
Post: #9
RE: Using tvid="Play"
(07-02-2012 04:27 AM)rolandhii Wrote:  It has been a long time since I last read gaya code. IIRC, when you press a link with tvid, eg tvid="play", gaya will append the currently focused item link to the end of tvid link. So let's say your cursor is at item 3 when you press the PLAY key, the link that passed to the server will be

http://localhost:8000/perform?list=video%2fCartoons%2fPixar%2520Shorts&application=video&action=playlist&page=&http://localhost:8000/perform?id=8830&counter=1&application=video&action=playvideo

Can you use a network packet capture program to check the link that is sent to the server? Or if you are able to check the page generated when browsing local storage files, I think you can see it more clearly.
This makes sense, and explains why there is a &page= at the end of the play link. Many thanks for the technical input.

SwissCenter Developer
Players: Popcorn A-300 | Popcorn A-200 | Popcorn A-100 | Netgear EVA700
AV: Pioneer VSX-915 | Samsung LE40C650
Visit this user's website Find all posts by this user
Add Thank You Quote this message in a reply
07-02-2012, 11:33 AM
Post: #10
RE: Using tvid="Play"
Please test out and see if you need more info. I can dig out the source code if necessary.
Find all posts by this user
Add Thank You Quote this message in a reply
07-02-2012, 01:01 PM
Post: #11
RE: Using tvid="Play"
If I look at mono output on the A1x0 when it plays from myiHome it uses that second syntax and you can see the syntax written to stdout

mono -playlist http://ip:8000/perform?id=257&counter=0&application=video&action=playvideo -dram 1

Note the second ip is probably on localhost if the myiHome server is on the NMT.

Martin
Find all posts by this user
Add Thank You Quote this message in a reply
07-03-2012, 12:56 AM
Post: #12
RE: Using tvid="Play"
(07-02-2012 11:33 AM)rolandhii Wrote:  Please test out and see if you need more info. I can dig out the source code if necessary.
I've done some testing and it doesn't seem to append the currently focused item link. I monitored network activity between a PC running myiHome 5.2 and the A-200. With a folder containing 3 videos I monitored the same communictaion when pressing Play on each video, ie. it simply generated a playlist of the whole folder and started playing from the first item.
Code:
GET /perform?list=video%2fComedy&application=video&action=playlist&page= HTTP/1.0
User-Agent: Syabas/00-00-000000-00-000-400-000/00-000 Firefox/0.8.0+ (gaya3 TV Res1280x720;  Browser Res1100x656-32bits;  Res1280x720;  mac_addr=00.00.00.00.00.00)
Accept: */*
Host: 192.168.1.67:8080
Connection: Keep-Alive

HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Set-Cookie: JSESSIONID=F3CA78983F2C3BDA47FBE2AD955C09A3; Path=/
Content-Type: text/html;charset=utf-8
Content-Length: 386
Date: Mon, 02 Jul 2012 22:51:55 GMT
Connection: keep-alive

Celebrity.Juice.Too.Juicy.For.TV.2011.DVDRip.XviD-ViP3R|0|0|http://192.168.1.67:8080/action/playvideo.jsp?id=8844&ext=.avi|Jeff%20Dunham%20-%20Achmed%20the%20Dead%20Terrorist|0|0|http://192.168.1.67:8080/action/playvideo.jsp?id=8845&ext=.avi|Peter.Kay.Live.The.Tour.That.Didnt.Tour.DVDRip.XviD-HAGGiS|0|0|http://192.168.1.67:8080/action/playvideo.jsp?id=8846&ext=.avi|
The behaviour I'm trying to replicate only works when using the gaya file browser so am unable to monitor the internal communication.
Even if we succeed in appending the currently focused item link is it even possible to send a playlist to the player and tell it to start on item 3?

SwissCenter Developer
Players: Popcorn A-300 | Popcorn A-200 | Popcorn A-100 | Netgear EVA700
AV: Pioneer VSX-915 | Samsung LE40C650
Visit this user's website Find all posts by this user
Add Thank You Quote this message in a reply
07-03-2012, 02:26 AM
Post: #13
RE: Using tvid="Play"
(07-03-2012 12:56 AM)Pernod Wrote:  
(07-02-2012 11:33 AM)rolandhii Wrote:  Please test out and see if you need more info. I can dig out the source code if necessary.
I've done some testing and it doesn't seem to append the currently focused item link. I monitored network activity between a PC running myiHome 5.2 and the A-200. With a folder containing 3 videos I monitored the same communictaion when pressing Play on each video, ie. it simply generated a playlist of the whole folder and started playing from the first item.
Code:
GET /perform?list=video%2fComedy&application=video&action=playlist&page= HTTP/1.0
User-Agent: Syabas/00-00-000000-00-000-400-000/00-000 Firefox/0.8.0+ (gaya3 TV Res1280x720;  Browser Res1100x656-32bits;  Res1280x720;  mac_addr=00.00.00.00.00.00)
Accept: */*
Host: 192.168.1.67:8080
Connection: Keep-Alive

HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Set-Cookie: JSESSIONID=F3CA78983F2C3BDA47FBE2AD955C09A3; Path=/
Content-Type: text/html;charset=utf-8
Content-Length: 386
Date: Mon, 02 Jul 2012 22:51:55 GMT
Connection: keep-alive

Celebrity.Juice.Too.Juicy.For.TV.2011.DVDRip.XviD-ViP3R|0|0|http://192.168.1.67:8080/action/playvideo.jsp?id=8844&ext=.avi|Jeff%20Dunham%20-%20Achmed%20the%20Dead%20Terrorist|0|0|http://192.168.1.67:8080/action/playvideo.jsp?id=8845&ext=.avi|Peter.Kay.Live.The.Tour.That.Didnt.Tour.DVDRip.XviD-HAGGiS|0|0|http://192.168.1.67:8080/action/playvideo.jsp?id=8846&ext=.avi|
The behaviour I'm trying to replicate only works when using the gaya file browser so am unable to monitor the internal communication.
Even if we succeed in appending the currently focused item link is it even possible to send a playlist to the player and tell it to start on item 3?

Are your files listed in the following order?

Celebrity.Juice.Too.Juicy.For.TV.2011.DVDRip.XviD-ViP3R
Jeff Dunham - Achmed the Dead Terrorist
Peter.Kay.Live.The.Tour.That.Didnt.Tour.DVDRip.XviD-HAGGiS
Find all posts by this user
Add Thank You Quote this message in a reply
07-03-2012, 02:44 AM
Post: #14
RE: Using tvid="Play"
Quote:is it even possible to send a playlist to the player and tell it to start on item 3

I believe teh answer is no. yamj makes it's playlist files by starting at #3 and adding 1,2 to the end of the list. I know it's popular for tv show viewing and concert videos where you might want to start at a specific but still see them all.
Find all posts by this user
Add Thank You Quote this message in a reply
07-03-2012, 10:08 AM (This post was last modified: 07-03-2012 10:09 AM by Pernod.)
Post: #15
RE: Using tvid="Play"
(07-03-2012 02:26 AM)rolandhii Wrote:  Are your files listed in the following order?

Celebrity.Juice.Too.Juicy.For.TV.2011.DVDRip.XviD-ViP3R
Jeff Dunham - Achmed the Dead Terrorist
Peter.Kay.Live.The.Tour.That.Didnt.Tour.DVDRip.XviD-HAGGiS
Yes, listed alphabetically.

(07-03-2012 02:44 AM)accident Wrote:  
Quote:is it even possible to send a playlist to the player and tell it to start on item 3

I believe teh answer is no. yamj makes it's playlist files by starting at #3 and adding 1,2 to the end of the list. I know it's popular for tv show viewing and concert videos where you might want to start at a specific but still see them all.
The gaya browser is definitely capable as you can easily do this in file list mode, but I suspect not possible from a HTTP server.

SwissCenter Developer
Players: Popcorn A-300 | Popcorn A-200 | Popcorn A-100 | Netgear EVA700
AV: Pioneer VSX-915 | Samsung LE40C650
Visit this user's website Find all posts by this user
Add Thank You Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  initiating play using an external device e.g. ipad doubledrat 0 896 02-05-2013 10:31 AM
Last Post: doubledrat
  Need help to play web streaming http mp4 dtsexpert 0 1,764 08-27-2011 02:31 AM
Last Post: dtsexpert
  Play To Function & Seek Slycer 0 1,437 04-14-2011 11:24 AM
Last Post: Slycer
  Video won't play using llink backisen 2 1,640 11-18-2010 10:02 PM
Last Post: backisen
  NMT & 'play to' in WMP win7 markflip 3 2,856 06-29-2010 08:42 PM
Last Post: markflip
  Can't play audio with Swisscenter JKG 3 2,349 01-29-2010 03:38 PM
Last Post: JKG
  Will the C-200 play DTS-HD and/or True-HD from a m2ts file via LLink? bijou 0 1,674 10-15-2009 11:25 PM
Last Post: bijou
Question Does Windows 7's Play to feature work with Popcorn hour? John Ericson 26 8,617 09-08-2009 02:51 PM
Last Post: Cadish
  Cant play ISO or VIDEO_TS from Kroozbox mag09 0 1,182 08-22-2009 09:08 PM
Last Post: mag09
  UPnP "Play to" (WMP12) alternative Cadish 2 5,245 07-26-2009 03:02 PM
Last Post: dc11ab

Forum Jump: