NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Developers v
« Previous 1 … 84 85 86 87 88 … 93 Next »
LCDs & VFDs

 
  • 0 Vote(s) - 0 Average
LCDs & VFDs
janviet
Offline

Member

Posts: 50
Threads: 9
Joined: Apr 2004
#21
2004-10-28, 06:07 PM
Hi All,

Actually, the nice thing about using jaLCDs is that my plugin does not need to be display specific. All my plugin does is set some variables. A jaLCDs configuration takes care of the visualization. I use a jaLCDs configuration for a 16 x 2 display, but any display supported by jaLCDs can be addressed completely by creating the proper jaLCDs configuration.

On my system jaLCDs still crashes when it goes into standby, but if this plugin works for others I don't mind sharing it...

Regards,

Jan
arttext
Offline

Member

Posts: 118
Threads: 30
Joined: Sep 2004
#22
2004-10-28, 06:35 PM
With a search I noticed that jaLCD is software. Can I buy any 2x16 display or does it need special specs? Or a special brand?
Forgive me for my ignorance, i don't know dick about this.

cheers, arttext
[SIZE="1"]
Abit AN-M2HD*Radeon HD 3850 HDMI out*Athlon 64X2 4400+*2x VS1GB667D2*HD-DVD Toshiba SD-H802A*Enermax EG425AX-VE*Hauppage WINTV 250*GBPVR GUI*Silverstone Lascala Case*
[/SIZE]
tybreizh29
Offline

Junior Member

Posts: 34
Threads: 17
Joined: Oct 2004
#23
2004-10-28, 07:32 PM
Hi,
Is the IEventNotification working with your last version 227?
Thanks
Bzh

I tried this way and it's not working :
namespace ComicPlugin
{
public enum EventTypes
{
CurrentAudioTrack,
CurrentVideoTrack,
CurrentTrackDuration,
CurrentChannelNumber,
CurrentChannelName,
};
public interface IEventNotification
{
void Notify(EventTypes eventType, string eventText);
}
...
public void Notify(EventTypes eventType, string eventText)
{
System.Diagnostics.Debug.WriteLine("Event&quotWink;
System.Diagnostics.Debug.WriteLine(eventText);
}
reven
Offline

Posting Freak

Posts: 5,782
Threads: 396
Joined: Sep 2004
#24
2004-10-28, 08:39 PM
oh so janviet does  your plugin use this like $channelnumber$, $isrecording$ (not sure how you do this one) and stuff in jalcd itself?

also could you add a channel number, start/stop time, and show title as variables. those are probably the most important ones, well the ones i feel should be implemented first.

cheers
reven
Offline

Posting Freak

Posts: 5,782
Threads: 396
Joined: Sep 2004
#25
2004-10-29, 04:22 AM
arttext you dont need any special lcd screen, to my knowledge anyway, they are pretty generic well i know the parallel port ones are, there are some tutorials out there that show you how you can make a lcd yourself using a lcd screen from your local tech store (dicksmith kinda deal).  usb ones im not sure how compatible they are, dont have one myself, i think i read somewhere they arent as generic, but you can plug them directly into your mb and dont need cable coming out the back of ur computer to plug into the parallel port (if you're lucky enough to have an extra onboard parallel port err socket you could plug it into that so dont have to have it going out the back).  new computers tend to just have one on the back panel.

just make sure you get a nice color one, mines blue its pretty [Image: smile.gif] green is so 80s Tongue red wud be cool, aslong as it matched ur case of course.
-----------------------------------------------------------
oh and janviet trying your plugin now, seems to be working very well! love it infact, just the length and current position are always 0:06 and 0:00 but artist + song title is working perfect. also doesnt your plugin add a menu item to the jalcd program? if not can you give me a list of the variable i can use?

cheers,
reven
janviet
Offline

Member

Posts: 50
Threads: 9
Joined: Apr 2004
#26
2004-10-29, 07:55 AM
Hi All,

[b Wrote:Quote[/b] ]reven: the length and current position are always 0:06 and 0:00
That's odd... duration and position work for me. Which version of GB-PVR are your running? Have you tried with different files? Do you use the jukebox plugin to play the file?

[b Wrote:Quote[/b] ]reven: can you give me a list of the variable i can use?
They should be in the included readme.txt, but here they are (without jaLCDs' delimiters): <ul>[*]title[*]artist[*]album[*]year[*]comments[*]tracknum[*]genre[*]duration[*]position[/list]It is very easy to add variables. The only hard part may be the code required to set them to a proper value...

[b Wrote:Quote[/b] ]tybreizh29: Is the IEventNotification working
It works for me. If you send me a PM, I'll send you my LCD plugin so you can have a look at my code.

Regards,

Jan
reven
Offline

Posting Freak

Posts: 5,782
Threads: 396
Joined: Sep 2004
#27
2004-10-29, 08:15 AM
hey jan i was using the Music Library and the new Music plugin (i forget its name).  both had the same result with the 0:00 0:06 on every file i tried.

im running latest version of gbpvr 227, and your example config file.

i tried it again, after a reboot and still displayes 0:06 and 0:00. using the lame codec aswell. its wierd how length is 0 but pos is 6 seconds.
reven
Offline

Posting Freak

Posts: 5,782
Threads: 396
Joined: Sep 2004
#28
2004-10-29, 12:47 PM
i get a null exception error when i exit the music albums, which only happens when im running the jalcd program, this is the code im using in jalcd
<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">$artist§ $fixend:$position§§
$fix:$tracknum§.§$showif:$len:$artist§§:>>:0:§$title§[/QUOTE]

i think its to do with null values for tracknum etc.
janviet
Offline

Member

Posts: 50
Threads: 9
Joined: Apr 2004
#29
2004-10-29, 01:45 PM
Hi,

Do you mean that jaLCDs is throwing the exception? I have noticed that jaLCDs has a hard time dealing with incorrect configurations. That combined with the (let's be friendly here  [Image: biggrin.gif]) unorthodox syntax has frustrated me a few times already...

The one thing I notice in your configuration fragment is that you have a showif construct without any text to show (in my sample I use this construct to show a '-' between artist and title only if artist is not empty). Could this be the cause of your troubles?

Regards,

Jan
reven
Offline

Posting Freak

Posts: 5,782
Threads: 396
Joined: Sep 2004
#30
2004-10-29, 02:08 PM
yeah i fixed the null bug by using an if tracknum length &gt; 0. only problem now is trying to get the tracknumber fixed on left, and song title scrolling after it, but the tracknumber overlaps the song title if the song title is less than 16 (well does if its over but scroll makes it seem like it doesnt) anyone know to fix this in jalcd?

boy these little pieces of code can be a nightmare to keep track off, all the ifs etc on one line. might be a good idea to add a lot of these lines of code to an attached readme file; once the plugin is finished of course. im trying to get it to look the best on a 16x2 screen, this is my setup (well the setup im trying to get)
[ARTIST] [FIXEND SONG TIME POSITION (Not length)]
[TRACKNUMBER. (with a period, but no space)][SONG TITLE, starting after the dot, so maybe a space 1, 2(if track under 10, or 3 for &gt; 10, ie 1.blah, 10.blah). and try do an if statement, if the tracknumber + title length is greater than 16 add an &quot; - &quot; to the end.

so far i got the top line done, the tracknumber with dot, giving up the rest for now, sleep sounds good.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (4): « Previous 1 2 3 4 Next »


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

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

Linear Mode
Threaded Mode