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 02 Oct 2014, 12:38
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 Posts_count  
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: 1067

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_website 
Display_posts:   Sort by:   
Page 1 of 1 Posts_count  
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » REQUESTS
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0475s ][ Queries: 11 (0.0032s) ][ GZIP on ]