SageTV Community  

Go Back   SageTV Community > SageTV Development and Customizations > SageTV Customizations
Forum Rules FAQs Community Downloads Today's Posts Search

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
  #181  
Old 07-09-2006, 04:04 PM
mightyt's Avatar
mightyt mightyt is offline
Sage Icon
 
Join Date: Jul 2004
Location: CA.
Posts: 1,293
Question

Just installed on my SageTV server first try ... Sweet! ... I live in a canyon and this will really help when having trouble with reception from my stereo receiver ...

Question ... If I know of a local radio station that can also be accessed through their web page, is there a way I can get the right URL info from their page if it is not available on any of the 3 sites below??

www.shoutcast.com
http://dir.xiph.org/index.php
www.di.fm

Thanks! T.
Reply With Quote
  #182  
Old 07-09-2006, 09:32 PM
Polypro Polypro is offline
Sage Icon
 
Join Date: Jun 2005
Posts: 1,804
If it's got some kind of "Click Here To Listen" button, you might be able to copy the link address and parse it.

P
Reply With Quote
  #183  
Old 07-10-2006, 09:24 AM
Morgan111's Avatar
Morgan111 Morgan111 is offline
Sage Fanatic
 
Join Date: Nov 2003
Location: Oak Ridge, Tennessee
Posts: 762
Quote:
Originally Posted by Jason
I think that there may be a slight problem with the volume indicator code... It appears that when you attempt to select a radio station, using the remote, the import resorts to changing the volume.

Morgan111 - Are you using Sage's internal remote processing, or Girder/Hip? Also, which 'key' are you binding to the value of 'left' and 'right'?

Also, would it be possible to 'move' the SageMC portion of this thread to a new thread, since we have several, disparate, conversations for the import? It might make it easier to follow the threads when they are limited to the SageMC portions...

-Jason
Jason, I am using the Microsoft MCE remotes with the Sage internal support for that remote.
What remote are you using? Are you using Girder or HIP?
When you press a number key, does it change to the proper station in the list?
Does the volume go up or down and does the volume bar show up when the volume changes?
Does the same thing happen on the Now Playing page as well as the main page?
If you have a keyboard hooked up, does it work correctly when pressing a number key on the keyboard.

For Left/Right, I did see that I have code copied in on the Now playing screen for the Left key listener to do a "Back" command if "mlbdude/use_left_as_back" is set true. That may not be correct to include there although I have the default setting of that parameter and so it just navigates back to the other pane in the window as I expected. The Right key on the main window is supposed to take you from an entry in the list on the main page to the Now Playing screen, but I do find that the first press will take you to the end of the list, and the next press then takes you to the Now Playing screen. Other than that the Left and Right is handled by the default operation. Are you seeing something different then I described?
Reply With Quote
  #184  
Old 07-10-2006, 11:01 AM
mkanet's Avatar
mkanet mkanet is offline
SageTVaholic
 
Join Date: Feb 2004
Posts: 3,359
Exclamation HELP!!

Ever since yesterday, my webradio will do weird things like

1) Play the same station twice at the same time (overlapping each other). If I press stop playback, the other audio stream will keep going with no way to stop; unless I completely exit out of sagetv.

2) One of my stations will play the same song, then stop after a short period of time. If I press stop and play that station again, it does the same exact thing with the same song.

Whats going on? Is there a corrupted buffer file? How do I fix this?

EDIT: nevermind... rebooted and problem went away!

Thanks,
-Michael
__________________
Upgraded to Comcast X1 + Netflix/Amazon Video streaming

***RIP SageTV***

Last edited by mkanet; 07-10-2006 at 11:35 PM.
Reply With Quote
  #185  
Old 07-10-2006, 02:56 PM
fafurd fafurd is offline
Sage User
 
Join Date: Feb 2004
Posts: 47
I'm having the same problem as Jason. Here are my answers to the questions.

What remote are you using? Hauppauge 34 button. Are you using Girder or HIP? USB-IRT
When you press a number key, does it change to the proper station in the list? Yes
Does the volume go up or down and does the volume bar show up when the volume changes? The volume bar appears and does change, but I'm not able to use the "volume -" as a left button anymore.
Does the same thing happen on the Now Playing page as well as the main page? No
If you have a keyboard hooked up, does it work correctly when pressing a number key on the keyboard. Have not tried.

One other thing. I can't seem to get it to play. I select a channel (from the default channel listing) and press enter (on the remote), but nothing appears to happen. Is there anything I should check? I also have Winamp5.12 installed as I'm currently using the Dynamic menus to simulate, but would rather use this solution.
Reply With Quote
  #186  
Old 07-10-2006, 03:24 PM
Morgan111's Avatar
Morgan111 Morgan111 is offline
Sage Fanatic
 
Join Date: Nov 2003
Location: Oak Ridge, Tennessee
Posts: 762
Quote:
Originally Posted by fafurd
I'm having the same problem as Jason. Here are my answers to the questions.

What remote are you using? Hauppauge 34 button. Are you using Girder or HIP? USB-IRT
When you press a number key, does it change to the proper station in the list? Yes
Does the volume go up or down and does the volume bar show up when the volume changes? The volume bar appears and does change, but I'm not able to use the "volume -" as a left button anymore.
Does the same thing happen on the Now Playing page as well as the main page? No
If you have a keyboard hooked up, does it work correctly when pressing a number key on the keyboard. Have not tried.

One other thing. I can't seem to get it to play. I select a channel (from the default channel listing) and press enter (on the remote), but nothing appears to happen. Is there anything I should check? I also have Winamp5.12 installed as I'm currently using the Dynamic menus to simulate, but would rather use this solution.

Thanks for that info. I have a usb-uirt and Hauppauge remote lying around (45 for sure and hopefully 34 button) that I may be able to hook up and try tonight.

For now, try using the play button when selecting a station.
Reply With Quote
  #187  
Old 07-10-2006, 10:45 PM
Morgan111's Avatar
Morgan111 Morgan111 is offline
Sage Fanatic
 
Join Date: Nov 2003
Location: Oak Ridge, Tennessee
Posts: 762
Smile Web Radio Plugin for SageMC v1.1a 7/11/06

Quote:
Originally Posted by fafurd
I'm having the same problem as Jason. Here are my answers to the questions.

What remote are you using? Hauppauge 34 button. Are you using Girder or HIP? USB-IRT
When you press a number key, does it change to the proper station in the list? Yes
Does the volume go up or down and does the volume bar show up when the volume changes? The volume bar appears and does change, but I'm not able to use the "volume -" as a left button anymore.
Does the same thing happen on the Now Playing page as well as the main page? No
If you have a keyboard hooked up, does it work correctly when pressing a number key on the keyboard. Have not tried.

One other thing. I can't seem to get it to play. I select a channel (from the default channel listing) and press enter (on the remote), but nothing appears to happen. Is there anything I should check? I also have Winamp5.12 installed as I'm currently using the Dynamic menus to simulate, but would rather use this solution.
I see why Hauppauge went away from that 34 button remote. Shared cursor and volume and channel up/down buttons can be a pain.

I found a major but that was introduced into a table properties that prevented correct scrolling of the station list, so I created an updated version. I went ahead and included an alternate xml import for Hauppauge 34 button remote users which removes the colume additions and right key page change navigation that was added in the latest release. This removes the confusion.

I also started another thread for discussion of the SageMC import version of Koelec's Web that can be used to isolate the discussion that is strickly related to the SageMC interface import.

Web Radio Plugin for SageMC v1.1a 7/11/06
.
Reply With Quote
  #188  
Old 07-11-2006, 09:00 PM
geogecko geogecko is offline
Sage Icon
 
Join Date: Dec 2004
Location: North Oklahoma
Posts: 2,273
koelec.

Do you know anything about the following post?

http://forums.sagetv.com/forums/show...17&postcount=7

