Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Thu 24 Apr 2014, 02:35
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Unsorted
Puppy DVB Viewer
Moderators: deshlab, Flash, GuestToo, Ian, JohnMurga, Lobster
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [6 Posts]  
Author Message
gary101


Joined: 08 Oct 2006
Posts: 539
Location: Boston, Lincs. UK

PostPosted: Mon 26 Mar 2007, 09:17    Post subject:  Puppy DVB Viewer
Subject description: My first puppy program
 

I thought I would write a program so I spent a few hours the other day reading up on tclTk as I have never programmed with it before.

Anyway, I decided to write a simple front end to mplayer to allow the changing of dvb tv channels through a GUI. I have christened it the 'Puppy DVB Viewer'.

As I have no experience with this programming language I am not sure if you will need devx to use this program (if anyone can let me know how to package it up so anybody can use it I would be grateful.)

The resulting program is attatched (quite nervous about posting this). I have done two versions, the attached one opens an mplayer window for viewing, the other plays within the GUI window but I have not posted this as I am not happy with the window layout yet.

This is most certainly an alpha! There is no error checking to speak of and you occasionally have to press the button twice to get the selected channel (I think when some previous mplayer is taking too long to be killed) but for all the roughness, I am finding it quite useful. I intend to polish it up a bit and at a later date add things like a full screen button, volume control and a recording facility. Perhaps I might give a choice of mplayer or gxine as frontends.

I have been using it successfully with DVB-T but I think it should work ok with DVB-C & DVB-S (I think that the channels.conf is the same format).

To use the program you have to have Mplayer installed and a valid channels.conf in /root/.mplayer/

I would be very happy to receive any feedback/constructive critisism, I hope that someone else might find this useful too.

EDIT I should just add that I have not yet put a scrollbar in the channel list, you can however scroll through channels with your mouse scrollwheel

Gary
PDValpha.tar.gz
Description  Puppy DVB Viewer ALPHA
gz

 Download 
Filename  PDValpha.tar.gz 
Filesize  945 Bytes 
Downloaded  224 Time(s) 
Back to top
View user's profile Send private message 
sintot


Joined: 29 Oct 2006
Posts: 57
Location: Madrid

PostPosted: Mon 26 Mar 2007, 13:15    Post subject:  

It works OK (without devx). But I can't see the point: GXine has a graphical way of changing channels (with the wheel of the mouse) included.
Thanks anyway!
Back to top
View user's profile Send private message 
gary101


Joined: 08 Oct 2006
Posts: 539
Location: Boston, Lincs. UK

PostPosted: Mon 26 Mar 2007, 15:01    Post subject:  

Hi Sintot
Thanks for your comments.
This is mainly a programming exercise but as I have problems with gxine it is useful for me anyway.

I know it is very rough at the moment but I have only spent a few hours on it, eventually I hope to add all the functionality that I had in my windows installation before I swapped to linux and be able to toggle between windowed and unwindowed mode.

At the moment unless you go for an involved setup like myth then it is difficult to get a program that will allow you to do everything including scheduled recording. I hope to be able to implement this as time allows.

Of course the icing on the cake would be getting an electronic program guide working as well.

Interesting that you had it running without devx, I thought it would not be needed but tried the program on another computer here (without devx) and it didn't run, guess that is something I will have to look at.
Back to top
View user's profile Send private message 
gary101


Joined: 08 Oct 2006
Posts: 539
Location: Boston, Lincs. UK

PostPosted: Wed 28 Mar 2007, 10:27    Post subject:  

OK so now I have gxine running properly I have had a chance to see what it can do in relation to DVB
The things lacking for me are:
No list of channel names to choose from
no Gui recording
No facility to record the program you are watching

Please do not get me wrong, I think gxine and mplayer are good at what they do, but I think extra support for DVB stuff in the form of a GUI is a useful addition.

What I intend to end up with will be similar in function to Kaffeine but purely to watch TV via DVB.

I now have a very basic recording facility in the program and am working on recording whilst watching a program, when I have that done I will probably make it available here if there is any interest from puppyists who use DVB to watch TV.
Back to top
View user's profile Send private message 
deeveebee

Joined: 18 Jul 2007
Posts: 1

PostPosted: Wed 18 Jul 2007, 14:05    Post subject:  

Yes, I'm interested. Please keep us informed of your progress. Thanks.
Back to top
View user's profile Send private message 
gary101


Joined: 08 Oct 2006
Posts: 539
Location: Boston, Lincs. UK

PostPosted: Wed 18 Jul 2007, 17:40    Post subject:  

Hi Deeveebee

It is good to hear of your interest, I have now released alpha 3
http://www.murga-linux.com/puppy/viewtopic.php?t=18148

ALpha 4 will probably be the last alph before moving to a beta version. However because of work commitments this may be a while before I post it.

Alpha 3 works very well for me on a day to day basis, but then again I know its limitations, please read the info in the above link.

Once I have put a few more items of functionality in I will start to make it a bit more sophisticated.

If you give it a try I would be interested in any feedback.

All the best

Gary
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [6 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Unsorted
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0508s ][ Queries: 12 (0.0055s) ][ GZIP on ]