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
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 53,117
Threads: 957
Joined: May 2006
#141
2013-12-18, 04:43 AM
UncleJohnsBand Wrote:To me... mutli-channel would equate to the users Channel Group(s).....

I don't disagree, but that is how reven uses it after sub added it to the xml http://forums.nextpvr.com/showthread.php...post459690 Remember too it is possible to have client side Channel groups.

I figure NEWA should be a superset. The only use case I can think of for one channel is to provide updates during a long live tv session.

Martin
UncleJohnsBand
Offline

Posting Freak

U.S.A.
Posts: 5,643
Threads: 258
Joined: Feb 2005
#142
2013-12-18, 04:54 AM
mvallevand Wrote:I don't disagree, but that is how reven uses it after sub added it to the xml http://forums.nextpvr.com/showthread.php...post459690 Remember too it is possible to have client side Channel groups.

I figure NEWA should be a superset. The only use case I can think of for one channel is to provide updates during a long live tv session.

Martin

I could see where depending UI (i.e. mobile view) you may only want to access a channel at a time so you would want the ability to just get a guide for one channel at a time.

I could update to parse a delimitated list like the xml return sub has if that is really what is needed.

I always struggle with doing something specific to one UI need.... vs. the client taking the data and managing it within their environment. If you are managing objects on the client like the server does... it really shouldn't be an issue.
Intel Core i7 @ 4.00GHz Skylake 14nm
ASUSTeK COMPUTER INC. Z170-DELUXE
Windows 10 Pro x64
PVR Software: NPVR 5.1.1
SiliconDust HDHomeRun HDHR5-4US Connect Quatro 4 Channel Tuner
Roku Ultra
2 PCH A-100's
lukemb3
Offline

Member

Posts: 109
Threads: 1
Joined: Jul 2013
#143
2013-12-18, 05:23 AM
One channel is what I wanted. A channel OID based filter would be more ideal though.

UJB - I agree and that's one of the principles of Rest that I like the most. I would never ask for you for an individualistic feature because at that point it would turn into Rpc. So a filter is just a filter. Your api doesn't have to care what the client needs it for. But you're right though, it's for mobile.
lukemb3
Offline

Member

Posts: 109
Threads: 1
Joined: Jul 2013
#144
2013-12-18, 04:38 PM
Seeing this on the latest build with SortedFilteredList

{
"ManageResults": {
"EPGEvents": [
{},
{},
{},
{
"epgEventJSONObject": {
"epgEvent": {
"OID": 1051353,
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 53,117
Threads: 957
Joined: May 2006
#145
2013-12-18, 08:55 PM
lukemb3 Wrote:Seeing this on the latest build with SortedFilteredList

I'm using your database with my patch and not seeing that. What filter parameters are you passing?

@UJB I woke up this morning realizing that my patch still would have problems when there are no epg_events and no recurring oid and I've confirmed that this will still dumps all the recurr records when they aren't being requested.

Martin
lukemb3
Offline

Member

Posts: 109
Threads: 1
Joined: Jul 2013
#146
2013-12-18, 10:55 PM
mvallevand Wrote:I'm using your database with my patch and not seeing that. What filter parameters are you passing?

@UJB I woke up this morning realizing that my patch still would have problems when there are no epg_events and no recurring oid and I've confirmed that this will still dumps all the recurr records when they aren't being requested.

Martin


var filterOptions = new
{
resultLimit = -1,
All = false,
None = false,
Pending = false,
InProgress = true,
Completed = true,
Failed = true,
Conflict = false,
Recurring = false,
Deleted = false
};
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 53,117
Threads: 957
Joined: May 2006
#147
2013-12-19, 12:40 AM
lukemb3 Wrote:var filterOptions = new

No it works fine here, even with the Chrome addon UJB suggested. What C# parser are you using? My test is with Newtonsoft.

Martin
UncleJohnsBand
Offline

Posting Freak

U.S.A.
Posts: 5,643
Threads: 258
Joined: Feb 2005
#148
2013-12-19, 01:56 AM
lukemb3 Wrote:One channel is what I wanted. A channel OID based filter would be more ideal though.

UJB - I agree and that's one of the principles of Rest that I like the most. I would never ask for you for an individualistic feature because at that point it would turn into Rpc. So a filter is just a filter. Your api doesn't have to care what the client needs it for. But you're right though, it's for mobile.

20131218-1 on server now uses channelId qyerstrng to take in the OID of the channel
Intel Core i7 @ 4.00GHz Skylake 14nm
ASUSTeK COMPUTER INC. Z170-DELUXE
Windows 10 Pro x64
PVR Software: NPVR 5.1.1
SiliconDust HDHomeRun HDHR5-4US Connect Quatro 4 Channel Tuner
Roku Ultra
2 PCH A-100's
UncleJohnsBand
Offline

Posting Freak

U.S.A.
Posts: 5,643
Threads: 258
Joined: Feb 2005
#149
2013-12-19, 02:00 AM
mvallevand Wrote:I'm using your database with my patch and not seeing that. What filter parameters are you passing?

@UJB I woke up this morning realizing that my patch still would have problems when there are no epg_events and no recurring oid and I've confirmed that this will still dumps all the recurr records when they aren't being requested.

Martin

I'll step through the code and see what happens... to confirm

In manageservice when not request recurring you are still getting recurring?
For a manual recording one-off you do not get anything because there is no EPG and no recurring?
Intel Core i7 @ 4.00GHz Skylake 14nm
ASUSTeK COMPUTER INC. Z170-DELUXE
Windows 10 Pro x64
PVR Software: NPVR 5.1.1
SiliconDust HDHomeRun HDHR5-4US Connect Quatro 4 Channel Tuner
Roku Ultra
2 PCH A-100's
UncleJohnsBand
Offline

Posting Freak

U.S.A.
Posts: 5,643
Threads: 258
Joined: Feb 2005
#150
2013-12-19, 02:09 AM (This post was last modified: 2013-12-19, 02:16 AM by UncleJohnsBand.)
lukemb3 Wrote:var filterOptions = new
{
resultLimit = -1,
All = false,
None = false,
Pending = false,
InProgress = true,
Completed = true,
Failed = true,
Conflict = false,
Recurring = false,
Deleted = false
};


The class you are posting isn't a complete class.... I pulled a default sortedFilterList object from /public/ManageService/Get/RecordingsSortFilterObj and set your settings and it parses through. The partial class is coming in as null.....

{
"resultLimit": -1,
"datetimeSortSeq": 0,
"channelSortSeq": 0,
"titleSortSeq": 0,
"statusSortSeq": 0,
"datetimeDecending": false,
"channelDecending": false,
"titleDecending": false,
"statusDecending": false,
"All": false,
"None": false,
"Pending": false,
"InProgress": true,
"Completed": true,
"Failed": true,
"Conflict": false,
"Recurring": false,
"Deleted": false,
"FilterByName": false,
"NameFilter": null,
"NameFilterCaseSensative": false
}
Intel Core i7 @ 4.00GHz Skylake 14nm
ASUSTeK COMPUTER INC. Z170-DELUXE
Windows 10 Pro x64
PVR Software: NPVR 5.1.1
SiliconDust HDHomeRun HDHR5-4US Connect Quatro 4 Channel Tuner
Roku Ultra
2 PCH A-100's
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (56): « Previous 1 … 13 14 15 16 17 … 56 Next »
Jump to page 


Possibly Related Threads…
Thread Author Replies Views Last Post
  Looking for C# UPnP Media Server code bgowland 5 7,736 2016-12-16, 08:25 PM
Last Post: mvallevand
  Media\Show Directory mvallevand 12 6,102 2014-07-02, 10:58 AM
Last Post: sub
  Media\Shows Metadata mvallevand 2 1,922 2013-05-22, 04:09 AM
Last Post: mvallevand
  Streaming media imilne 44 13,117 2012-12-14, 04:05 AM
Last Post: mvallevand
  SkyDrive Eplorer Integration Released.....also available for Mac and iPad UncleJohnsBand 0 1,477 2012-04-24, 01:06 AM
Last Post: UncleJohnsBand
  Building a list of files in media folders (npvr Music and Videos) bgowland 2 1,938 2012-02-05, 10:29 AM
Last Post: bgowland
  Windows Media Connect - Storing stuff on a Home Server psycik 3 2,745 2009-09-29, 03:47 AM
Last Post: mvallevand
  Plugin notification of stopped media mvallevand 7 2,391 2009-08-19, 11:16 PM
Last Post: mvallevand
  GBPVR Media Events KingArgyle 1 1,607 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