NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Developers v
« Previous 1 … 5 6 7 8 9 … 93 Next »
Time to make Touch web Service less experimental

 
  • 0 Vote(s) - 0 Average
Time to make Touch web Service less experimental
fred250
Offline

Senior Member

Posts: 457
Threads: 10
Joined: Jul 2006
#51
2013-09-18, 12:32 PM
reven Wrote:Relative. However I do know current position.

You should be ok then!

I’m curious too, to know if the Samsung player is tamable.

When developing for my LG TV I’ve made a super thin stupid html5 app that only redirects to a menu page on my home server. From that menu I can choose to go to any other LG APP project I’m working on. Since all coding is made in html and javascript this way there is no need to compile and all changes take effect immediately. You wouldn’t happen to have such an APP for Sumsung that I can get hold of?

/Fred
reven
Offline

Posting Freak

Posts: 5,782
Threads: 396
Joined: Sep 2004
#52
2013-09-18, 11:57 PM
nah, all my code is html5/js/css which is downloaded and run on the tv (designed it this way to make things faster), and then I only call the webservice api to get data/submit data.
fred250
Offline

Senior Member

Posts: 457
Threads: 10
Joined: Jul 2006
#53
2013-09-19, 08:21 AM
reven Wrote:nah, all my code is html5/js/css which is downloaded and run on the tv (designed it this way to make things faster), and then I only call the webservice api to get data/submit data.

Well, on the LG it's pretty much the same thing weather the single-page-html5/js-app is residing on a server or wrapped in an App-shell downloaded on to the TV.
I only use this setup for development and the main reason is because it’s a round trip via LG website to wrap, sign and encrypt the app before I can download and put it on to the TV via USB stick, and it’s an extra 15 min delay before every small change can be tested on the TV.

I’ve tried to use the LG smart TV emulator for testing but it’s next to useless because of bad performance and it won’t play recordings very well so testing this skip/seek thing is almost impossible.

With this setup I only need to restart the app on the TV (clears cache) and the new js and html will be instantly loaded. It has saved me lots of time.
Maybe it’s easier to deploy to your Samsung TV than to my LG?

/Fred
reven
Offline

Posting Freak

Posts: 5,782
Threads: 396
Joined: Sep 2004
#54
2013-09-19, 08:25 AM
yeah that sounds terrible for development Smile

with samsung, you sign in as "develop" user which lets you input an IP address which you can sync user loaded apps to it. so takes about 30seconds to package up the app and get it on the tv for testing. I do often have to turn the tv on/off to force all the code is updated however.

the emulator is pretty good, video playback in the emulator is pretty bad though (OSD flashes and pretty much impossible to use while video is playing).

and dont get me started on debugging Smile
fred250
Offline

Senior Member

Posts: 457
Threads: 10
Joined: Jul 2006
#55
2013-09-19, 09:42 AM
reven Wrote:yeah that sounds terrible for development Smile

with samsung, you sign in as "develop" user which lets you input an IP address which you can sync user loaded apps to it. so takes about 30seconds to package up the app and get it on the tv for testing. I do often have to turn the tv on/off to force all the code is updated however.

the emulator is pretty good, video playback in the emulator is pretty bad though (OSD flashes and pretty much impossible to use while video is playing).

and dont get me started on debugging Smile

Seems a lot easier to deploy to a Samsung. Will the app you deployed for test be available on the TV "standalone" or are you required to stay logged on to the Samsung site to run it?

There may be some other simpler way of deploying to the LG TV now, haven’t bothered to check it out for a while.

/Fred
reven
Offline

Posting Freak

Posts: 5,782
Threads: 396
Joined: Sep 2004
#56
2013-09-19, 11:58 AM
when they log in as "develop" it doesnt actually log in anywhere, just how you tell the tv to get into the extra menus.

ive finally been approved as a "Partner" for samsung, so I can submit my app to be added to the samsung app store. my goal is to distribute it via that (too much work/hard to maintain deploying it via the current method).
fred250
Offline

Senior Member

Posts: 457
Threads: 10
Joined: Jul 2006
#57
2013-09-19, 10:05 PM
@reven

I have PM'd you with details on the timing.info aware streamer for you to try with your samsung TV

/fred
reven
Offline

Posting Freak

Posts: 5,782
Threads: 396
Joined: Sep 2004
#58
2013-09-20, 09:12 AM
hi fred, I think I've got it setup right, but seeking hasnt changed. I'm guessing my sample ts files dont have the required timing.info files (they were downloaded from dropbox/mega.co.nz, which probably caused those parts to be lost, ntfs and all).

I used mvallevand's writetime app to create [video].ts.Timing.Info for each sample file, but still skipping hasnt changed. logs dont show much.

Code:
About to stream file: D:\Videos\2.ts

Try seek to position =24957060000

About to stream file: D:\Videos\2.ts

Try seek to position =24957060000

Successfully set: seek position =56860000

About to stream file: D:\Videos\2.ts

Try seek to position =56860000

About to stream file: D:\Videos\2.ts

Try seek to position =56860000

About to stream file: D:\Videos\2.ts

Try seek to position =56860000

About to stream file: D:\Videos\2.ts

Try seek to position =56860000

?read still shows
Code:
Read: seek position =26848860000
even after the player has done the jump, is this suppose to be reset to 0 after the jump to indicate the jump was successful?
reven
Offline

Posting Freak

Posts: 5,782
Threads: 396
Joined: Sep 2004
#59
2013-09-20, 09:39 AM
the tsstreamer is returning the correct duration for the recordings now however. one recording using nextpvr stream?f= option returned around 10mins and the correct duration is closer to 30mins.
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,998
Threads: 956
Joined: May 2006
#60
2013-09-20, 12:13 PM
reven Wrote:I used mvallevand's writetime app to create [video].ts.Timing.Info for each sample file, but still skipping hasnt changed. logs dont show much.

In an earlier post I read external Timing.Info wasn't working, did you add it as an ADS?

Martin
« Next Oldest | Next Newest »

Users browsing this thread: 3 Guest(s)

Pages (11): « Previous 1 … 4 5 6 7 8 … 11 Next »
Jump to page 


Possibly Related Threads…
Thread Author Replies Views Last Post
  is there a service?method which returns listings for multiple channels? reven 16 7,147 2022-04-11, 04:30 PM
Last Post: mandai
  Extending end time. mvallevand 5 4,114 2018-10-17, 01:21 PM
Last Post: jcole998
  NextPVR "Service" Backend? jcole998 5 4,847 2018-05-24, 01:17 PM
Last Post: jcole998
  Transcoding service mvallevand 27 12,397 2016-08-26, 07:43 PM
Last Post: sub
  Extending recording time mvallevand 2 2,471 2014-09-14, 01:04 AM
Last Post: sub
  Touch and http audio url's mvallevand 0 1,430 2013-11-03, 07:05 PM
Last Post: mvallevand
  <StartTime> and <EndTime> time formats? spinnaker 3 2,516 2013-10-25, 01:48 AM
Last Post: spinnaker
  New web service clarification needed bgowland 6 3,287 2013-10-19, 02:36 AM
Last Post: bgowland
  [REQ] Additional web service API calls reven 26 8,358 2013-08-31, 10:08 PM
Last Post: mvallevand
  getting recurring recordings from service?method API? reven 2 1,974 2013-08-03, 10:50 PM
Last Post: reven

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode