SageTV Community  

Go Back   SageTV Community > SageTV Development and Customizations > SageTV Customizations

Notices

SageTV Customizations This forums is for discussing and sharing user-created modifications for the SageTV application created by using the SageTV Studio or through the use of external plugins. Use this forum to discuss customizations for SageTV version 6 and earlier, or for the SageTV3 UI.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 03-24-2009, 07:04 AM
michaeldjcox michaeldjcox is offline
Sage Fanatic
 
Join Date: Nov 2006
Location: Ipswich, Suffolk, United Kingdom
Posts: 823
Arrow Utility: Web Radio and TV Encoder

Web Feed Encoder version 0.9.6

Introduction

The webfeedencoder is a means to get web based streaming TV and radio and device output available in SageTV and its extenders as if they were regular channels.

As far as SageTV is concerned the webfeedencoder behaves like another TV tuner.

The excellent VLC media player software is used to tune to the internet TV or radio station, add video to the radio, or audio to video where its missing, and dump to an MPEG2 file for SageTV.

The means of tuning and detuning is completely configurable so any source of video or audio could be fed to SageTV via the webfeedencoder.

The webfeedencoder also includes an EPG grabber to harvest schedules from the web pages and other sources and update SageTVs program guide without need for an XMLTV importer.

Feeds can also be added to online services menu in SageTV.

A configuration tool is provided which allows you to:
  • Find and configure new channels and online services.
  • Test the channels and EPG harvest.
  • Perform ad-hoc EPG updates.
  • Manage your SageTV channel lineup and online services.

Installation of the encoder requires installation of a single plugin jar file to your SageTV installation and updates to the Sage.properties file.

A comprehensive install wizard performs the whole installation task and provides options to downgrade to your previous version and uninstall.

Headline changes this release
  • Support for latest VLC.
  • Support for IP cameras.
  • Support for MPEG2 IP TV.
  • Support for Audio only devices.
  • New feature to ensure VLC sessions die.

Installation Prerequisites
  • The VLC media player. Use the latest version.
  • Version 6.4 of SageTV or later. Version 6.6 and the latest STV update if you wish to use online services. Also works with version 7.

Installation and upgrade from earlier versions

Download the file from here

Unzip the download file in a location of your choice.

The zip file contains a user guide and a jar file.

To install or upgrade run:

java -jar webfeedencoder_0_9_6.jar

On windows vista and windows 7 you should run this in an elevated command prompt or from your admistrator account.

Support and updates

Support is available on this thread.

Credits
Many thanks to all those who have given WebFeedEncoder a try and provided valuable feedback.

Special thanks to everybody who helped with pre-release testing.

Version History

