NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Add-ons (3rd party plugins, utilities and skins) Old Stuff (Legacy) v
1 2 3 4 5 … 125 Next »
iMONDisplayPlugin Release

 
  • 0 Vote(s) - 0 Average
iMONDisplayPlugin Release
kindt nick
Offline

Member

Posts: 128
Threads: 9
Joined: May 2008
#71
2011-01-19, 09:06 PM
Excellent!

Today I've added
- Get Auto-Datadirectory from Registry, (WinXp Problem)
- LineConfiguration for Next- & CurrentRecording
- 4 Fully Configurable Custom Lines

Will add the SQL Querry and time adjustment this weekend and upload it.

Just one more question, where is the DB located?

Grtz,
Nick
CPU: Core i3 530 @2.93GHz, Intel; _ RAM: 4GB DDR3 1333MHz, Corsair; _ MoBo: GA-H55M-D2H, Gigabyte
HD: 64MB SSD Drive ; _ OS: Win 7 Ultimate x86, Microsoft
Case: Fusion 430 Black, Antec; _ LCD Display: ODM/OEM LCD, iMON; _ Remote/ir-Blaster: MCE-Remote 2, Microsoft
TV: 40" Full HD LCD, Samsung
pBS
Offline

Posting Freak

Posts: 4,829
Threads: 182
Joined: Aug 2005
#72
2011-01-19, 09:22 PM (This post was last modified: 2011-01-20, 04:33 AM by pBS.)
hmmm, should be in datadirectory for everyone..Smile [xp fix will help that]
glad that helped..it is a bit diff than old pvrx2..

where is the line config for next n current? oops, you haven't uploaded yet...:o
Hardware: HDHR Prime, HDPVR 1212, Raspberry pi2, VFD display w/LCDSmartie
ralphy
Offline

Senior Member

Posts: 255
Threads: 51
Joined: Nov 2006
#73
2011-01-21, 05:57 AM
Having just returned from four week vacation, I'm able catch up on the goings on with NPVR, and am able to make a post or two.

Congratulations Nick on this work. I haven't run it yet, but know the effort involved. Looks like you've got some happy customers.

kindt nick Wrote:I know, problem is that older plugins didn't actually work with an API but rather with a "hack" into the actual SG_VFD.dll.
It provides more functionality then the official API but I have to write every from scratch. Meaning, for me, it would take weeks to accomplish that.
If you would like that, then we would have to encourage Ralphy to port the Externaldisplay code to nPVR.
....
So I guess the old VFD won't be supported natively, at least not with my code.

...
Nick

I found it interesting the no one has requested an update of the External Display pluging for NPVR. I figured no one must be using it any more other than me!

I made changes to the code ages ago (before the Soundgraph API was released) and have had it working well, especially with the new methods available in NPVR. The only problem is that I have not be able to get the External Configuration program to function the way it should, so I never published it (and no one asked for it anyway!)

