TiVo Community
TiVo Community
TiVo Community
Go Back   TiVo Community > Underground Playground > Developers Corner
TiVo Community
Reply
Forum Jump
 
Thread Tools
Old 08-13-2014, 12:32 PM   #91
gonzotek
tivo_xml developer
 
gonzotek's Avatar
 
Join Date: Sep 2004
Location: Outside Phildadelphia
Posts: 2,237
Quote:
Originally Posted by moyekj View Post
Just for completeness on the no caching setup, this is the correct html header to use right?
Code:
<header>
 <meta http-equiv="Cache-Control" content="no-store"/>
</header>
I haven't checked it yet, and would have used content="no-cache", but I'd assume either no-store or no-cache would work. If not, here's a mess of cache -related meta tags to try:
Code:
<meta http-equiv="cache-control" content="max-age=0" />
<meta http-equiv="cache-control" content="no-cache" />
<meta http-equiv="expires" content="-1" />
<meta http-equiv="expires" content="Tue, 01 Jan 1980 1:00:00 GMT" />
<meta http-equiv="pragma" content="no-cache" />

__________________
Follow @pytivo on Twitter for project updates and more!
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
A Web app for Roku Remote Control
gonzotek is offline   Reply With Quote
Old 08-13-2014, 10:19 PM   #92
moyekj
Registered User
 
Join Date: Jan 2006
Location: Mission Viejo, CA
Posts: 9,300
Well, the caching tricks don't seem to work for me. I have this in index.html:
Code:
<head>
<meta http-equiv="cache-control" content="no-cache"/>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
<script src="system/script/jquery-2.0.3.min.js"></script>
<script src="system/script/jquery.lazyload.js"></script>
<script src="system/script/jquery.mousewheel.js"></script>
<script src="system/script/jquery.querystring.js"></script>
<script src="system/script/jquery.caret.js"></script>
<script src="system/script/jquery.tooltips.min.js"></script>
<script src="system/script/plex.js"></script>
<script src="system/script/index.js?<?php echo time(); ?>"></script>
<script src="system/script/language.js"></script>
And I have this in player.html:
Code:
<head>
<meta http-equiv="cache-control" content="no-cache"/>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
<script src="system/script/jquery-2.0.3.min.js"></script>
<script src="system/script/jquery.lazyload.js"></script>
<script src="system/script/jquery.progress.js"></script>
<script src="system/script/jquery.mousewheel.js"></script>
<script src="system/script/jquery.querystring.js"></script>
<script src="system/script/jquery.tooltips.min.js"></script>
<script src="system/script/plex.js"></script>
<script src="system/script/player.js?<?php echo time(); ?>"></script>
<script src="system/script/language.js"></script>
I then load index.html in browser once and play a video, then exit back out to URL loader using the skip back button a few times, make a change to system/script/player.js and then re-load index.html by pressing GO and run same video and see my changes are cached from last load... Frustrating. If the php part wasn't working then I figure it wouldn't load in 1st place, but it does load the file the 1st time (after a TiVo reboot to make sure cache is clear), so I think the php trick is OK.

Just in case, I went back to manually adding ?version=# prefix as part of the .js load instead of the php trick, and updating version after each player.js change, and it still doesn't work. So the caching is still happening...
NOTE: I even go so far as to kill my webserver and start it again between code changes to make sure it isn't caching something, but still no dice.
__________________
Roamio Pro, Elite, Premiere
Cox - Motorola CableCards & TAs
Slingbox 350 via TiVo Mini & TiVo Stream for remote viewing

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.


To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

Last edited by moyekj : 08-13-2014 at 10:28 PM.
moyekj is offline   Reply With Quote
Old 08-14-2014, 08:49 AM   #93
jgametest
Registered User
 
Join Date: Oct 2013
Posts: 117
How exactly do you enter the test page into the URL Redict page. The only one I can type out is plex.tv and logon where it's not showing my page correctly. I did add the the tivo file in the profile page. When i tried to type in my http://127.0.0.1:32400/web/index.html this comes back as "broken" with a sad dog holding the cord from within Opera.
jgametest is offline   Reply With Quote
Old 08-14-2014, 09:43 AM   #94
moyekj
Registered User
 
