NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Developers v
« Previous 1 … 3 4 5 6 7 … 93 Next »
Media Browser Integration

 
  • 0 Vote(s) - 0 Average
Media Browser Integration
lukemb3
Offline

Member

Posts: 109
Threads: 1
Joined: Jul 2013
#431
2014-03-13, 01:28 AM
Would it be easier if you submitted pull requests instead of having Sven merge it? I am also going to check in the genre fix right now for the plugin.

As far as adding UI - the only real UI you can add is the plugin's html configuration page. You cannot present any UI at runtime because the requests will be coming from all kinds of different devices and the server could very well be tucked somewhere out of sight.

What you can do is tell me what the purpose is for and then we can figure out how to get the message to the administrator. For example, we have a notification system. The plugin could add messages to that (or I could have the core do it if I think it should apply to any tv service).

If you want some kind of error message displayed resulting in some kind of input, I could create some special exception which passes the info to clients, they make the user respond and then the client submits it. That is not desirable though because it will require work from any UI developer wishing to implement live tv, so I really would like to avoid that.

As far as actually popping up a message box on the server machine, that also can't be done for the reason stated above, but also, doing so will prevent your plugin from working with the linux and os x versions of the server.
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,505
Threads: 963
Joined: May 2006
#432
2014-03-13, 01:48 AM
lukemb3 Wrote:Would it be easier if you submitted pull requests instead of having Sven merge it? I am also going to check in the genre fix right now for the plugin..

I didn't plan on using MB3 or going through the trouble of submitting pr's the syntax for patch is so straight forward for my temporary use and I can come in from time to time d/l a zip and help when I can

patch -u -i filename

Quote:As far as adding UI - the only real UI you can add is the plugin's html configuration page. You cannot present any UI at runtime because the requests will be coming from all kinds of different devices and the server could very well be tucked somewhere out of sight.

What you can do is tell me what the purpose is for and then we can figure out how to get the message to the administrator. For example, we have a notification system. The plugin could add messages to that (or I could have the core do it if I think it should apply to any tv service).[/quote]

Notifications are fine as a ui. The example is trying create a timer when there are no tuners available.

Martin
lukemb3
Offline

Member

Posts: 109
Threads: 1
Joined: Jul 2013
#433
2014-03-13, 01:57 AM
Ah - whenever an action fails due to no tuners being available, throw a LiveTvConflictException. Right now it will just get presented like any other error but down the road I imagine more will be done with it. And in general, whenever anything fails make sure exceptions are getting thrown (which I think the plugin is already doing).
Svekke
Offline

Member

Posts: 121
Threads: 7
Joined: Oct 2012
#434
2014-03-13, 07:49 PM
Patched the solution.
Tried to do the patch before. But didn't work. Now it worked. Smile
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,505
Threads: 963
Joined: May 2006
#435
2014-03-13, 08:58 PM
Svekke Wrote:Patched the solution.
Tried to do the patch before. But didn't work. Now it worked. Smile

Great yeah the patch wasn't working because you and luke were modifying the code. I dont' think I need to do much more that give you some suggestions, but I will be glad to help if you need something

Martin
Svekke
Offline

Member

Posts: 121
Threads: 7
Joined: Oct 2012
#436
2014-03-13, 09:05 PM
mvallevand Wrote:Great yeah the patch wasn't working because you and luke were modifying the code. I dont' think I need to do much more that give you some suggestions, but I will be glad to help if you need something

Martin

I only have a problem that after 5 minutes the livestream stops. And i need to close the viewer. And start it again...
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,505
Threads: 963
Joined: May 2006
#437
2014-03-14, 05:16 AM
I think that is a common NextPVR rolling file issue that I call the 7 minute problem but you see it more preciously at 6:40

Martin
Svekke
Offline

Member

Posts: 121
Threads: 7
Joined: Oct 2012
#438
2014-03-14, 04:44 PM
It's a common issue. Does it mean they can't resolve that? Or not yet...
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,986
Threads: 770
Joined: Nov 2003
#439
2014-03-14, 04:46 PM
Svekke Wrote:It's a common issue. Does it mean they can't resolve that? Or not yet...
A few people have mentioned having the problem, but I've been unable to reproduce it. I'll take another look before the next release.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,986
Threads: 770
Joined: Nov 2003
#440
2014-03-14, 04:57 PM
If you can reproduce the problem, then zip and attach the web.log/nrecord.log files, it'd be useful.
« Next Oldest | Next Newest »

Users browsing this thread: 4 Guest(s)

Pages (56): « Previous 1 … 42 43 44 45 46 … 56 Next »
Jump to page 


Possibly Related Threads…
Thread Author Replies Views Last Post
  Looking for C# UPnP Media Server code bgowland 5 7,963 2016-12-16, 08:25 PM
Last Post: mvallevand
  Media\Show Directory mvallevand 12 6,506 2014-07-02, 10:58 AM
Last Post: sub
  Media\Shows Metadata mvallevand 2 2,064 2013-05-22, 04:09 AM
Last Post: mvallevand
  Streaming media imilne 44 14,181 2012-12-14, 04:05 AM
Last Post: mvallevand
  SkyDrive Eplorer Integration Released.....also available for Mac and iPad UncleJohnsBand 0 1,576 2012-04-24, 01:06 AM
Last Post: UncleJohnsBand
  Building a list of files in media folders (npvr Music and Videos) bgowland 2 2,100 2012-02-05, 10:29 AM
Last Post: bgowland
  Windows Media Connect - Storing stuff on a Home Server psycik 3 2,933 2009-09-29, 03:47 AM
Last Post: mvallevand
  Plugin notification of stopped media mvallevand 7 2,675 2009-08-19, 11:16 PM
Last Post: mvallevand
  GBPVR Media Events KingArgyle 1 1,719 2005-03-27, 07:12 PM
Last Post: sub

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

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

Linear Mode
Threaded Mode