0.9.6 - 7th release.
  • Accommodate the latest VLC release 1.0.5 removing the need to run the old 0.9.8 release.
  • New channel type: TV (silent) and tuning commands to cater for IP cameras.
  • New channel type: Device (audio), tuning commands and seed plugin to cater for audio input devices.
  • New channel type: TV (MPEG) and tuning commands to cater for IP TV channels that require no transcoding to MPEG2.
  • New radio tune/detune commands to allow use of later versions of VLC where input slave does not work.
  • To accommodate the above a tuning URL is expanded at encoder startup so that it is refers to a playlist then the playlist is converted to a list of streams. This is to get around a VLC bug where this is not done automatically.
  • Add feature where detuning automatically kills any spawned (VLC or other) processes that refuse to stop when asked.
  • New grabber type: None.
  • New grabber type: XMLTV file to allow EPG data to be sourced from an XMLTV file.
  • Added “lineupIsExternallyManaged” property which if set true allows the old style use of a separate XMLTV importer tool and disables the updating of SageTV EPG and lineup from the config tool and encoder. An XMLTV file is output instead.
  • The configtool arguments used to run remotely now must be prefixed with -host=, -port= and -sagePort=. A help message is output if incorrect arguments are used.
  • The configtool now accepts a -console argument which forces logging output to be output to the screen as well as to a file.
  • The configtool now correctly saves new user defined day URL suffix formats creating while specifying an EPG harvest and offers it as a choice for new channels.
  • The configtool now longer loads the channels twice.
  • The configtool now no longer blocks user actions while waiting for a timeout in circumstances where SageTV or the encoder are not available.
  • The configtool chanel dialog now has three seperate buttons for testing the channel, EPG and now playing.
  • The configtool now allows all types of EPG grab to be tested rather than just web based ones.
  • The configtool EPG grab test run will now perform programme merging like the actual EPG test run does where programmes that cross day boundaries are joined and stop times are added if they are not present in the source web page.
  • The configtool grabber test dialog now shows start and stop days separately from start and stop times.
  • The configtool channel test can now generate any number of log files visible in tabs as may be required by custom tuning commands
  • The configtool channel dialog now sorts many combo box lists for ease of locating required values.
  • The configtool channel dialog will now correctly set the id to be the same as the callsign for channel types with no seed plugin.
  • The configtool channel dialog now correctly saves the timezone no matter what the grabber type.
  • The configtool channel dialog now defaults the channel timezone to “Local” rather than the actual local timezone to allow portability of radiotime sample channel properties.
  • The configtool channel dialog now correctly defaults Grabber type to the default day long programme.
  • The configtool now allows actions on a channel can now be launched when a channel is selected in any tab.
  • The configtool now allows a single channel to be selected and reloaded from file.
  • The configtool now allows the user to view any seed channel properties and refresh them from the source web site.
  • The configtool now allows the channels tests to be launched from anywhere.
  • The configtool channel dialog now allows editing of the output video and audio stream parameters in an “Advanced” tab.
  • The configtool now displays an “about” box with version information.
  • The configtool now allows channel testing in standalone mode.
  • New channel types property: “type.name” which provides a user friendly name for the channel type.
  • Removed channel properties: nowplaying.command.text, nowplaying.command.position, nowplaying.command.color, nowplaying.command.size, nowplaying.prefix, nowplaying.suffix channel properties.
  • New channel properties: subtitle.text, subtitle.name, subtitle.pos, subtitle.color, subtitle.size channel properties..
  • New channel property: subtitle text allows reference to other channel properties within it.
  • New channel property to specify an XMLTV file to source EPG data has been added.
  • New channel property to specify a supplementary URL that will provide missing audio or video from the primary tuning URL.
  • New channel property to specify the type of supplementary URL.
  • Channel properties are now saved with unicode characters escaped to cater for channels of non-Latin origin.
  • Channel properties are now saved with improved processing of comments.
  • The grabber can now be run standalone to produce an XMLTV file.
  • The grabber will automatically create a “guide” directory will be created to contain EPG guide output as XMLTV if not already present.
  • The grabber now sets the timezone for XMLTV start and stop times as UTC.
  • The grabber now correctly formats of the start and stop times to include the timezone.
  • The grabber now correctly processes timezones of grabbed programmes.
  • The encoder will now longer log worrying “SageTV has possibly died” log messages.
  • The encoder will accept a new tuning command: “Vlc” to be used instead of Exec cmd /c “VLC” “%vlc%”.
  • The encoder will accept a new tuning command: “ExecAndWait” where the requirement is to launch an OS command but wait for it to finish.
  • The encoder will accept a new tuning command: “VlmConf” which allows a VLC VLM conf file to be created from a template substituting channel properties.
  • The encoder will now replace a reference to “%commands%” in a tuning command with the file path of the commands directory.
  • The installer now saves upgraded config files in the same format as the config tool.
  • The installer now processes custom properties added by user in an old installation correctly.
  • The installer now recommends the latest version of VLC be installed.