I said 'No' to overwrite the two files, because the ones I had were from 2006, versus the ones in the import, which were from 2004.

Also, when I save the SHOUTcast file to my desktop, it contains only the following line:

Quote:
[playlist]
numberofentries=0
Version=2
__________________
-Jason
Reply With Quote
  #189  
Old 07-15-2006, 10:00 AM
jtrick jtrick is offline
Sage User
 
Join Date: Apr 2004
Posts: 9
Question Help - webradio.jar missing or wrong version

I am really excited about this plug-in because I listen to shoutcast streams all the time, and having them integrated into Sage will be great, but I cannot get this to work. I keep getting the "webradio.jar is missing or wrong version" error. I am running Sage 5.0.4 client and I have a separate Sage 5 server. I am assuming that I do not need to do anything with the server, but I even installed the webradio files to the server just in case. I have copied the webradio files from the zip more than once into the sage directory and made sure the all the jar files are in the jar directory. I have run out of ideas to make this work. Can anyone help me?

Thanks
Reply With Quote
  #190  
Old 07-15-2006, 11:01 AM
Wirenut Wirenut is offline
Sage Advanced User
 
Join Date: Jun 2006
Posts: 183
Works Great!

I'm diggin' this plug-in. Got Depeche Mode crankin' right now. Amazingly easy to implement.

Thanks A Bunch!

Wirenut
Reply With Quote
  #191  
Old 07-22-2006, 07:22 PM
wbarber69's Avatar
wbarber69 wbarber69 is offline
Sage Expert
 
Join Date: Oct 2004
Location: Hammond, La.
Posts: 512
Send a message via ICQ to wbarber69 Send a message via AIM to wbarber69 Send a message via MSN to wbarber69 Send a message via Yahoo to wbarber69
sation lists.txt

I was looking through all the streams out there and it can be a bit overwhelming to find a good list of streams out there that play good music all the time or ones that aren't offline or overcrowded. Has anyone thought to start a thread where we can post our stationlists.txt files or if anyone wants they can either PM me or send them to stationlists@pyrotechnix.dk
Reply With Quote
  #192  
Old 07-23-2006, 03:00 AM
koelec koelec is offline
Sage Aficionado
 
Join Date: Aug 2003
Location: Netherlands
Posts: 309
Quote:
Originally Posted by jtrick
I am really excited about this plug-in because I listen to shoutcast streams all the time, and having them integrated into Sage will be great, but I cannot get this to work. I keep getting the "webradio.jar is missing or wrong version" error. I am running Sage 5.0.4 client and I have a separate Sage 5 server. I am assuming that I do not need to do anything with the server, but I even installed the webradio files to the server just in case. I have copied the webradio files from the zip more than once into the sage directory and made sure the all the jar files are in the jar directory. I have run out of ideas to make this work. Can anyone help me?

Thanks
Either on the following things could be wrong.

1. webradio.jar not in JARS folder of sagetv directory.
2. webradio.jar is old version, i.e 1.0 version. Could be that the old webradio.jar is loaded from a different place and is used instead.

- chris
Reply With Quote
  #193  
Old 07-24-2006, 05:28 PM
drowelf's Avatar
drowelf drowelf is offline
Sage User
 
Join Date: Jul 2006
Posts: 8
Talking Script to Help Create stationlist.txt from .pls files (plus tiny webradio request)

Hi. First, I'm totally in love with this plugin. I use it all the time and it eliminates the last reason for me to Alt-Tab out of sage tv.

I have a feature request that may be easy to do. I like reading the band biographies, but the position in the biography panel is always where I left off. Usually it's at the end. It seems more natural (at least for me) for the biography screen to reset to the top each time the Now Playing window is accessed. Is this possible/easy?

Just to express my happiness, I made the following script. What I do is go to shoutcast.com and save stations as XXX.pls to my harddrive. For this to work, please edit the .pls filename so that it says exactly what you want cause this will show up in sage. The station name within the .pls file is too unreliable. So, for example, if the station is "WBXR Radio", you might want to save the .pls with something more descriptive like "WBXR Radio - 80's Alternative.pls". Again, the Filename is what will show up in the Web Radio plugin for you to choose (minus the extension of course).