Join Date: Jan 2006
Location: Mission Viejo, CA
Posts: 9,300
You can't use 127.0.0.1:32400 since 127.0.0.1 is the URL of your TiVo when you are running on the TiVo. You need to replace that IP with that of the Plex server. i.e. If computer running Plex is 192.168.1.200 then you would enter http://192.168.1.200:32400 as the URL.
__________________
Roamio Pro, Elite, Premiere
Cox - Motorola CableCards & TAs
Slingbox 350 via TiVo Mini & TiVo Stream for remote viewing

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.


To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
moyekj is offline   Reply With Quote
Old 08-14-2014, 12:53 PM   #95
gonzotek
tivo_xml developer
 
gonzotek's Avatar
 
Join Date: Sep 2004
Location: Outside Phildadelphia
Posts: 2,237
Quote:
Originally Posted by moyekj View Post
Well, the caching tricks don't seem to work for me. I have this in index.html:
Code:
<head>
<meta http-equiv="cache-control" content="no-cache"/>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
<script src="system/script/jquery-2.0.3.min.js"></script>
<script src="system/script/jquery.lazyload.js"></script>
<script src="system/script/jquery.mousewheel.js"></script>
<script src="system/script/jquery.querystring.js"></script>
<script src="system/script/jquery.caret.js"></script>
<script src="system/script/jquery.tooltips.min.js"></script>
<script src="system/script/plex.js"></script>
<script src="system/script/index.js?<?php echo time(); ?>"></script>
<script src="system/script/language.js"></script>
And I have this in player.html:
Code:
<head>
<meta http-equiv="cache-control" content="no-cache"/>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
<script src="system/script/jquery-2.0.3.min.js"></script>
<script src="system/script/jquery.lazyload.js"></script>
<script src="system/script/jquery.progress.js"></script>
<script src="system/script/jquery.mousewheel.js"></script>
<script src="system/script/jquery.querystring.js"></script>
<script src="system/script/jquery.tooltips.min.js"></script>
<script src="system/script/plex.js"></script>
<script src="system/script/player.js?<?php echo time(); ?>"></script>
<script src="system/script/language.js"></script>
I then load index.html in browser once and play a video, then exit back out to URL loader using the skip back button a few times, make a change to system/script/player.js and then re-load index.html by pressing GO and run same video and see my changes are cached from last load... Frustrating. If the php part wasn't working then I figure it wouldn't load in 1st place, but it does load the file the 1st time (after a TiVo reboot to make sure cache is clear), so I think the php trick is OK.

Just in case, I went back to manually adding ?version=# prefix as part of the .js load instead of the php trick, and updating version after each player.js change, and it still doesn't work. So the caching is still happening...
NOTE: I even go so far as to kill my webserver and start it again between code changes to make sure it isn't caching something, but still no dice.
If most of the development action is happening in player.js, I'd suggest not generating the timestamp in php but doing it in javascript as I detailed above. Then you only need to refresh the html one more time so that from then on, every following time the document loads, Opera will generate a newly timestamped script tag, forcing it to fetch the script from the server. I haven't had a chance to test any of the meta (no)caching tags, but I've been using the javascript method with the TiVo/Opera environment for awhile now with no issues, so I'm certain about that.

Other options:
1) The webserver can potentially send no cache headers(this is easy in most proper web servers like Apache or with access to the source code, e.g. pytivo; it may be not so easy if you're just piggybacking on some half-baked server that's part of some other project).

2) Rather than rebooting things, in the URL loader, just add an extra parameter there: http://server/myscript.html?v=1 and keep changing it (still more work than it should be).

I'll try some things out and write out detailed steps of what works/doesn't if I can find some time later this weekend.
__________________
Follow @pytivo on Twitter for project updates and more!
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
A Web app for Roku Remote Control
gonzotek is offline   Reply With Quote
Old 08-14-2014, 05:03 PM   #96
jgametest
Registered User
 
Join Date: Oct 2013
Posts: 117
I wish
jgametest is offline   Reply With Quote
Old 08-14-2014, 09:44 PM   #97
moyekj
Registered User
 