0.9.5 - 6th release (Beta).
  • Added management of extra services and their categories on SageTV online services menu.
  • Added a seed plugin for www.podcastdirectory.com to seed online services.
  • Made seed plugins data driven so more can be easily added and existing ones maintained.
  • Fixed issues with VLC processes not been killed on webfeedencoder shutdown.
  • Exceptions thrown on configtool/encoder start up are handled rather than causing silent death.
  • Bad channels found during configtool/encoder startup are skipped rather than causing silent death.
  • The EPG plugin no longer shares the same management port as the encoder. This caused the encoder or SageTV to appear down after either had been restarted.
  • The configtool and encoder will correctly reconnect to SageTV after it is restarted.
  • The configtool channel test log file names have been improved.
  • The configtool device seed plugin now uses the correct device name in the tuning URL.
  • The configtool now disables the webfeedencoder EPG plugin when remove lineup is selected to allow configuration of video sources with native EPG.
  • The configtool occasional failures in start and stop of webfeedencoder now fixed.
  • The configtool output from starting/stopping services is now recorded in the log file.
  • The configtool EPG grab test 'Run' button now works.
  • The configtool channel addition now defaults timezone to local time rather than GMT.
  • The configtool will now show the correct channel icon after addition of or editing of a channel.
  • The configtool will periodically check for presence of SageTV and the encoder.
  • The configtool now has a menu option to reload the channel database from disk.
  • The configtool on moving channels up and down the lineup will also move the channel selection so a continued move further up or down the lineup is possible with reselection.
  • The configtool will no longer allow deletion of a channel without it first being removed from the lineup.
  • The configtool will now terminate any channel test when the channel test dialog is dismissed.
  • The configtool now disallows edits rather than crashing if in remote mode and webfeedencoder not running.
  • The configtool can now start up webfeedencoder via SageTV in remote mode.
  • The configtool now indicates in the title bar if it is remote mode.
  • The configtool will now create a logs directory if one is not present and will not require presence of DLLs when working in remote mode.
  • The configtool the seed selection dialog now allows the external web site to be searched for feeds.
  • The configtool issue where EPG harvest test cached and incorrectly used downloaded content for both first day and weekly EPG harvests has been fixed.
  • The configtool issue where sending the lineup twice had the effect of removing knowledge of any existing EPG plugin has been fixed.
  • The configtool seed selection dialog branch children are now alphabetically sorted.
  • The configtool channel test now shows the video in a VLC window.
  • The configtool TV channel test now shows the VLC test log in “Stream to mpeg” rather than “Save as mp3” tab.
  • The encoder now tidies any channel test files on exit.
  • EPG grab will now push times to SageTV in GMT rather than local time.
  • EPG grab will now make program times have zero seconds if seconds.
  • EPG grab now assigns correct day to a days EPG within generic grabber.
  • Tune command files have been updated to be compliant with VLC 1.0.0 onward transcoding parameters - radio still does not work with these versions.
  • Windows detune commands now contain file paths in quotes to deal with files with spaces.
  • Sample station Kiss105108 grabber type has changed to use day-long programme for EPG.
  • Updated user guide to advise Vista/Win7 users to run installer with elevated command prompt.
  • The installer now tidies up EPG plugin log files on deinstall.
  • The installer will no longer try to delete files that are not there.
  • The installer will disable use of the EPG plugin on video sources where native SageTV EPG is users by the installer when configuring SageTV whereever native SageTV EPG sources are used.
  • The installer now takes a backup of Sage.properties as insurance.
  • The installer now has a "Repair" which refreshes non-config delivered components.
  • The installer now copes with file paths with spaces when setting file permissions.
  • The installation jar file can be run from a directory with spaces in.
  • The installer will check the version of Java being used to run it and report and error if its too old.
  • The installer will now catch and display any errors found in initialization.
  • The installer will not repeat configuration of the epg_import_plugin sage property once configured as this leads to infinite loop in SageTV.
  • The installer fixed so that windows file separators are not doubled in the encoder.props file.
  • The installer now removes extra backslashes that appear in windows pathnames when configuring webfeedencoder but take account of UNC pathnames.
  • The installer no longer prints out exception messages when operating system tasks complete.
  • The installer will correctly default installation directory and SageTV directory.
  • The installer now contains a better test of whether webfeedencoder is still in use prior to upgrade as uninstall and upgrade would fail.
  • The installer will now restore SageTV configuration for an earlier version in two phases separated by restoration of the previous webfeedencoder directory.
  • The installer now provides manual instructions and information prior to uninstall, restore and repair.
  • The installer now provides helpful next step instructions after install or upgrade.
  • The installer will now choose unique characters to choose buttons in headless mode.
  • The installer will allow key configuration parameters to be reviewed and edited in subsequent runs.
  • The installer no longer requires '\\' to be used as directory separators in paths.
  • The installer in headless mode no longer goes into an infinite loop of 'Does not exist' if the destination directory for the installation does now exist.
  • The installer now recommends the version of VLC to install and provides a URL that can be cut and paste.
  • The installer no longer overwrites encoder details added for other plugins e.g. slimplayer.