Once you have a folder full of these .pls files, execute the .VBS file I've included (for security's sake, i suggest you inspect ANY VBS file you download from the internet to make sure it does only what you expect). It will produce a single text file called stationlist.txt (overwriting any previous one. If you want it to append instead of overwrite, it's a simple change to the script). After the script is done, you'll see a DONE button. Press the DONE button and then copy stationlist.txt to your sage directory. The Web Radio plugin will rescan it when you open the Web Radio screen in sage.

Just in case you have a NO .VBS download policy, here is what's inside:

-------------------begin windows .vbs code--------------------

dim filesys, text, readfile, oneline, myfolder, filecoll, selectfile, onefile

Const ForReading = 1, ForWriting = 2, ForAppending = 8

Set filesys = CreateObject("Scripting.FileSystemObject")

Set myfolder = filesys.GetFolder(".")
Set filecoll = myfolder.Files

Set outputfile = filesys.CreateTextFile("stationlist.txt")

for each onefile in filecoll

if InStr(1, onefile, ".pls", 1) > 0 then

Set inputfile = filesys.OpenTextFile(onefile, ForReading, True)

oneline = inputfile.ReadLine '[playlist]
oneline = inputfile.ReadLine 'numberofentries=1
oneline = inputfile.ReadLine 'File1=http://213.251.141.22:8200
oneline = mid(oneline,instr(oneline,"http"),1000)
outputfile.WriteLine(filesys.GetFileName(trim(left(onefile,len(onefile)-4))) & "," & trim(oneline))

inputfile.close

end if
Next

outputfile.close


MsgBox "All Done"


-------------------end windows .vbs code--------------------


OK, so that's the basic stuff. For those of you who (like me) don't like to exit out of sage for anything, here is how I have it setup in SageMC16x9:

1) On the OTHER PROGRAMS screen in sage, I have firefox setup to run.
2) On the OTHER PROGRAMS screen in sage, I have collate_shoutcast_stations.vbs setup to run directly from my sagetv root directory (in my case c:\program files\sagetv\sagetv).

[note: if you dont know how to get programs into OTHER PROGRAMS, search the forums and you'll find out how to specify a directory where shortcuts pointing to applications will appear on the OTHER PROGRAMS screen]

3) When I want to add a new station, I have sage start firefox and go to shoutcast.com, choose a station I like and save the list (right click, saveas) as something like "Tony's Old School (Hip Hop Turntablism).pls" TO MY ROOT SAGETV DIRECTORY....i.e., the same place I have collate_shoutcast_stations.vbs.
4) Then close firefox and go back to OTHER PROGRAMS and have sage run collate_shoutcast_stations.vbs. Since my .pls files and the script are all in my root sagetv directory, the stationlist.txt file it creates is already in the right place!
5) Now when I go to the Web Radio screen in sage, My list includes the new addition.

The only downside is that you need a keyboard to type in the station playlist filename (or else it defaults to something like Shoutcast Station.pls) and then to close firefox.

Hope someone besides me finds this script useful.

Note: if you know anything about .pls files, then you might be informed that this script simply takes the first link. The other ones are not used. But this (as far as I know) is how stationlist.txt works...If it can handle multiple urls per station, then someone just let me know and I'll alter this script to handle them.
Attached Files
File Type: zip drowelf_collate_shoutcast_stations.zip (1.4 KB, 171 views)
Reply With Quote
  #194  
Old 08-03-2006, 04:40 AM
cmaffia's Avatar
cmaffia cmaffia is offline
Sage Expert
 
Join Date: May 2004
Posts: 612
Send a message via Yahoo to cmaffia
Installation

I just rebuilt my sage box and I am trying to install web radio which worked fine before. However I remember there were a few additional file addons after the last release to make it work for me. Right now I have messed text overlay in the application using the download package made available. Is there anyway for the author to repackage a working installation?