Join Date: Jan 2006
Location: Mission Viejo, CA
Posts: 9,300
OK, I got caching to work using your method, but only after having to move the js loading trick to very bottom of the html page as you mentioned. So I have this at bottom of index.html page (before </html>):
Code:
<script>
var script=document.createElement('script');
script.type='text/javascript';
script.src="system/script/index.js?ts=" + new Date().getTime();
document.getElementsByTagName("body")[0].appendChild(script);
</script>
And similarly in player.html:
Code:
<script>
var script=document.createElement('script');
script.type='text/javascript';
script.src="system/script/player.js?ts=" + new Date().getTime();
document.getElementsByTagName("body")[0].appendChild(script);
</script>
BTW, I've moved focus back to the mpeg-dash version since the HLS version has too many limitations that perhaps can be overcome using dash version.
__________________
Roamio Pro, Elite, Premiere
Cox - Motorola CableCards & TAs
Slingbox 350 via TiVo Mini & TiVo Stream for remote viewing

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.


To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
moyekj is offline   Reply With Quote
Old 08-16-2014, 12:19 AM   #98
ntlord
Registered User
 
Join Date: Nov 2013
Posts: 154
I switched back to dash too. I got seeking mostly working. Its a bit unstable on resume, but it seems to work most of the time. I'll post the new code tommorow.
ntlord is offline   Reply With Quote
Old 08-16-2014, 12:34 AM   #99
ntlord
Registered User
 
Join Date: Nov 2013
Posts: 154
I've set up a github, it can be accessed here:

https://github.com/ntlord/PlexTivo
ntlord is offline   Reply With Quote
Old 08-16-2014, 03:51 AM   #100
moyekj
Registered User
 
Join Date: Jan 2006
Location: Mission Viejo, CA
Posts: 9,300
Great update! My biggest issue with mpeg-dash now is the volume is extremely low compared to the hls version when playing on the TiVo. Do you know how to get an audio boost?
__________________
Roamio Pro, Elite, Premiere
Cox - Motorola CableCards & TAs
Slingbox 350 via TiVo Mini & TiVo Stream for remote viewing

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.


To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
moyekj is offline   Reply With Quote
Old 08-16-2014, 08:15 AM   #101
ntlord
Registered User
 
Join Date: Nov 2013
Posts: 154
Good catch. I just updated the github. It was a stupid remnant from the Google player. It had the volume set to 10%

The only thing I haven't worked on yet is subtitles and different audio streams. That should be pretty simple to get working.

I'm thinking about switching some of the pages to server-side rendering. What do you think of an app similar to AppleTV PlexConnect? It would do some server-side rendering of the pages, and spoof the DNS of the "Moviefone" application so that the Plex client can be launched without having to open the opera store.

I'm not planning on submitting this to the Opera TV store because I don't really have the time to deal with them. Also, I've been talking with the person in the Plex forums working on this, and it sounds like he has a better GUI frontend that works with MyPlex.
ntlord is offline   Reply With Quote
Old 08-16-2014, 10:12 AM   #102
ntlord
Registered User
 
Join Date: Nov 2013
Posts: 154
What about the TivoConnect XML? Has anyone tried to spoof the tivoconnect XML to the tivo and try to add in some sort of "application/html" item, and see what happens?

I'm just trying to figure out how the "Moviefone" application actually shows up on the Tivo. The rest of the icons seem to appear based on the TivoConnect xml.
ntlord is offline   Reply With Quote
Old 08-16-2014, 10:20 AM   #103
moyekj
Registered User
 
Join Date: Jan 2006
Location: Mission Viejo, CA
Posts: 9,300
I was thinking along exactly those lines for DNS spoofing so one could bypass the URL loader, but wasn't exactly sure how to go about doing that. Yes, bypassing Opera TV and the developer requirement would make this much more accessible to everyone.
__________________
Roamio Pro, Elite, Premiere
Cox - Motorola CableCards & TAs
Slingbox 350 via TiVo Mini & TiVo Stream for remote viewing

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.


To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
moyekj is offline   Reply With Quote
Old 08-16-2014, 10:42 AM   #104
moyekj
Registered User
 
Join Date: Jan 2006
Location: Mission Viejo, CA
Posts: 9,300
How about spoofing the "Web Video Hotlist" launch point? Using that URL allows me to launch it directly via MindRPC uiNavigate operation (bypassing Opera TV URL launcher):
Code:
{"type":"uiNavigate","uri":"x-tivo:web:https://hotlist.samba.tv"}
i.e. The URL to be spoofed would be:
Code:
https://hotlist.samba.tv
EDIT, the AOL url works as well for direct launch as you already figured out:
Code:
https://app.hd.aol.com/secureapp/aolon/tv/html5-tivo/index.html

__________________
Roamio Pro, Elite, Premiere
Cox - Motorola CableCards & TAs
Slingbox 350 via TiVo Mini & TiVo Stream for remote viewing

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.