0.9.4 - 5th release (Beta).
  • Direct injection of EPG data and lineup to SageTV eliminating the need to go via XMLTV and XMLTV importers.
  • Installation wizard which performs all installation, deinstallation, upgrade, downgrade and setup tasks.
  • A configuration tool eliminating the need for manual configuration of lineup which allows direct injection of lineup and EPG to SageTV and provides test tools for channels and web harvests.
  • Inclusion of direct show devices as a type of channel.
  • Substantial cleanup of config files and some renaming of properties to be more consistent.
  • Introduced the concept of a seed plugin - which knows how to browse the channel listings of external websites and grab initial channel config from them. This "seed" channel config can then be further overridden to add missing information or correct web site mistakes.
  • Existing code for direct show devices and radiotime stations recast as seed plugins.
  • A new seed plugin for www.allinternettv.com added so internet TV channels can be configured.

0.9.3 - 4th release (Beta).
  • Ability to tune to internet TV channels.
  • Support for unix specific tuning commands - not fully tested yet - beta tester required.
  • To support the above sagetv.dir and vlc.dir become sagetv.logos.dir and vlc.exe to point to the required resource.
  • Made tuning and detuning script driven per channel to allow custom tuning instructions.
  • To support TV and custom tune commands the lineup channel ids need to be prefixed with a name that corresponds to a properties file that specifies properties common to a group of channels and other data e.g. radio/977HItz, tv/i3interactive
  • The generic grabber now allows stop times. This fixes problems where stations do not broadcast 24 hour.
  • The web-based now playing text processing now allows incremental advance to the beginning of track now playing data in the source html.
  • If web-based now playing text is not specified the encoder will look for ICY meta data or ID3v2 tags to get the track now playing.
  • Fixed paths for config and log files in unix.
  • Removed surplus file separators.
  • Provide a substitute image for the video if no channel logo is available.
  • Fix the issue where sometimes the logo image file name on www.radiotime.com was prefixed with the wrong channel id.
  • Fix sample WMNF channel properties where the EPG was configired to be a day behind.
  • Fix issue where radiotime day epg urls where being created only for the first seven days of after the channel first appears.
  • Set the now playing text size before presenting it rather than after.

0.9.2 - 3rd release (Beta).
  • Fixed bug where images did not get downloaded when a channel offset is in force.
  • Fixed bug where an empty channel properties file is always created when an unknown id is used in the channel lineup.
  • Changed sample channels callsigns to be in agreement with radio and hence also renamed them.
  • Added some debug and a possible fix to the properties file not found message in linux.

0.9.1 - 2nd release (Beta).
  • Integrated the webepggrabber release with webfeedencoder. While still useful separately I no longer which to manage it in a seperate distribution.
  • Correct port number in the instructions.
  • Fix various problems caching the channel logo and temporary video image. If you delete either they are now correctly reproduced.
  • Moved the channel configuration from tuning.props and lineup.props lineup.props which now simply maps channel number to channel id
  • The channel id can now be a RadioTime station id. If this is used no other channel configuration is necessary.
  • Created a channels directory where seperate per channel properties files serve the purpose of the old tuning.props and lineup.props
  • A separate cache directory now holds cached images and radio time properties files. The tmp directory now holds disposable files.
  • Improved the housekeeping of temporary files.
  • Improved the recording state machine to cope with odd behaviours resulting from the time it takes to tune.
  • Added a shutdown hook to stop recording if the process is shutdown.
  • Added a service wrapper so the encoder can be run as a windows service.
  • Remove HTML escape codes from titles, descriptions and now playing text.
  • Now playing html parsing now recognises that there may be a seperator between artist and title to be removed.
  • Fixed a bug in the default grabber which caused programmes to still be of 24 hour length when Daylight Savings occurred.
  • A channel timezone can now be specified for the generic grabber so programme times are correctly calculated for foreign stations can converted to UTC in the XMLTV.
  • The generic grabber can now handle the programme description being accessed via another URL.
  • The generic grabber now allows multiple time formats for schedule pages that mix and match time style e.g. 3pm-5.30pm.
  • The generic grabber can now handle a different order of items in the schedule. Sometimes they can appear time, title, desc and sometimes its a different order.
  • Add a category "Radio" to the radio programmes.

