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
« Previous 1 … 23 24 25 26 27 … 125 Next »
Tuner Status - support thread

 
  • 0 Vote(s) - 0 Average
Tuner Status - support thread
Wakalaka
Offline

Posting Freak

Posts: 926
Threads: 161
Joined: Jan 2007
#1
2007-03-26, 11:20 AM (This post was last modified: 2007-04-27, 01:03 AM by Wakalaka.)
Getting close to v1.0.0.0 of my Tuner Status plugin. It uses SlimmGBPVR's DLL, which will be packaged in my installer. I want to add code so it will also display in the Panel, and refresh itself every X seconds. For the Panel, I'll use the short names (which is just index, e.g. 0, 1, etc) and an icon next to each as an indicator that it's Tuner Status.
NPVR 4.1.0.180302 o Kodi 17.6 o EventGhost 0.5.0.rc4 o SAF 6.3.2 o SchedulesDirect
[SIZE="1"]
Case: Apevia X-Qpack HTPC o Motherboard: Asus P8H67-MLE o CPU: Intel Core i3-2100 o RAM: 8 GB o OS: Win7 64-bit
Tuner: HDHomeRun dual tuner o Leaf SkyHDTV antenna o Remote: Microsoft MCE
Hard drives: Samsung 500 GB SSD, Seagate 2 TB SATA2, Samsung 540 GB SATA2 o Input: Logitech USB keyboard & mouse
Video: ATI Radeon 7750 o Monitor: Viewsonic 27" VX2703MH-LED, LG 55" LCD TV
[/SIZE]
Wakalaka
Offline

Posting Freak

Posts: 926
Threads: 161
Joined: Jan 2007
#2
2007-03-28, 12:42 AM (This post was last modified: 2007-04-21, 11:45 AM by Wakalaka.)
Anyone want to give this test version a try? So far everything is working like I want it to. Unzip to your gbpvr dir, I haven't written an installer yet.
Requirements:
  • Latest GB-PVR Common Utilities available from Video Archiver plugin here
    The version available on the wiki under Development -> Plugin Development is an older version. See this post for more info.

  • GB-PVR User Interface Elements Library V0.61 available here
Right now the plugin appears as a button in whatever location you configured the plugin to be at with config.exe.
I plan on adding the following features:
  • If a tuner is recording, clicking on it will show the channel icon, show name, and show description
  • Tuner status in Panel
I know this plugin isn't the most useful thing. It's a fun way for me to learn some C#, which is very easy since I know C, C++, and Windows/MFC programming. It also gets me familiar with GB-PVR plugin development so I can eventually write something more useful.
NPVR 4.1.0.180302 o Kodi 17.6 o EventGhost 0.5.0.rc4 o SAF 6.3.2 o SchedulesDirect
[SIZE="1"]
Case: Apevia X-Qpack HTPC o Motherboard: Asus P8H67-MLE o CPU: Intel Core i3-2100 o RAM: 8 GB o OS: Win7 64-bit
Tuner: HDHomeRun dual tuner o Leaf SkyHDTV antenna o Remote: Microsoft MCE
Hard drives: Samsung 500 GB SSD, Seagate 2 TB SATA2, Samsung 540 GB SATA2 o Input: Logitech USB keyboard & mouse
Video: ATI Radeon 7750 o Monitor: Viewsonic 27" VX2703MH-LED, LG 55" LCD TV
[/SIZE]
FirstTeamOPS
Offline

Member

Posts: 245
Threads: 21
Joined: Mar 2006
#3
2007-03-28, 03:53 AM (This post was last modified: 2007-03-28, 03:34 PM by FirstTeamOPS.)
Very good on the initial release and thanks for the PM.

It might be helpful to address these so we know what we're looking for...
What's the current way to install? I just assume unzip to the C:\Program Files\devnz\gbpvr folder.

This question might also address the error below: any dependencies (such as: UI Elements Library or GB-PVR Common Utilities)?

How do I access the plugin (does it appear on the main menu)?

EDIT: Had a an error in the logs but when I actually read the error and I needed to install GB-PVR Common Utils.

