NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Developers v
« Previous 1 … 72 73 74 75 76 … 93 Next »
Email Plugin

 
  • 0 Vote(s) - 0 Average
Email Plugin
colin
Offline

Senior Member

Posts: 683
Threads: 39
Joined: Nov 2003
#11
2004-08-10, 07:02 PM
Grand, I'll be home in a few hours so I'll stick it up somewhere for download. I think we'll need a huge TV to read this or else a better choice of font. I'm guessing my wife will suggest changing the font rather than let me buy a big tv. Some basic info,

Use the config/setup to put in your username/account and pop3 server (only pop3 support available). Yes, security is thrown clean out the window here as the password is stored as plain text in the config.xml file but we can figure that out at a later stage whether we encrypt and store or else passwords need to be entered by remote or keybaord.

Then just click on Email and hopefully this should show your email. It does not remove email from your account, well it shouldn't anyway, it just displays it.

There are 3 windows "From", "Subject" and "Email contents". There is also an about button. Left and right arrow keys move from window to window. Up and down arrow keys move you through the "From" window and scroll up and down in the "Email content".

Only text is shown, attachments are ignored at the minute. As I said earlier, performance sucks as every action requires contact with the email server. This was the easiest way to do things for a prototype.

Stay tuned,

Colin.
colin
Offline

Senior Member

Posts: 683
Threads: 39
Joined: Nov 2003
#12
2004-08-10, 11:06 PM
Ok, try this out:

Email Plugin

and see what happens. Unzip email01b.zip in gbpvr directory and the files should be put in the correct place. See how it goes,

cheers,
Colin.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,807
Threads: 769
Joined: Nov 2003
#13
2004-08-11, 04:22 AM
I'll test it when I get home. The firewall gets in the way here - making it difficult to get to the pop server.

I've seen the basic screen without any email. Interesting screen layout [Image: biggrin.gif]

I'm glad someone else is sharing my pain by having to decide what a screen should like and how it to make it useable from a remote etc. Its much more difficult than you'd think.

It looks like a good start.

I'll provide some more feedback when I've had a chance to view some email through it.



sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,807
Threads: 769
Joined: Nov 2003
#14
2004-08-11, 08:23 AM
When I try it at home with my correct server/user/password settings I get "Unable to read data from the transport connections'. Any thoughts?
colin
Offline

Senior Member

Posts: 683
Threads: 39
Joined: Nov 2003
#15
2004-08-11, 10:55 AM
Hmm, not at the minute. Try this

MainForm

and put this in the same location as the Mail.dll (think its in the gbpvr directory) and try it. This is the example that comes with the Maill library. If this can connect then I'm doing something wrong, otherwise we may have to write the whole thing ourselves.

And yes, told you layout was crap. I think for viewing an email we may have to display a full window to be able to read the email.

Oh, and I'll also update the plugin to use the debugging api and start logging lots of crap to see if there are any clues.

Cheers,
Colin.

Ok, put up an Emaill.dll with logging in it

Email.dll

drop this into your plugins directory and overwrite the older one. This uses Logging.Verbose and be careful it does write out your username/password to the log file so be careful if you pass log files onto other people.
nkh
Offline

Senior Member

Posts: 418
Threads: 14
Joined: Jan 2004
#16
2004-08-11, 02:01 PM
Hi, it works here! the only thing that I can't get working is scrolling through the email itself.. When the "email window" is highlighted nothing happens when I press up / down on the remote.

Actually, the same thing happens in the "subject window"... the only window I can use up / down in is the "from window".
Nicolai [SIZE="1"]- http://www.nk-h.dk
Current htpc - Asus N4L-VM DH, Core Duo 2GHz, 2GB RAM, Hauppauge PVR-500 mce, Twinhan DVB-C CI, TerraTec Cinergy 1200 DVB-C, nVidia 8800 GTS (using S-video tv-out), decoding dvb-c with ACamd 0.5.0.9, Yanksee and a Viaccess card from YouSee.[/SIZE]
colin
Offline

Senior Member

Posts: 683
Threads: 39
Joined: Nov 2003
#17
2004-08-11, 02:15 PM
Hi nkh,

Excellent, at least you can connect to your email server and get mail. the rest of the functionality is a bit lacking [Image: sad.gif] Did you try this on the PC or on the MVP or both? Did it look nasty on the TV?

the Subject window does not have any scrolling. I didn't think this was required, but jus to be annoying i put it in the list of windows to move to [Image: smile.gif].

As for the email content window, if this is selected and you push the "Up" arrow does this scroll the contents? I have have screwed this bit up as I was getting confused with to get the text to fit into a window. I probably don't have the remote up arrow enabled, probablty something stupid like that.

I'll see if i can sort out the arrow keys and remove the subject window from the highlight list.

Also any thoughts on how the layout should look? I want to make the layout as skinable as possible so people can change the look to what ever they want and not blame me for it looking pants!

Thanks for trying this out, I appreciate the feedback

Cheers,
Colin.
nkh
Offline

Senior Member

Posts: 418
Threads: 14
Joined: Jan 2004
#18
2004-08-11, 04:33 PM
ah, sorry, the scrolling through the email does work from the remote... I just didn't think of pressing 'up' to scroll down [Image: wink.gif] I can't scroll up (pressing the down button on the remote) though.