0.9.0 - Initial release (Beta)

Screenshots

The installer



The config tool







Adding a new channel - the essentials page will get you going



Even easier - grab the information you need from external directory sites







Optional extras: harvest the web for programme guides and now playing text





Extra tweaking if you need it



Test tools for all channel configuration

http://www.keepandshare.com/userpics...t-13315087.jpg




Last edited by Opus4; 02-21-2011 at 11:41 AM. Reason: image(s) too wide to post inline; changed to link
Reply With Quote
  #2  
Old 03-24-2009, 07:15 AM
michaeldjcox michaeldjcox is offline
Sage Fanatic
 
Join Date: Nov 2006
Location: Ipswich, Suffolk, United Kingdom
Posts: 823
Beta testers please...

My testing is very UK focused, I only have an MVP not an HD200, and I've not tried your favourite internet radio stream.

Post problems here and I will endeavour to turn around a fix soon as
Reply With Quote
  #3  
Old 03-24-2009, 08:38 AM
matt91's Avatar
matt91 matt91 is offline
Sage Icon
 
Join Date: Feb 2005
Location: Washington, DC
Posts: 1,185
wow...this will be a great addition.

So, if VLC can tune to the stream, this will play it?

BTW, what "video" is added to the stream? Just a black image, or is it actually something?

I'll try to try this out tonight :-)


Matt
__________________
Server: Ubuntu 16.04 running Sage for Linux v9
Reply With Quote
  #4  
Old 03-24-2009, 08:49 AM
michaeldjcox michaeldjcox is offline
Sage Fanatic
 
Join Date: Nov 2006
Location: Ipswich, Suffolk, United Kingdom
Posts: 823
A scaled up channel logo, with a black border and potentially track now playing.

This is just what i had time to do - the possibilities are nearly endless...station webcams, further artist/track info and pictures....
Reply With Quote
  #5  
Old 03-24-2009, 02:40 PM
tmiranda's Avatar
tmiranda tmiranda is offline
SageTVaholic
 
Join Date: Jul 2005
Location: Central Florida, USA
Posts: 5,805
Thanks Michael, I've been hoping for something like this. I will give it a try in the next several days depending on what happens in "real life".
__________________

Sage Server: 8th gen Intel based system w/32GB RAM running Ubuntu Linux, HDHomeRun Prime with cable card for recording. Runs headless. Accessed via RD when necessary. Four HD-300 Extenders.
Reply With Quote
  #6  
Old 03-24-2009, 04:11 PM
evilpenguin's Avatar
evilpenguin evilpenguin is offline
SageTVaholic
 
Join Date: Aug 2003
Location: Seattle, WA
Posts: 3,696
Wow, that's pretty brilliant. Great work

I'll have to try this out over the weekend, I've been wanting a good webradio on extender solution for ages.
Reply With Quote
  #7  
Old 05-08-2009, 10:42 AM
pjpjpjpj pjpjpjpj is offline
Sage Icon
 
Join Date: Feb 2008
Posts: 2,068
Guys,
It's somewhat difficult to discern what all has been going on since you've been exchanging data on "effectively" beta testing... so, on the TV streaming side, what is the current state of this plug-in? It sounds like it is allowing internet TV streaming - which would be the holy grail that everyone is looking for, if it allows things like hulu. Yet very few people have been commenting in the thread, so I figure this must not be the case. A solution that allowed true internet TV streaming would surely have everyone shouting from the mountaintops.

Can you give us an update of "it currently works to do A, B, and C, it does not work to do X, Y, and Z"?

