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 18 Dec 2014, 18:35
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » REQUESTS
Simple TV Player alternative for Puppy?
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [3 Posts]  
Author Message
Little_Miss_Linux


Joined: 28 Jan 2013
Posts: 1

PostPosted: Tue 29 Jan 2013, 09:28    Post subject:  Simple TV Player alternative for Puppy?  

Hi guys im new here after my Windows 7 PC blew up literally Crying or Very sad So now im using Puppy Linux on my very old Fujitsu Siemens Lifebook and loving it. The only thing i really miss from Windows is Simple TV Player as i love to watch TV. I did find a solution for running some of the streams from STP in the terminal using ffplay like so >>

Simple TV Player stream
Code:
rtmp://$OPT:rtmp-raw=rtmp://fmsod.rte.ie:1935/live playpath=rte1 swfUrl=http://www.rte.ie/static/player/swf/osmf2_541_2012_11_14.swf live=1 pageUrl=http://www.rte.ie/player/nl/live/8/ swfVfy=1


ffplay stream
Code:
ffplay -i -x 800 -y 500 "rtmp://fmsod.rte.ie:1935/live playpath=rte1 swfUrl=http://www.rte.ie/static/player/swf/osmf2_541_2012_11_14.swf live=1 pageUrl=http://www.rte.ie/player/nl/live/8/ swfVfy=1"


That's all good but a GUI would be nice so i looked into Zenity then YAD then got stuck so im here to ask for help, so does anyone have any idea's tips on making a simple GUI around launching a stream as above with ffplay using Zenity/YAD.

Thanks xXx
Back to top
View user's profile Send private message 
stu91


Joined: 06 Aug 2012
Posts: 145
Location: England. Dpup. Dell Inspiron 1501

PostPosted: Wed 30 Jan 2013, 11:39    Post subject:  

Hi Little_Miss_Linux,
I haven't used Simple TV Player but if it is of any use to you here is a bash script / simple terminal gui to play the ffplay stream you posted Smile



Code:
#!/bin/sh
IFS=$'\n'

## Usage - add streams below : Stream name | stream command ##
STREAMLIST='

RTE Stream | ffplay -i -x 800 -y 500 "rtmp://fmsod.rte.ie:1935/live playpath=rte1 swfUrl=http://www.rte.ie/static/player/swf/osmf2_541_2012_11_14.swf live=1 pageUrl=http://www.rte.ie/player/nl/live/8/ swfVfy=1"

'
###########################################
function VIDEO () {
clear

  tput smul
   echo ":: Select Station to Play ::"
   tput rmul
   echo " "
   
   ## selection entry text
   PS3="`tput bold`Enter Station Number To Play > `tput sgr0`"
   
   select STREAM in `echo "$STREAMLIST" | cut -d"|" -f1 | sort -u`  "Quit" ; do
 
    [[ "$STREAM" == "Quit" ]] && echo "Goodbye...." && exit         ## exit script
   
    ## get stream command / urls
    GETURL=`echo "$STREAMLIST" | grep -w -m1 "^$STREAM" | cut -d"|" -f2 `
   
    if [[ -n "$GETURL" ]]; then
    ## show selected channel name
    tput smso &&  echo " >:Attempt connection to video stream $STREAM:< "  && tput rmso
 
    ## play stream
    eval "$GETURL"  &>/dev/null
    else
    ## no selection message
    tput setf 4 && echo "Not a station - please select again" && tput sgr0
    fi
 
 done
}

VIDEO
Back to top
View user's profile Send private message 
Q5sys


Joined: 11 Dec 2008
Posts: 1074

PostPosted: Wed 30 Jan 2013, 17:42    Post subject:  

in the past I've used freetuxtv. But I dont think anyone has made it for puppy in a very long time.
_________________



Back to top
View user's profile Send private message Visit poster's website 
Display posts from previous:   Sort by:   
Page 1 of 1 [3 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » REQUESTS
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.0524s ][ Queries: 12 (0.0057s) ][ GZIP on ]