EDIT 2: Installed GB-PVR Common Utils (latest from Wiki) and Tuner Status appeared in the menu. When I click on it I get an on screen error and this in the logs:
gbpvr.exe.log Wrote:2007-03-27 11:55:14.453 VERBOSE [1] Skinhelper loading image from file: C:\Program Files\devnz\gbpvr\.\skin\Blue\TunerStatus\..\_CoreImages\button_normal.png
2007-03-27 11:55:14.453 VERBOSE [1] Skinhelper loading image from file: C:\Program Files\devnz\gbpvr\.\skin\Blue\TunerStatus\..\_CoreImages\button_selected.png
2007-03-27 11:55:14.468 ERROR [1] Error: msg=0x100 (WM_KEYDOWN) hwnd=0x260834 wparam=0xd lparam=0x1c0001 result=0x0 : System.MissingMethodException: Method not found: 'System.String CommonGBPVRUtilities.ConfigFileUtilities.GetMainStringConfigSetting(System.Xml.XmlDocument, System.String)'.
at GBPVR.Plugins.TunerStatusPlugin.TunerStatusTask.RefreshTunerList()
at GBPVR.Plugins.TunerStatusPlugin.TunerStatusTask.Activate()
at GBPVR.x86396f56243de9fb.OnKeyDown(KeyEventArgs e)
at GBPVR.xbb1566157f5f8b1f.xdae9991ab918b397(Object xdf2e3583f942db7b, KeyEventArgs xc4f45905cb1fc7ba)
at System.Windows.Forms.Control.OnKeyDown(KeyEventArgs e)
at System.Windows.Forms.Control.ProcessKeyEventArgs(Message& m)
at System.Windows.Forms.Control.ProcessKeyMessage(Message& m)
at System.Windows.Forms.Control.WmKeyChar(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ContainerControl.WndProc(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at GBPVR.xbb1566157f5f8b1f.WndProc(Message& m)
2007-03-27 11:55:14.468 VERBOSE [1] videoInsetVisible = false

EDIT 3: Still getting the error after installing GBPVR UI Elements.
Wakalaka
Offline

Posting Freak

Posts: 926
Threads: 161
Joined: Jan 2007
#4
2007-03-28, 11:20 PM (This post was last modified: 2007-04-27, 01:03 AM by Wakalaka.)
Obvious statement alert: looks like the exception is caused because CommonGBPVRUtilities.ConfigFileUtilities.GetMainStringConfigSetting() doesn't exist for you. It exists on my system for my DLLs. I've attached mine, please put them in your GBPVR dir and give them a try (make a backup of yours first).
NPVR 4.1.0.180302 o Kodi 17.6 o EventGhost 0.5.0.rc4 o SAF 6.3.2 o SchedulesDirect
[SIZE="1"]
Case: Apevia X-Qpack HTPC o Motherboard: Asus P8H67-MLE o CPU: Intel Core i3-2100 o RAM: 8 GB o OS: Win7 64-bit
Tuner: HDHomeRun dual tuner o Leaf SkyHDTV antenna o Remote: Microsoft MCE
Hard drives: Samsung 500 GB SSD, Seagate 2 TB SATA2, Samsung 540 GB SATA2 o Input: Logitech USB keyboard & mouse
Video: ATI Radeon 7750 o Monitor: Viewsonic 27" VX2703MH-LED, LG 55" LCD TV
[/SIZE]
FirstTeamOPS
Offline

Member

Posts: 245
Threads: 21
Joined: Mar 2006
#5
2007-03-29, 02:39 AM (This post was last modified: 2007-03-29, 03:22 AM by FirstTeamOPS.)
Wakalaka Wrote:(make a backup of yours first).
**evil laugh** I live for blowing up my system Big Grin


Wakalaka Wrote:Obvious statement alert: looks like the exception is caused because CommonGBPVRUtilities.ConfigFileUtilities.GetMainStringConfigSetting() doesn't exist for you. It exists on my system for my DLLs. I've attached mine, please put them in your GBPVR dir and give them a try (make a backup of yours first).

I compared the DLLs and the only one that's different was the CommonGBPVRUtilities.dll. I put the one you supplied in the gbpvr folder and the plugin loaded no problem. Is that a different version? What's up with that? Mine was 96K and the one you gave me was 192K.

I'm recording a show now... but I'll play with the options once it's done.

EDIT: plugin now seems to work as expected. According to your help, it says 'if a show is recording, channel icon and show description will be here.' My channel icon did not appear... only the capture card name & program title being recorded.

If you're looking for a feature to add, here's my idea:
When you select a tuner and press enter, maybe have the program information appear (similar to what you would see when you press enter on a program being recorded when you're in the TV Guide view)
--OR--
When you have a tuner selected to have the option of watching what's currently being recorded on that specific capture source.
Again, just ideas...

Otherwise... good stuff

What does the 'show in panel' option do?
Wakalaka
Offline

Posting Freak

Posts: 926
Threads: 161
Joined: Jan 2007
#6
2007-03-29, 03:59 AM
Per my first post ...
For the Panel, I'll use the short names (which is just index, e.g. 0, 1, etc) and an icon next to each as an indicator that it's Tuner Status.

The text in the dialog when you select the tuner is placeholder text to inform you of what will be there when I write the code. I decided to change it so as each tuner is highlighted, the channel icon and show description will appear under the list box. This makes it quicker to see what each tuner is doing. When you select a tuner, it will switch to live tv. If a show is recording, it will switch to that channel, otherwise I have to default to some channel.
NPVR 4.1.0.180302 o Kodi 17.6 o EventGhost 0.5.0.rc4 o SAF 6.3.2 o SchedulesDirect
[SIZE="1"]
Case: Apevia X-Qpack HTPC o Motherboard: Asus P8H67-MLE o CPU: Intel Core i3-2100 o RAM: 8 GB o OS: Win7 64-bit
Tuner: HDHomeRun dual tuner o Leaf SkyHDTV antenna o Remote: Microsoft MCE
Hard drives: Samsung 500 GB SSD, Seagate 2 TB SATA2, Samsung 540 GB SATA2 o Input: Logitech USB keyboard & mouse
Video: ATI Radeon 7750 o Monitor: Viewsonic 27" VX2703MH-LED, LG 55" LCD TV
[/SIZE]
Wakalaka
Offline

Posting Freak

Posts: 926
Threads: 161
Joined: Jan 2007
#7
2007-03-29, 04:05 AM (This post was last modified: 2007-03-29, 04:09 AM by Wakalaka.)
FirstTeamOPS Wrote:I compared the DLLs and the only one that's different was the CommonGBPVRUtilities.dll. I put the one you supplied in the gbpvr folder and the plugin loaded no problem. Is that a different version? What's up with that? Mine was 96K and the one you gave me was 192K.

Found the answer, see this post
NPVR 4.1.0.180302 o Kodi 17.6 o EventGhost 0.5.0.rc4 o SAF 6.3.2 o SchedulesDirect
[SIZE="1"]
Case: Apevia X-Qpack HTPC o Motherboard: Asus P8H67-MLE o CPU: Intel Core i3-2100 o RAM: 8 GB o OS: Win7 64-bit
Tuner: HDHomeRun dual tuner o Leaf SkyHDTV antenna o Remote: Microsoft MCE
Hard drives: Samsung 500 GB SSD, Seagate 2 TB SATA2, Samsung 540 GB SATA2 o Input: Logitech USB keyboard & mouse
Video: ATI Radeon 7750 o Monitor: Viewsonic 27" VX2703MH-LED, LG 55" LCD TV
[/SIZE]
JavaWiz
Offline

Posting Freak

Jacksonville, FL. USA
Posts: 2,522
Threads: 141
Joined: Dec 2006
#8
2007-03-29, 04:09 AM
Loaded up your plugin, checked the config, fired up GBPVR and it ran 1st time perfectly. Good job!!
FirstTeamOPS
Offline

Member

Posts: 245
Threads: 21
Joined: Mar 2006
#9
2007-03-29, 05:46 AM
Wakalaka Wrote:Per my first post ...
For the Panel, I'll use the short names (which is just index, e.g. 0, 1, etc) and an icon next to each as an indicator that it's Tuner Status.
OK... it also sounds like it's not fully implemented yet.

Wakalaka Wrote:The text in the dialog when you select the tuner is placeholder text to inform you of what will be there when I write the code. I decided to change it so as each tuner is highlighted, the channel icon and show description will appear under the list box. This makes it quicker to see what each tuner is doing. When you select a tuner, it will switch to live tv. If a show is recording, it will switch to that channel, otherwise I have to default to some channel.
Cool!

Wakalaka Wrote:Found the answer, see this post
That explains it!
cameluk
Offline

Senior Member

Posts: 255
Threads: 13
Joined: Oct 2004
#10
2007-04-03, 12:41 AM
Is the background size hard coded, I'm trying to skin for a 16:9 format, and the background refuses to resize from the original 720,480 size :confused:
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (5): 1 2 3 4 5 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  Should I bother with Philips 7130 TV tuner card? silentmonolith 5 16,989 2014-10-30, 09:59 AM
Last Post: martint123
  vidImport utility support carpeVideo 73 53,557 2012-05-27, 06:27 AM
Last Post: jksmurf
  BBC Iplayer Downloader Plugin - Beta + Support smiler 420 155,463 2012-01-20, 12:15 PM
Last Post: martint123
  Anime Library - Support Thread Ommina 167 92,293 2011-05-07, 06:41 AM
Last Post: mvallevand
  Music plugin support thread MixMan 103 40,008 2010-08-31, 09:46 PM
Last Post: povarotti
  StartGBPVR - support thread liteswap 46 24,657 2010-04-06, 04:10 AM
Last Post: keith_leitch
  BurnDVDX2 support issues. pastro 260 69,855 2010-03-05, 04:44 PM
Last Post: TomR
  SoftwareRecorder + FM Tuner DRL 0 1,911 2009-09-01, 02:16 AM
Last Post: DRL
  Weather2 Support Thread scb147 47 14,857 2009-08-30, 07:19 AM
Last Post: Reddwarf
  ComTweak v1.0 Support Thread HydroChronic 12 5,418 2009-05-23, 10:02 AM
Last Post: gEd

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

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

Linear Mode
Threaded Mode