Thanks, and keep up the good work!
__________________
Server: AMD Athlon II x4 635 2.9GHz, 8 Gb RAM, Win 8.1 x64, Java 8, Gigabit network
Drives: Several TB of internal SATA and external USB drives, no NAS or RAID or such...
Software: SageTV v9, stock STV with ADM.
Tuners: 4 tuners via (2) HDHomeruns (100% OTA, DIY antennas in the attic).
Clients: Several HD300s, HD200s, even an old HD100, all on wired LAN. Latest firmware for each.
Reply With Quote
  #8  
Old 05-10-2009, 09:48 AM
michaeldjcox michaeldjcox is offline
Sage Fanatic
 
Join Date: Nov 2006
Location: Ipswich, Suffolk, United Kingdom
Posts: 823
Quote:
Originally Posted by pjpjpjpj View Post
Guys,
It's somewhat difficult to discern what all has been going on since you've been exchanging data on "effectively" beta testing... so, on the TV streaming side, what is the current state of this plug-in? It sounds like it is allowing internet TV streaming - which would be the holy grail that everyone is looking for, if it allows things like hulu. Yet very few people have been commenting in the thread, so I figure this must not be the case. A solution that allowed true internet TV streaming would surely have everyone shouting from the mountaintops.

Can you give us an update of "it currently works to do A, B, and C, it does not work to do X, Y, and Z"?

Thanks, and keep up the good work!
I started out just trying to get regular and internet radio stations on an extender and to be able to record radio shows.

This is now achieved bar a few issues that affect some users but not others.

TV was a new thing at user request, and very easy to do for this plug-in, far easier than radio.

By internet TV here I mean something which you can get via a URL which is a video stream and can play in a regular media player.

Also for the moment this solution is intended to address a radio/tv channel rather than a source of online videos - which would be better accessed from the "online services" menu rather than the programme guide.

I'm pretty sure if the feed publishes a stream URL or dumps an video file of any format I can make it operate as a channel in your lineup.

I'm not really aware of anything I cannot make this plug in do but thats only I have not tried everything that is out there.

If there is something you would like access to in SageTV I am very willing to give it a go.

I chuffed to bits with what I have achieved with this plug in and am slightly disappointed after 10 months of effort that the SageTV community seems a little cool about what I have done. Could be for any number of reasons: its in beta, appears to require a lot of config, badly named, badly described. Who knows. Someone tell me

I am not put off - I will keep making it more accessible and capable of feeding more sources into SageTV.

As plug-ins go it is quite easy to try. It will NOT spray unwanted files over your sagetv installation - it only requires a small config change in SageTV properties. External programs are only the well known LMGestion XMLTV importer and the excellent open source, multi-platform, "play anything", very useful in its own right, VLC media player.

Regards,

Michael
__________________
Web Feed Encoder developer
SageTV Catchup developer
Reply With Quote
  #9  
Old 05-10-2009, 11:46 AM
bcjenkins bcjenkins is offline
SageTVaholic
 
Join Date: Jan 2006
Posts: 3,760
Michael,

Gave this a whirl, I am not having much success with pulling in stations. All of the stations I have tried are not functioning from the command line in linux or from my install on Mac as well. I would post a log but feel it isn't your process as much as it is the ability of VLC to setup and record the mms streams.

I will try to find a stream which does what I am aiming to accomplish.

I will describe my setup though:

Headless Linux server with audio disabled in the bios running 64-bit Jaunty 9.04 server and 1.6.13-64bit java. Also, note X does not run on this box and your command line code seems to require it. (You can run cvlc instead in Linux)

Regarding improvements, I would like to run this jar as a load time option for server much like nielm's webserver. Is that possible? Also, it would be handy to add/manage stations from the gui. I will say though the RadioTime makes it very easy to setup.

B
__________________
Running SageTV on unRAID via Docker
Tuning handled by HDHR3-6CC-3X2 using OpenDCT
Reply With Quote
  #10  
Old 05-10-2009, 12:05 PM
michaeldjcox michaeldjcox is offline
Sage Fanatic
 