Thanks
__________________
Server: Dual Tuner: PVR-150MCE/PVR-250MCE/SageTV v5.02/Asus Pundit-R 2.4GHZ/512MB DDR RAM/250 GB Maxtor HD (8MB Buffer) External Seagate 400GB HD via USB 2.0/Onboard ATI 9100 using SVIDEO TV-Out/Nvidia DVD decoder/Actisys 200L IR Blaster (Dish receiver) USBUIRT (DirectTV receiver)/Lite-On 4X DVD-R/RW/Windows XP Pro SP2/Adesso Mini IR Keyboard w/integrated mouse/Tivo "Peanut" Remote via USBUIRT/Dish Network Model 301/DirectTV subscriber/Webserver Plugin v2.8
Reply With Quote
  #195  
Old 08-03-2006, 11:56 AM
mkanet's Avatar
mkanet mkanet is offline
SageTVaholic
 
Join Date: Feb 2004
Posts: 3,359
Exclamation Compatibility with Sleep Timer addon

Currrently, when the sleep timer will sleep sagetv and stop webradio correctly...

However... for some funky reason, when sageTV goes to sleep using the sleep timer, webradio incorrectly tells SageTV to start LiveTV... so I can hear my TV while SageTV is sleeping!

I'm sure this is just a 5 minute fix... adding a simple condition.

Chris... pleaseeeeee??????
__________________
Upgraded to Comcast X1 + Netflix/Amazon Video streaming

***RIP SageTV***

Last edited by mkanet; 08-03-2006 at 12:01 PM.
Reply With Quote
  #196  
Old 08-03-2006, 04:48 PM
garyellis garyellis is offline
Sage Expert
 
Join Date: Jan 2006
Posts: 511
I installed this today and it seems to work great so far...Thanks..

I also VOTE for making this work on my MVP..since I have several.

I wanted to get the Bible Broadcasting Network as one of the stations, but since I couldn't find them on Shoutcast I emailed the station and asked for the ".pls". They sent it to me. I downloaded it to my desktop and it works great from there. I then looked at it with "notebook" and found the "file1" line and copied that to the stations file. But it doesn't play. The oldies station that was there already played fine. The URL for BBN didn't have a port at the end like the other examples in the instructions.

the line in the pls is File1=http://bibleb.ic.llnwd.net/stream/bibleb_english

It doesn't have the "ort #" like other URL's do...

What should I be asking the station for specifically?

Thanks,

Gary (and again, this is outstanding...)
Reply With Quote
  #197  
Old 08-03-2006, 06:12 PM
gplasky's Avatar
gplasky gplasky is offline
SageTVaholic
 
Join Date: Jul 2003
Location: Howell, MI
Posts: 9,203
Quote:
Originally Posted by garyellis
I installed this today and it seems to work great so far...Thanks..

I also VOTE for making this work on my MVP..since I have several.

I wanted to get the Bible Broadcasting Network as one of the stations, but since I couldn't find them on Shoutcast I emailed the station and asked for the ".pls". They sent it to me. I downloaded it to my desktop and it works great from there. I then looked at it with "notebook" and found the "file1" line and copied that to the stations file. But it doesn't play. The oldies station that was there already played fine. The URL for BBN didn't have a port at the end like the other examples in the instructions.

the line in the pls is File1=http://bibleb.ic.llnwd.net/stream/bibleb_english

It doesn't have the "ort #" like other URL's do...

What should I be asking the station for specifically?

Thanks,

Gary (and again, this is outstanding...)
This plugin supports Shoutcast and Icecast streams. If you're station isn't listed by Shoutcast it probably means it doesn't stream it in a Shoutcast format and thus this plugin won't play it.