To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

Last edited by moyekj : 08-16-2014 at 11:07 AM.
moyekj is offline   Reply With Quote
Old 08-16-2014, 10:44 AM   #105
ntlord
Registered User
 
Join Date: Nov 2013
Posts: 154
People would need to static IP their tivo boxes, and set the DNS to the server. The server would then intercept the all requests to "hd.aol.com" from the box. That might break some other stuff though. So, if we wanted to make it really tricky, we could send a redirect to the raw IP of hd.aol.com for anything that isn't the moviefone app.

The moviefone request looks like this to host "hd.aol.com":

GET /appstart.html?app=moviefone&device=tv&platform=html5-tivo&secure=true

Basically, what you need to do is borrow the PlexConnect DNS server. Have it look for "hd.aol.com" and redirect that to a python webserver

Then, when the python webserver sees a request for "appstart.html" with a parameter "app=moviefone" it would send a redirect to IP of PlexTivo app/index.html (presumably on the same python web server).

Otherwise, for all other requests it would figure out the IP of the "hd.aol.com" server, and send a redirect to that raw "IP" + whatever resource it requested

Since my time is limited. I'd appreciate it someone could help with this part. That way, I can focus on the webapp side of things

EDIT: or the samba.tv url
ntlord is offline   Reply With Quote
Old 08-16-2014, 10:53 AM   #106
ntlord
Registered User
 
Join Date: Nov 2013
Posts: 154
Quote:
Originally Posted by moyekj View Post
How about spoofing the "Web Video Hotlist" launch point? Using that URL allows me to launch it directly via MindRPC uiNavigate operation (bypassing Opera TV URL launcher):
Code:
{"type":"uiNavigate","uri":"x-tivo:web:https://hotlist.samba.tv"}
i.e. The URL to be spoofed would be: https://hotlist.samba.tv
I with you. You could then write an HME app to add it to the menu.

But this still begs the question of whether we could spoof the TivoConnect XML going to the tivo unit and add it an item with the type "x-tivo/web"? I'm thinking that might work.

Edit: Also does it have to be HTTPS? Can you try with just http?

Last edited by ntlord : 08-16-2014 at 11:00 AM.
ntlord is offline   Reply With Quote
Old 08-16-2014, 11:09 AM   #107
moyekj
Registered User
 
Join Date: Jan 2006
Location: Mission Viejo, CA
Posts: 9,300
I tried the TivoConnect XML angle a while back and using type = x-tivo/web, but didn't have any luck. But that was over a year ago. I'll give it another try perhaps some time this weekend.
__________________
Roamio Pro, Elite, Premiere
Cox - Motorola CableCards & TAs
Slingbox 350 via TiVo Mini & TiVo Stream for remote viewing

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.


To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
moyekj is offline   Reply With Quote
Old 08-16-2014, 11:18 AM   #108
ntlord
Registered User
 
Join Date: Nov 2013
Posts: 154
Ok, let's scrap tivoconnect XML for now. I'm concerned the https is going to cause a prob with certificate checking though. If it works with http, this should be simple
ntlord is offline   Reply With Quote
Old 08-16-2014, 11:29 AM   #109
moyekj
Registered User
 
Join Date: Jan 2006
Location: Mission Viejo, CA
Posts: 9,300
Unfortunately, using http instead of https for both the AOL & Web Video URLs resulted in the dreaded:
Code:
ERROR: RPC error response:
{
   "text": "Not allowed.",
   "debug": "",
   "code": "notAllowed",
   "type": "error"
}
BTW: The YouTube launch point is:
Code:
https://www.youtube.com/tv
Which is therefore also https and too popular to spoof anyway.

The problem with DNS spoofing in general is it will require TiVo users change TiVo network settings and also keep the DNS server running 24/7 so as not to affect normal operation, so I'm not sure it's a good long term solution.

It actually may be easier to just focus on the app itself for now and then submit to Opera TV for approval. If you don't want to do it I'm sure someone else here could volunteer.
__________________
Roamio Pro, Elite, Premiere
Cox - Motorola CableCards & TAs
Slingbox 350 via TiVo Mini & TiVo Stream for remote viewing

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.


To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

Last edited by moyekj : 08-16-2014 at 11:44 AM.
moyekj is offline   Reply With Quote
Old 08-16-2014, 04:34 PM   #110
moyekj
Registered User
 
