NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Information Community Announcements v
« Previous 1 … 29 30 31 32 33 … 56 Next »
New Plugin - Random TV

 
  • 0 Vote(s) - 0 Average
New Plugin - Random TV
23skidoo
Offline

Member

Posts: 120
Threads: 9
Joined: Sep 2006
#1
2006-09-21, 05:54 PM (This post was last modified: 2006-09-21, 06:12 PM by 23skidoo.)
[ATTACHMENT NOT FOUND]
[Image: randomtv.jpg]

A static screenshot just can't do it justice. Imagine hundreds of TV show titles flashing on the screen at dizzying speeds. Press "OK" on your remote, and a show is selected. But...which one? :-)

This is a tiny little plugin, really. Just more explorations of this quirky (in the best sense of the word) HTPC system. This plugin really just draws random (currently playing) show titles, one after the other; whichever one you click, that's what plays. It's more fun than you might think.

I learned a couple of things from this undertaking (please correct my ignorance; I'm all ears!):

[INDENT]1. Apparently you have to close down the video player if you want your (IMenuTask plugin) display to refresh periodically. sub already identified this as a bug slated for squishing in the next release. In the meantime I put this code in my IMenuTask.Activate():

IVideoPlayer vpTemp = PluginHelperFactory.getPluginHelper().GetActiveVideoPlayer();

if (vpTemp != null)
vpTemp.shutdown();


2. I noticed how now that everyone has a camcorder, no one talks about seeing UFOs like they used to.

3. This little snippet (placed strategically in your IMenuTask.Deactivate() implementation) will make sure that the little inset window on the main menu screen gets blanked out; no leftover clipped plugin display:

SendKeys.SendWait(Keys.Escape.ToString());

4. In your code for IMenuTask.render(), setting requiresMoreRendering to true is dangerous. All other (application) messages are blocked. When Random TV is running, it's only when the show titles slow down (I set requiresMoreRendering to false for ~5 seconds) that the system will actually process a keyboard click.[/INDENT]

I posted the source code, in case anyone's interested. Nothing exciting, but it could be helpful to some, I suppose: [ATTACHMENT NOT FOUND]

And finally, I'll paste in the readme.txt, for posterity:

[INDENT]==================
=== RANDOM TV ====
==================

-> 9-20-06
-> This is the first release. Version 1.0.0. Which implies there'll be future versions.


WHAT IS IT?
----------------------------------------
Imagine hundreds of TV show titles flashing on the screen at dizzying speeds. Press "OK" on your remote, and a show is selected. But...which one? :-)


MANUAL INSTALLATION
----------------------------------------
This one's a serious no-brainer. Put the DLL in your plugins directory. No skin files or supporting images at all. Just the wee little DLL.


USAGE INSTRUCTIONS
----------------------------------------
Click Random TV. After a minute or so of "Ooooh!" and "Ahhh!," click OK. The show who's title is currently displayed on the screen will be launched.


KNOWN ISSUES
----------------------------------------
Seems to work fine. I can think of a boatload of enhancements.


DISCLAIMER
----------
Global Thermonuclear War is a distinct possibility. And I'm not entirely sober at the moment.
[/INDENT]
WinTV PVR-150 / ATI X1600 512 / 3GHz P4 / 2GB RAM
23skidoo
Offline

Member

Posts: 120
Threads: 9
Joined: Sep 2006
#2
2006-09-21, 05:55 PM
And oh my Lord, it looks like the wiki's back up! lol
WinTV PVR-150 / ATI X1600 512 / 3GHz P4 / 2GB RAM
23skidoo
Offline

Member

Posts: 120
Threads: 9
Joined: Sep 2006
#3
2006-09-21, 05:58 PM
Durn it. As soon as I click the Edit link here, the whole thing locks up.
WinTV PVR-150 / ATI X1600 512 / 3GHz P4 / 2GB RAM
23skidoo
Offline

Member

Posts: 120
Threads: 9
Joined: Sep 2006
#4
2006-09-21, 06:08 PM
Ahh, but it's back up. It's been over 10 minutes! :-)
WinTV PVR-150 / ATI X1600 512 / 3GHz P4 / 2GB RAM
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,802
Threads: 769
Joined: Nov 2003
#5
2006-09-21, 06:26 PM
Quote:2. I noticed how now that everyone has a camcorder, no one talks about seeing UFOs like they used to.
lol Big Grin
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,802
Threads: 769
Joined: Nov 2003
#6
2006-09-21, 06:27 PM
I am aware of the server problems over the last few days that have been affecting the wiki. I'm looking into it.
McBainUK
Offline

Posting Freak

Posts: 4,711
Threads: 429
Joined: Sep 2005
#7
2006-09-21, 06:36 PM
sub Wrote:lol Big Grin
Maybe the aliens just don't like being filmed Big Grin Rolleyes
Wiki profile
My Projects
Programs Plugin [SIZE=2](retired)
| Volume OSD Plugin (retired) | Documentation Wiki (retired)
[/SIZE]
23skidoo
Offline

Member

Posts: 120
Threads: 9
Joined: Sep 2006
#8
2006-09-21, 06:57 PM
McBainUK Wrote:Maybe the aliens just don't like being filmed Big Grin Rolleyes
Damn papparazzi.
WinTV PVR-150 / ATI X1600 512 / 3GHz P4 / 2GB RAM
Ted the Penguin
Offline

Posting Freak

Posts: 1,590
Threads: 64
Joined: Aug 2006
#9
2006-09-21, 07:50 PM
23skidoo Wrote:2. I noticed how now that everyone has a camcorder, no one talks about seeing UFOs like they used to.
I guess you ran across some history channel UFO shows, since they seem to have them on all the friggn time, or at least on the reserves schedule one weekend a month plus two weeks a year
4zm4r3d02
Offline

Senior Member

USA
Posts: 356
Threads: 90
Joined: May 2005
#10
2006-09-21, 11:11 PM
23skidoo Wrote:I noticed how now that everyone has a camcorder, no one talks about seeing UFOs like they used to.

It's very difficult to get extraterrestrials to sign the necessary release forms.
Intel Core i7-4790 / 32GB RAM / Windows 10 Pro 64 bit / HDHomeRun CONNECT DUO Model: HDHR5-2US
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (2): 1 2 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  Any interest in a Spotify Plugin for NextPVR? McBainUK 39 14,607 2025-07-09, 08:08 AM
Last Post: Sandybrewer
  New plugin - MovieTrailers imilne 11 6,338 2014-09-25, 08:16 AM
Last Post: imilne
  HD Logos for the NPVR WebRadio Plugin Lao Pan 3 3,444 2014-02-09, 01:32 PM
Last Post: Lao Pan
  Files plugin tmrt 13 7,547 2014-01-09, 11:16 PM
Last Post: mvallevand
  Plex Plugin - first release psycik 141 59,941 2013-06-16, 08:59 PM
Last Post: JonnyCam
  Web Cams plugin for NextPVR McBainUK 37 16,055 2012-10-19, 07:35 AM
Last Post: McBainUK
  PhotoFilter: New Photos/Videos plugin to browse using metadata cncb 1 2,054 2012-08-10, 04:06 PM
Last Post: cncb
  System Plugin - CPU Temperature Monitoring imilne 1 2,066 2012-03-28, 07:59 PM
Last Post: LegioX
  System Plugin - 2nd Test Release (4th Feb) imilne 31 11,134 2012-02-24, 12:22 PM
Last Post: Reddwarf
  System Plugin - New Test Release (29th Jan) imilne 38 11,558 2012-02-07, 08:38 AM
Last Post: imilne

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

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

Linear Mode
Threaded Mode