Gerry
__________________
Big Gerr
_______
Server - WHS 2011: Sage 7.1.9 - 1 x HD Prime and 2 x HDHomeRun - Intel Atom D525 1.6 GHz, Acer Easystore, RAM 4 GB, 4 x 2TB hotswap drives, 1 x 2TB USB ext Clients: 2 x PC Clients, 1 x HD300, 2 x HD-200, 1 x HD-100 DEV Client: Win 7 Ultimate 64 bit - AMD 64 x2 6000+, Gigabyte GA-MA790GP-DS4H MB, RAM 4GB, HD OS:500GB, DATA:1 x 500GB, Pace RGN STB.
Reply With Quote
  #198  
Old 08-03-2006, 06:20 PM
mkanet's Avatar
mkanet mkanet is offline
SageTVaholic
 
Join Date: Feb 2004
Posts: 3,359
You know it's interesting you should ment that.. I sometimes fall asleep listening to an online bible website.. using a rinky dink command line app which klls SageTV. It sure would be nice to have support for the sleep timer stvi

Dirk was nice enough to show me how to add it to WebRadio's menu, but still can't use it yet



Quote:
Originally Posted by garyellis
I installed this today and it seems to work great so far...Thanks..

I also VOTE for making this work on my MVP..since I have several.

I wanted to get the Bible Broadcasting Network as one of the stations, but since I couldn't find them on Shoutcast I emailed the station and asked for the ".pls". They sent it to me. I downloaded it to my desktop and it works great from there. I then looked at it with "notebook" and found the "file1" line and copied that to the stations file. But it doesn't play. The oldies station that was there already played fine. The URL for BBN didn't have a port at the end like the other examples in the instructions.

the line in the pls is File1=http://bibleb.ic.llnwd.net/stream/bibleb_english

It doesn't have the "ort #" like other URL's do...

What should I be asking the station for specifically?

Thanks,

Gary (and again, this is outstanding...)
__________________
Upgraded to Comcast X1 + Netflix/Amazon Video streaming

***RIP SageTV***
Reply With Quote
  #199  
Old 08-03-2006, 06:41 PM
dflachbart dflachbart is offline
SageTVaholic
 
Join Date: Jan 2006
Location: Brookfield, CT
Posts: 2,743
Quote:
Originally Posted by mkanet
.

However... for some funky reason, when sageTV goes to sleep using the sleep timer, webradio incorrectly tells SageTV to start LiveTV... so I can hear my TV while SageTV is sleeping!

I'm sure this is just a 5 minute fix... adding a simple condition.

Chris... pleaseeeeee??????
Mhh, this sound indeed strange. I fired up the default STV and imported WebRadio and Sleep Timer, but can't see what you are experiencing, Sage is absolutely silent after being put to sleep. Seems odd to me that Sage would be doing anything while in sleep mode. So sorry, cant help you here, maybe Chris has more luck ...

Dirk
Reply With Quote
  #200  
Old 08-03-2006, 06:44 PM
mkanet's Avatar
mkanet mkanet is offline
SageTVaholic
 
Join Date: Feb 2004
Posts: 3,359
Dirk, try it after you set "Display Video on Menus=Always and Video Menu Style=Background

Quote:
Originally Posted by flachbar
Mhh, this sound indeed strange. I fired up the default STV and imported WebRadio and Sleep Timer, but can't see what you are experiencing, Sage is absolutely silent after being put to sleep. Seems odd to me that Sage would be doing anything while in sleep mode. So sorry, cant help you here, maybe Chris has more luck ...

Dirk
__________________
Upgraded to Comcast X1 + Netflix/Amazon Video streaming

***RIP SageTV***
Reply With Quote
Reply


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

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
Plugin: Web User Interface for SageTV 2.2-6.6 (V2.25 18 Sep 2009) nielm SageTV Customizations 2644 10-24-2016 10:18 AM
STV: Cayars17 Ultimate STV (Release 17 - Jan 18) Cayars SageTV Customizations 3664 12-13-2005 05:35 PM
Comskip - STV import module possible??? briands SageTV Customizations 7 01-02-2005 04:25 PM


All times are GMT -6. The time now is 02:40 AM.


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