Join Date: Jan 2006
Location: Mission Viejo, CA
Posts: 9,300
Attached zip file has updated player.js with some minor changes/fixes + capability to arbitrarily jump n minutes forwards or backwards.
With this enhancement, to jump n minutes forwards you enter # minutes desired for the jump with remote followed by FF press.

Examples:
To jump 20 minutes ahead on remote enter:
2,0,FF

To jump 8 minutes backwards on remote enter:
8,REW

You can enter a max of 3 digits, and entry times out after 5 seconds.

Skipping backwards during my brief testing sometimes causes video playback to just freeze and not recover, and other times seeking can take several seconds. It may be nice to put up some kind of seeking message while video seek is in progress, but I couldn't figure out good way to do that.

If you prefer code contributions more directly via email PM your email address and we can communicate that way.

EDIT: More changes made and player.zip file re-attached:
* Pause toggle
* Detects end of play and returns screen to video info page instead of just sitting frozen of last video frame
* Removes leading hour 00: characters in current time + duration since it takes unnecessary space for shorter clips
* Make use of existing timer function for my changes instead of registering video events as I was doing previously

EDIT 2: Remove zip file here - merged changes into Git instead.
__________________
Roamio Pro, Elite, Premiere
Cox - Motorola CableCards & TAs
Slingbox 350 via TiVo Mini & TiVo Stream for remote viewing

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.


To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

Last edited by moyekj : 08-17-2014 at 12:32 PM.
moyekj is offline   Reply With Quote
Old 08-16-2014, 04:57 PM   #111
moyekj
Registered User
 
Join Date: Jan 2006
Location: Mission Viejo, CA
Posts: 9,300
FYI, I tried TiVoConnect XML but even the TiVo sample doesn't run since you have to have your TiVo test platform authorized to allow it to run, and my Roamio Pro isn't authorized. (I can get the launch icon to show up under Apps & Games, but launching gives V401 error message).
So another locked door by TiVo. Launching via HME is the most likely next best option short of Opera TV submission.
__________________
Roamio Pro, Elite, Premiere
Cox - Motorola CableCards & TAs
Slingbox 350 via TiVo Mini & TiVo Stream for remote viewing

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.


To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
moyekj is offline   Reply With Quote
Old 08-16-2014, 10:31 PM   #112
moyekj
Registered User
 