It actually looks alright on my tv (29" 4:3, through the tv-out on my graphics card)... at leased I can read the text [Image: smile.gif] but using a sans serif font would probably improve the readability. Maybe the font + size could be set in the skin file (if you make one [Image: smile.gif])

Maybe the 'About' button could be a bit narrower so it could be placed at the left of the content window? That way the content window could be a bit higher, and there'd still be room for more buttons under the About button.

I'd also like to see a bit more info in the content window, like:

[Date - time] - [From]
[Topic]
--
[Content of email]
Nicolai [SIZE="1"]- http://www.nk-h.dk
Current htpc - Asus N4L-VM DH, Core Duo 2GHz, 2GB RAM, Hauppauge PVR-500 mce, Twinhan DVB-C CI, TerraTec Cinergy 1200 DVB-C, nVidia 8800 GTS (using S-video tv-out), decoding dvb-c with ACamd 0.5.0.9, Yanksee and a Viaccess card from YouSee.[/SIZE]
nkh
Offline

Senior Member

Posts: 418
Threads: 14
Joined: Jan 2004
#19
2004-08-11, 04:37 PM
oh, and, maybe you should think of only downloading a certin size of the email. I tried to view an email with some attached files and I thought GBpvr had frozen untill I saw the heavy activity on the net [Image: smile.gif]
Nicolai [SIZE="1"]- http://www.nk-h.dk
Current htpc - Asus N4L-VM DH, Core Duo 2GHz, 2GB RAM, Hauppauge PVR-500 mce, Twinhan DVB-C CI, TerraTec Cinergy 1200 DVB-C, nVidia 8800 GTS (using S-video tv-out), decoding dvb-c with ACamd 0.5.0.9, Yanksee and a Viaccess card from YouSee.[/SIZE]
colin
Offline

Senior Member

Posts: 683
Threads: 39
Joined: Nov 2003
#20
2004-08-11, 05:48 PM
[b Wrote:Quote[/b] ]ah, sorry, the scrolling through the email does work from the remote... I just didn't think of pressing 'up' to scroll down I can't scroll up (pressing the down button on the remote) though.

I noticed the myself this morning. I guess i didn't have enough beer in me when I coded that bit.

[b Wrote:Quote[/b] ]It actually looks alright on my tv (29" 4:3, through the tv-out on my graphics card)... at leased I can read the text but using a sans serif font would probably improve the readability. Maybe the font + size could be set in the skin file (if you make one

cool, so one of the requirements will be at least a 29" TV then [Image: smile.gif] I'll try and get more TV friendly fonts and make it a bit bigger.

[b Wrote:Quote[/b] ]Maybe the 'About' button could be a bit narrower so it could be placed at the left of the content window? That way the content window could be a bit higher, and there'd still be room for more buttons under the About button.

Yeah I tried creating a smaller button image but I could not get GBPVR to accept it so i just stuck this one in. I think sub has a new API where you can create buttons now. If not i'll see about generating them inline instead and make them a better size.

[b Wrote:Quote[/b] ]
I'd also like to see a bit more info in the content window, like:

[Date - time] - [From]
[Topic]
--
[Content of email]

Yeah so would I, but we'll just have to figure out what sort of real estate we have to play with. Increasing the font eats up more room.

I thought of putting up a new window with the email content, though again something to work out as we go along.

[b Wrote:Quote[/b] ]oh, and, maybe you should think of only downloading a certin size of the email. I tried to view an email with some attached files and I thought GBpvr had frozen untill I saw the heavy activity on the net

Good point, that would currently kill an MVP box. There should be a way of doing that.

So i'll shuffle things about and fix up the buttons for now, then I'll be working on a proper design for this beastie.

Thanks again for testing this out.

Colin.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

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


Possibly Related Threads…
Thread Author Replies Views Last Post
  PIP plugin for Kodi sgilani 2 3,119 2022-10-17, 12:44 AM
Last Post: sgilani
  New Systems Plugin kirschey 10 3,582 2020-11-14, 08:01 PM
Last Post: sub
  VIdeo playback from plugin mvallevand 5 3,663 2015-08-06, 10:43 PM
Last Post: sub
  Attention Sub: Open TV / Custom Data Grabber plugin Benoire 2 3,026 2014-11-14, 02:05 AM
Last Post: Benoire
  API docs to help with plugin development? McBainUK 3 2,901 2013-06-08, 06:14 PM
Last Post: sub
  Refreshing TV Guide Data (after System plugin EPG update) imilne 13 6,352 2013-03-24, 08:03 PM
Last Post: imilne
  sabnzbd plugin to show processed files Wakalaka 1 2,037 2013-03-12, 06:48 AM
Last Post: psycik
  Plugin problems with started from the command line mvallevand 11 5,284 2012-08-12, 07:56 PM
Last Post: sub
  Get NextPVR data directory from outside a plugin McBainUK 3 2,356 2012-02-11, 05:42 PM
Last Post: mvallevand
  Weather Plugin imilne 0 1,510 2012-01-15, 08:33 PM
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