If there is real interest in External Display (with or without the use of the Soungraph API, that I don't believe utilises the 96x16 pixels), then I suggest going back to this thread and ask.
[SIZE="1"]Silverstone GD01S-MXR (three dead rows of pixels in the LCD and defective remote control), Power: Zalman ZM460B-APS (blew up - can't remember what's there now); CPU: Pentium D 3.2 GHz with Asus V72 Cooler; MD: Asus P5LD2 Deluxe 2048MB,
WDC WD10EADS 1TB Data, 320GB System, Asus EN9400GT Silent 512MB, Hauppauge HVR 1300,
XP Home SP3, GB-PVR 2.0, ExternalDisplay v0.3[/SIZE]
pBS
Offline

Posting Freak

Posts: 4,829
Threads: 182
Joined: Aug 2005
#74
2011-01-21, 09:40 PM
i would have, but i had already rolled my own..Smile [of course with everything i wanted in it]
for me key is adjustability, as all my vfd's have different sizes so need to be able to re-arrange things depending on display size..
plus i didn't know if you were planning on updating it to npvr compatibility..guess i shoulda asked..Smile
i'm all in favor of 'generic' software controllers that can be used in many situations, flexibility being main thrust..the more types of info/ways to display it the better..
Hardware: HDHR Prime, HDPVR 1212, Raspberry pi2, VFD display w/LCDSmartie
kindt nick
Offline

Member

Posts: 128
Threads: 9
Joined: May 2008
#75
2011-01-23, 07:10 PM
update uploaded with

- Get Auto-Datadirectory from Registry, (WinXp Problem)
- LineConfiguration for Next- & CurrentRecording
- 4 Fully Configurable Custom Lines
- Current channel name, number
- current show title, subtitle, description.

if this works, I'll extend the Custom Lines and it also add the extra info for recorded video.


Grtz,
Nick
CPU: Core i3 530 @2.93GHz, Intel; _ RAM: 4GB DDR3 1333MHz, Corsair; _ MoBo: GA-H55M-D2H, Gigabyte
HD: 64MB SSD Drive ; _ OS: Win 7 Ultimate x86, Microsoft
Case: Fusion 430 Black, Antec; _ LCD Display: ODM/OEM LCD, iMON; _ Remote/ir-Blaster: MCE-Remote 2, Microsoft
TV: 40" Full HD LCD, Samsung
pBS
Offline

Posting Freak

Posts: 4,829
Threads: 182
Joined: Aug 2005
#76
2011-01-23, 10:33 PM (This post was last modified: 2011-01-23, 11:08 PM by pBS.)
ahhh, good to see...so far custom strings working, but livetv doesn't give it's name...[Ch0 for sixth channel?] you have to cross ref channel_oid in epg to oid in channel, then get channel name...was working before...Smile
none of the {channelname} are working nor {StopTime}..[i get literal string "{StopTime}"]
and i notice nothing for 2nd line in livetv, is that right?
don't i need some sort of sqlite .dll?

oh and rectime format still has "H:MM tt" in it..Smile [note: 12hr format is h:MMt or any of a number of others]

will play with custom msgs some more and let you know how that is working, but seems good..
Hardware: HDHR Prime, HDPVR 1212, Raspberry pi2, VFD display w/LCDSmartie
pBS
Offline

Posting Freak

Posts: 4,829
Threads: 182
Joined: Aug 2005
#77
2011-01-23, 10:38 PM (This post was last modified: 2011-01-23, 10:45 PM by pBS.)
found this in logs:
Code:
2011-01-23 16:13:57.419    [DEBUG][1]    StartLiveTV@7
2011-01-23 16:13:57.419    [ERROR][1]    iMonDisplayPlugin: Unknow Object received. Start dump of Object:
2011-01-23 16:13:57.419    [DEBUG][1]    (Channel)
2011-01-23 16:13:57.420    [DEBUG][1]        OID (Int32): 7208
2011-01-23 16:13:57.420    [DEBUG][1]        Name (String): KRIVDT
2011-01-23 16:13:57.420    [DEBUG][1]        Number (Int32): 26
2011-01-23 16:13:57.420    [DEBUG][1]        EPGSource (String): XMLTV
2011-01-23 16:13:57.420    [DEBUG][1]        EPGMapping (String): <epg>
  <source>XMLTV</source>
  <file>\\PVR2\gbpvr\epg\mceloc.xml</file>
  <mapping_id>26.KRIV.5</mapping_id>
  <mapping_name>26 KRIV</mapping_name>
</epg>

2011-01-23 16:13:57.420    [DEBUG][1]        Icon (Image): (null)
2011-01-23 16:13:57.420    [DEBUG][1]        Mappings (List`1):
2011-01-23 16:13:57.420    [DEBUG][1]            (ChannelMapping)
2011-01-23 16:13:57.420    [DEBUG][1]                SID (Int32): 3
2011-01-23 16:13:57.420    [DEBUG][1]                Encrypted (Boolean): False
2011-01-23 16:13:57.420    [DEBUG][1]                ONID (Int32): 0
2011-01-23 16:13:57.420    [DEBUG][1]                Locator (String): <physical_channel>26</physical_channel>
2011-01-23 16:13:57.420    [DEBUG][1]                captureSourceOID (Int32): 20
2011-01-23 16:13:57.420    [DEBUG][1]                tuning (String): <tuning>
  <type>ATSC</type>
  <locator>
    <physical_channel>26</physical_channel>
  </locator>
  <service_id>3</service_id>
  <tsid>2871</tsid>
  <service_type>1</service_type>
</tuning>

2011-01-23 16:13:57.420    [DEBUG][1]                serviceType (Int32): 1
2011-01-23 16:13:57.420    [DEBUG][1]        #captureSourceChannelMappings (Dictionary`2):
2011-01-23 16:13:57.420    [DEBUG][1]            [20] (Int32):
2011-01-23 16:13:57.420    [ERROR][1]    iMonDisplayPlugin: End Dump
2011-01-23 16:13:57.421    [ERROR][1]    iMonDisplayPlugin: Error Writing Data to Registry
2011-01-23 16:13:57.421    [ERROR][1]    iMonDisplayPlugin: Throwed Exception: System.ArgumentNullException: Value cannot be null.
Parameter name: value
   at System.ThrowHelper.ThrowArgumentNullException(ExceptionArgument argument)
   at Microsoft.Win32.RegistryKey.SetValue(String name, Object value, RegistryValueKind valueKind)
   at Microsoft.Win32.RegistryKey.SetValue(String name, Object value)
   at DisplayAPI.RegistryHandler.EventHandler(String eventName, Object eventArg) in C:\Dev\NextPVR\Plugins\iMonDisplayPlugin\Registry\RegistryHandler.cs:line 646
2011-01-23 16:13:57.421    [DEBUG][1]    StartLiveTV@done
2011-01-23 16:13:57.425    [DEBUG][1]    GetEventCode() returned: 0x000d
2011-01-23 16:13:57.425    [DEBUG][1]    GetEventCode() returned: 0x000e
2011-01-23 16:13:57.463    [ERROR][1]    iMonDisplayPlugin: Error while getting currentChannelinformation:
2011-01-23 16:13:57.464    [ERROR][1]    iMonDisplayPluginThe given key was not present in the dictionary.
2011-01-23 16:13:57.464    [ERROR][1]    iMonDisplayPlugin: Error Writing Data to Registry
2011-01-23 16:13:57.464    [ERROR][1]    iMonDisplayPlugin: Throwed Exception: System.ArgumentNullException: Value cannot be null.
Parameter name: value
   at System.ThrowHelper.ThrowArgumentNullException(ExceptionArgument argument)
   at Microsoft.Win32.RegistryKey.SetValue(String name, Object value, RegistryValueKind valueKind)
   at Microsoft.Win32.RegistryKey.SetValue(String name, Object value)
   at DisplayAPI.RegistryHandler.UpdateRegistry(Object sender, EventArgs eArgs) in C:\Dev\NextPVR\Plugins\iMonDisplayPlugin\Registry\RegistryHandler.cs:line 372
2011-01-23 16:13:57.706    [DEBUG][1]    GetEventCode() returned: 0x8102
Hardware: HDHR Prime, HDPVR 1212, Raspberry pi2, VFD display w/LCDSmartie
kindt nick
Offline

Member

Posts: 128
Threads: 9
Joined: May 2008
#78
2011-01-23, 11:29 PM
I've changed the casting of the Channel-object.
That's the reason why the whole thing doesn't work.

Could you try again with this update?
will not work either, but this way, I'll now the exact name of the object.


I don't need an extra dll file to manage sql query's.
The standard "System.Data.SQLite.dll" does the trick.
But thanks to your sqlite I got an insight on how the whole recording system works.
(Cannot test anything over here)


"StopTime" Should be "Endtime" for the Recording format strings.
ChannelName doesn't work cause the Channel-object does not get casted.


Also, could you upload your %datadirectory%/npvr.db3, if it is not to big.
This way I can use your database to test the functions here.

grtz,
Nick
CPU: Core i3 530 @2.93GHz, Intel; _ RAM: 4GB DDR3 1333MHz, Corsair; _ MoBo: GA-H55M-D2H, Gigabyte
HD: 64MB SSD Drive ; _ OS: Win 7 Ultimate x86, Microsoft
Case: Fusion 430 Black, Antec; _ LCD Display: ODM/OEM LCD, iMON; _ Remote/ir-Blaster: MCE-Remote 2, Microsoft
TV: 40" Full HD LCD, Samsung
pBS
Offline

Posting Freak

Posts: 4,829
Threads: 182
Joined: Aug 2005
#79
2011-01-23, 11:37 PM (This post was last modified: 2011-01-23, 11:49 PM by pBS.)
on it...Big Grin
i'll schedule a recording way in future so you'll have something to see in nextrec:..

with that update livetv channle works! i get ch## and ch name..Smile
but {channelName} not...
nextrec endtime working..Smile

trying to upload db now..it's 2mb

need logs?
Hardware: HDHR Prime, HDPVR 1212, Raspberry pi2, VFD display w/LCDSmartie
kindt nick
Offline

Member

Posts: 128
Threads: 9
Joined: May 2008
#80
2011-01-23, 11:49 PM
Crap, forgot to ask for the the log file .

could you upload it?

also {channelName} shoud be {ChannelName} (Capital C)

grtz
CPU: Core i3 530 @2.93GHz, Intel; _ RAM: 4GB DDR3 1333MHz, Corsair; _ MoBo: GA-H55M-D2H, Gigabyte
HD: 64MB SSD Drive ; _ OS: Win 7 Ultimate x86, Microsoft
Case: Fusion 430 Black, Antec; _ LCD Display: ODM/OEM LCD, iMON; _ Remote/ir-Blaster: MCE-Remote 2, Microsoft
TV: 40" Full HD LCD, Samsung
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (18): « Previous 1 … 6 7 8 9 10 … 18 Next »
Jump to page 


Possibly Related Threads…
Thread Author Replies Views Last Post
  ExternalDisplay New Release - (MediaPortal MiniDisplay Port) ralphy 78 73,239 2011-01-26, 09:04 AM
Last Post: ralphy
  Is Contour working on the new release bhays 6 3,222 2006-05-16, 06:27 AM
Last Post: MixMan

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

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

Linear Mode
Threaded Mode