Join Date: Jan 2006
Location: Mission Viejo, CA
Posts: 9,300
Another minor change to the code is to make Pause a toggle. i.e. If in pause mode then switch to play mode and vice-versa. Easy enough to implement and I can pass along the easy code changes if wanted.
I registered my Mini as a developer device today and verified it seems to work OK.
(NOTE: There's something wrong with the virtual keyboard that comes up when asking to enter Plex server URL as left/right arrows skip a column making it a challenge to enter the server URL).

I experimented today a little with fast forward and rewind (-1 < speed > 1) but that didn't work for me.
__________________
Roamio Pro, Elite, Premiere
Cox - Motorola CableCards & TAs
Slingbox 350 via TiVo Mini & TiVo Stream for remote viewing

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.


To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

Last edited by moyekj : 08-16-2014 at 10:37 PM.
moyekj is offline   Reply With Quote
Old 08-17-2014, 09:55 AM   #113
moyekj
Registered User
 
Join Date: Jan 2006
Location: Mission Viejo, CA
Posts: 9,300
FYI, I re-attached updated player.zip file in post above with more changes/cleanup as summarized in post.
__________________
Roamio Pro, Elite, Premiere
Cox - Motorola CableCards & TAs
Slingbox 350 via TiVo Mini & TiVo Stream for remote viewing

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.


To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
moyekj is offline   Reply With Quote
Old 08-17-2014, 10:12 AM   #114
ntlord
Registered User
 
Join Date: Nov 2013
Posts: 154
Great. I'll try to merge in the changes later today.

Just as an FYI, I'm going to be pretty busy this week with work stuff, so I won't have much time to work on this. If you'd like I can give you guys access to the github repository. You can check changes in directly. Alternatively, you can fork it, and I can merge in the changes from your fork.

Just signup for an account on github, and tell me the user name.

Edit: I also recognize some people won't want to have the DNS client, but for me running it 24/7 doesn't really matter, but having a menu item would be nice. Maybe we can make that piece optional. The other benefit the DNS client would give is the ability to have some server-side rendering baked in with minimal effort (I'm not saying we couldn't do that without the dns client, it would just be a pain).

I also know the dash client also still have some stability issues when seeking. I'm not precisely sure why though. As far as I can tell, the buffer just stalls some times. Any help with debugging that would be much appreciated. FYI, you can use "jsconsole.com" for remote debugging on the Tivo

Last edited by ntlord : 08-17-2014 at 10:25 AM.
ntlord is offline   Reply With Quote
Old 08-17-2014, 10:23 AM   #115
moyekj
Registered User
 
Join Date: Jan 2006
Location: Mission Viejo, CA
Posts: 9,300
OK, github account created. Username is same as here: moyekj
If you like I can try and merge in my changes over current git version once you give me permissions.
__________________
Roamio Pro, Elite, Premiere
Cox - Motorola CableCards & TAs
Slingbox 350 via TiVo Mini & TiVo Stream for remote viewing

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.


To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
moyekj is offline   Reply With Quote
Old 08-17-2014, 10:52 AM   #116
ntlord
Registered User
 
Join Date: Nov 2013
Posts: 154
Ok, you should have access now. Go ahead and merge in what you got.
ntlord is offline   Reply With Quote
Old 08-17-2014, 10:58 AM   #117
ntlord
Registered User
 
Join Date: Nov 2013
Posts: 154
Quote:
Originally Posted by moyekj View Post
It may be nice to put up some kind of seeking message while video seek is in progress, but I couldn't figure out good way to do that.
There is some notion of that built in currently, but I have it disabled. You can see it down in the "resume" code that is called when you resume a video from a particular spot.

I disabled it because it would just say seeking, and then wouldn't go away. I think that is because we just need to have some code that removes it on the backside during an "OnProgress" event or something.
ntlord is offline   Reply With Quote
Old 08-17-2014, 12:22 PM   #118
moyekj
Registered User
 
Join Date: Jan 2006
Location: Mission Viejo, CA
Posts: 9,300
OK, my changes so far merged into Git. I'll look into the seeking issue some more as time permits.
__________________
Roamio Pro, Elite, Premiere
Cox - Motorola CableCards & TAs
Slingbox 350 via TiVo Mini & TiVo Stream for remote viewing

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.


To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
moyekj is offline   Reply With Quote
Old 08-17-2014, 11:32 PM   #119
moyekj
Registered User
 
Join Date: Jan 2006
Location: Mission Viejo, CA
Posts: 9,300
Quote:
Originally Posted by ntlord View Post
There is some notion of that built in currently, but I have it disabled. You can see it down in the "resume" code that is called when you resume a video from a particular spot.

I disabled it because it would just say seeking, and then wouldn't go away. I think that is because we just need to have some code that removes it on the backside during an "OnProgress" event or something.
OK, I just checked in changes such that the "Seeking" dialog is displayed on skip and then is hidden once video playback resumes.

One annoying behavior I'm seeing with Plex server, is that if I stop watching a video that was being transcoding, the transcoder process continues running. And then if I connect back to Plex and try and play that video it fails. I have to 1st go to Task Manager to kill the transcoding process to get back to normal behavior. Do you know if there is a way to tell Plex to kill transcoder when it's no longer needed?
__________________
Roamio Pro, Elite, Premiere
Cox - Motorola CableCards & TAs
Slingbox 350 via TiVo Mini & TiVo Stream for remote viewing

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.


To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
moyekj is offline   Reply With Quote
Old 08-18-2014, 12:08 PM   #120
ntlord
Registered User
 
Join Date: Nov 2013
Posts: 154
I'll look into it later this week. One thing it could be is the code I have commented out in player that sends events to plex server. I think this is the part that tell the plex server how much you watched of the video. Don't know if that also ties it to transcoder
ntlord is offline   Reply With Quote
Reply
Forum Jump




Thread Tools


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Advertisements

TiVo Community
Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
vBulletin Skins by: Relivo Media

(C) 2013 Magenium Solutions - All Rights Reserved. No information may be posted elsewhere without written permission.
TiVoŽ is a registered trademark of TiVo Inc. This site is not owned or operated by TiVo Inc.
All times are GMT -5. The time now is 03:35 AM.
OUR NETWORK: MyOpenRouter | TechLore | SansaCommunity | RoboCommunity | MediaSmart Home | Explore3DTV | Dijit Community | DVR Playground |