Join Date: Nov 2006
Location: Ipswich, Suffolk, United Kingdom
Posts: 823
Quote:
Originally Posted by bcjenkins View Post
Gave this a whirl, I am not having much success with pulling in stations. All of the stations I have tried are not functioning from the command line in linux or from my install on Mac as well. I would post a log but feel it isn't your process as much as it is the ability of VLC to setup and record the mms streams.
Disagree here. VLC can do. Me getting the command line options right for the platform - thats another thing. Please send log. Can you see the vlc sessions running? Do they create the mp3 file in the tmp directory and/or the sagtv recording file. If they are running we may need to add vlc logging:

edit commands/tune.radio.unix.commands and add:

--extraintf logger --logfile "%logfile%" -vvv

to the end of the command line for vlc sessions.

I will able to test linux myself for sure later this month. Don't fancy setting up dual boot but portable ubuntu jaunty should be available later this month and then I can get VLC 0.9.9.

(Mac is another thing altogether - my code switches on file seperator / = unix \ = windows. Haven't given mac a thought)

Quote:
Originally Posted by bcjenkins View Post
(You can run cvlc instead in Linux)
Edit your encoder.props and use cvlc instead of vlc in the vlc.exe property.

Quote:
Originally Posted by bcjenkins View Post
Regarding improvements, I would like to run this jar as a load time option for server much like nielm's webserver. Is that possible? Also, it would be handy to add/manage stations from the gui. I will say though the RadioTime makes it very easy to setup.
Ease of configuration is very much on my mind. Will be giving this much thought over the coming months.

Michael
__________________
Web Feed Encoder developer
SageTV Catchup developer
Reply With Quote
  #11  
Old 05-10-2009, 05:38 PM
bcjenkins bcjenkins is offline
SageTVaholic
 
Join Date: Jan 2006
Posts: 3,760
Quote:
Originally Posted by michaeldjcox View Post
Disagree here. VLC can do. Me getting the command line options right for the platform - thats another thing. Please send log. Can you see the vlc sessions running? Do they create the mp3 file in the tmp directory and/or the sagtv recording file. If they are running we may need to add vlc logging:

edit commands/tune.radio.unix.commands and add:

--extraintf logger --logfile "%logfile%" -vvv

to the end of the command line for vlc sessions.

I will able to test linux myself for sure later this month. Don't fancy setting up dual boot but portable ubuntu jaunty should be available later this month and then I can get VLC 0.9.9.

(Mac is another thing altogether - my code switches on file seperator / = unix \ = windows. Haven't given mac a thought)



Edit your encoder.props and use cvlc instead of vlc in the vlc.exe property.



Ease of configuration is very much on my mind. Will be giving this much thought over the coming months.

Michael
Sorry Michael, not clear on my side. What I was trying to say is that I could not tune the stations using the command line in Linux as I determined from the log, nor could I from the VLC gui in OSX inferring that the issue was with VLC connecting with the mms stream and not your plugin.

B
__________________
Running SageTV on unRAID via Docker
Tuning handled by HDHR3-6CC-3X2 using OpenDCT
Reply With Quote
  #12  
Old 05-10-2009, 05:17 PM
tmiranda's Avatar
tmiranda tmiranda is offline
SageTVaholic
 
Join Date: Jul 2005
Location: Central Florida, USA
Posts: 5,805
Quote:
Originally Posted by michaeldjcox View Post
I chuffed to bits with what I have achieved with this plug in and am slightly disappointed after 10 months of effort that the SageTV community seems a little cool about what I have done. Could be for any number of reasons: its in beta, appears to require a lot of config, badly named, badly described. Who knows. Someone tell me
I am also surprised that more people are not jumping at this. The plugin is ingenious and has huge potential.

My $0.02 is that the setup looks a little daunting. I want to try it out more but I want to have a few hours set aside to get things going. Most plugins and STVs only take a few minutes to install and try.
__________________

Sage Server: 8th gen Intel based system w/32GB RAM running Ubuntu Linux, HDHomeRun Prime with cable card for recording. Runs headless. Accessed via RD when necessary. Four HD-300 Extenders.
Reply With Quote
  #13  
Old 06-04-2009, 11:05 AM
jc8367 jc8367 is offline
Sage User
 
Join Date: May 2007
Posts: 63
Where is the .zip file with app and instructions to install?
Reply With Quote
  #14  
Old 06-04-2009, 03:46 PM
michaeldjcox michaeldjcox is offline
Sage Fanatic
 
Join Date: Nov 2006
Location: Ipswich, Suffolk, United Kingdom
Posts: 823
Quote:
Originally Posted by jc8367 View Post
Where is the .zip file with app and instructions to install?
http://forums.sagetv.com/forums/down...do=file&id=314
__________________
Web Feed Encoder developer
SageTV Catchup developer
Reply With Quote
  #15  
Old 06-05-2009, 08:58 AM
jc8367 jc8367 is offline
Sage User
 
Join Date: May 2007
Posts: 63
whats the path on the scripts directory?

Running the encoder
As a service in windows

In the scripts directory is a script(whats the path) installServiceNT.bat. Run this to install the encoder as a windows service.
Reply With Quote
  #16  
Old 06-05-2009, 09:18 AM
michaeldjcox michaeldjcox is offline
Sage Fanatic
 
Join Date: Nov 2006
Location: Ipswich, Suffolk, United Kingdom
Posts: 823
Quote:
Originally Posted by jc8367 View Post
Running the encoder
As a service in windows

In the scripts directory is a script(whats the path) installServiceNT.bat. Run this to install the encoder as a windows service.
So you have the zip file.

You have unzipped it somewhere

it will have created a directory "webfeedencoder"

Find that directory in windows explorer

Descend into the scripts sub directory

Double click on installServiceNT.bat file

This should add the encoder as a windows service on windows boxes.

You can check this by going to control panel->Administration tools->Services

You should see "Web Feed Encoder" as a service - you may need to start it.

Does this help at all? May be I misunderstood the issue.

Michael
__________________
Web Feed Encoder developer
SageTV Catchup developer
Reply With Quote
  #17  
Old 06-05-2009, 09:27 AM
jc8367 jc8367 is offline
Sage User
 
Join Date: May 2007
Posts: 63
got it

Thx for the quick reply.

No scripts directory, I found under wrapper instead.
Reply With Quote
  #18  
Old 10-18-2009, 08:45 AM
jperquin jperquin is offline
Sage User
 
Join Date: Dec 2007
Posts: 13
Hi,
I just installed the whole package and when running configtool.jar, I get "web feed encoder not running". When starting the webfeed encoder service is starts up OK (no errors) but stops again after a few seconds. I also tried running encoder.jar, same result.

Could this be a vista 64 bit issue?

Joost
Reply With Quote
  #19  
Old 10-18-2009, 02:03 PM
michaeldjcox michaeldjcox is offline
Sage Fanatic
 
Join Date: Nov 2006
Location: Ipswich, Suffolk, United Kingdom
Posts: 823
Quote:
Originally Posted by jperquin View Post
Hi,
I just installed the whole package and when running configtool.jar, I get "web feed encoder not running". When starting the webfeed encoder service is starts up OK (no errors) but stops again after a few seconds. I also tried running encoder.jar, same result.

Could this be a vista 64 bit issue?

Joost
Hi,

There are various scenarios in which this may happen.

Please can you post the file webfeedencoder/logs/encoder.log and I will diagnose the problem.

Thanks,

Michael
__________________
Web Feed Encoder developer
SageTV Catchup developer
Reply With Quote
  #20  
Old 10-19-2009, 12:38 PM
mihooper mihooper is offline
Sage User
 
Join Date: Jun 2008
Posts: 63
Hi Michael,

Looks like a great plug-in. Can't wait to get it working.

However, I'm having the same install problems as Farmer Scott and have not been successful with moving the install location to c:\webfeedencoder like jpt1303 did. Any fixes for this?

MikeH
__________________
MikeH
Reply With Quote
Reply

Tags
extender, internet video streaming, mvp, online videos, radio


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
SageTV and web radio michaeldjcox SageTV Customizations 3 12-01-2008 11:09 AM
STV Import: Simple Web Radio V1.2 koelec SageTV Customizations 294 02-29-2008 12:53 PM
Recording Volume vs. Web Radio / Music FidgetyRat SageTV Software 0 11-29-2006 08:33 AM


All times are GMT -6. The time now is 10:12 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2019, vBulletin Solutions, Inc.
Copyright 2003-2005 SageTV, LLC. All rights reserved.