|
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. |
|
Thread Tools | Search this Thread | Display Modes |
#101
|
|||
|
|||
hi michael,
i am having problem from yesterday. when i try to play a station i have this message "error: no encoders can tune the selected station" i tried to run the web encoder from services but is not working. thanks for your help |
#102
|
|||
|
|||
Where are you seeing that message please?
|
#103
|
|||
|
|||
i see the message when i try to play the station from program guide in my extender or sagetv in my pc
|
#104
|
|||
|
|||
do you see any thing happen in the encoder.log when you try to tune the channel?
Does it happen for all stations? Can you still see the web radion encoder in sagetv source setup? Last edited by michaeldjcox; 04-21-2009 at 10:58 AM. |
#105
|
|||
|
|||
thanks for your help.
i cancel the webencoder and reinstalled and now is working fine. i don't now what happened. thanks again for your help. |
#106
|
|||
|
|||
Quote:
I'm sure the restart may have helped. Did you restart the encoder or SageTV or both Michael Last edited by michaeldjcox; 04-21-2009 at 12:31 PM. |
#107
|
|||
|
|||
i restart both
|
#108
|
|||
|
|||
Next time it happens try just restarting SageTV.
If that doesn't work. Then try the encoder. The nature of the message you got sounds more like sage could not cope. When the encoder is broken "watch" on sage TV just does nothing. Michael |
#109
|
|||
|
|||
thanks
|
#110
|
|||
|
|||
Just a follow-up now that I've got my EPG data updating properly...
I know the 'Hang Detected' problem is a known problem, but I seem to encounter it fairly frequently. When it happens, the MVP extender becomes unresponsive where not even power cycling it will work and it appears other clients lose their connection with the server as well. As documented, the only way to recover is to restart the SageTV service. I have managed to capture some logs for a successful tuning and a failed tuning. The webradioencoder and VLC logs look fine to me. And webradioencoder seems to still be running OK, since the mpg file in the recording directory continues to grow even after SageTV hangs. Here are the snippets I've got from the SageTV debug logs... Successful tuning: Code:
SMon 4/27 0:42:19.967 VF waiting for data to appear in new file...liveWait=296 Mon 4/27 0:42:19.968 VF thread is now waiting for 0:00:00.200 Mon 4/27 0:42:20.167 VF processing job VFJob[LoadMF r=0.0 t=0 file=MediaFile[id=3224997 A[3224861,3220191,"After Midnite",28892@0427.00:00,300] host=dvr-server encodedBy=WebRadio on localhost:5000 Highest Quality format=MPEG2-PS 0:00:00 0 kbps [] \\dvr-server\dvr\dvr1\AfterMidnite-3224861-0.mpg, Seg0[Mon 4/27 0:42:14.967-Wed 12/31 18:00:00.000]] ifn=null] nPlayin=false Mon 4/27 0:42:20.167 VF network encoder playback detected: true Mon 4/27 0:42:22.464 NextInfo wait finished Mon 4/27 0:42:22.464 InfoTickerThread processing... Mon 4/27 0:42:22.464 Current headline = 3, size = 20 Mon 4/27 0:42:22.465 EXCEPTION in getValueAsObject:sage.a.e: Relational operator type error, null argument for:If(Size(InfoHeadline) > InfoTickerMaxChars, Substring(InfoHeadline, 0, InfoTickerMaxChars) + "...", InfoHeadline) Mon 4/27 0:42:22.465 InfoTickerThread show info: Appleton News: Story, webcast: Anticipation builds for opening of new Fox Valley YMCA site Mon 4/27 0:42:22.467 Info duration wait started Mon 4/27 0:42:22.967 RootFile=\\dvr-server\dvr fstype=null fileLength=433635 Mon 4/27 0:42:23.966 Doing pre-emptive file format detection on recording MediaFile....\\dvr-server\dvr\dvr1\AfterMidnite-3224861-0.mpg Mon 4/27 0:42:24.966 Doing pre-emptive file format detection on recording MediaFile....\\dvr-server\dvr\dvr1\AfterMidnite-3224861-0.mpg Mon 4/27 0:42:25.480 Updating Disk Space Bar Mon 4/27 0:42:25.605 Got used/avail video diskspace Mon 4/27 0:42:25.605 Calculate space required for upcomming manual/favourite airings for next 2 days and display Mon 4/27 0:42:26.966 Doing pre-emptive file format detection on recording MediaFile....\\dvr-server\dvr\dvr1\AfterMidnite-3224861-0.mpg Mon 4/27 0:42:27.966 Doing pre-emptive file format detection on recording MediaFile....\\dvr-server\dvr\dvr1\AfterMidnite-3224861-0.mpg Mon 4/27 0:42:28.967 Using internal format detector first... Mon 4/27 0:42:28.968 File Format Parsed-2 \\dvr-server\dvr\dvr1\AfterMidnite-3224861-0.mpg=MPEG2-PS 0:00:00 0 kbps [#0 Video[MPEG2-Video 25.0 fps 720x576 1:1 progressive]#1 Audio[MP2 44100 Hz 2 channels 128 kbps MAIN idx=1 id=c0]] Code:
Mon 4/27 0:46:36.165 VF waiting for data to appear in new file...liveWait=243 Mon 4/27 0:46:36.166 VF thread is now waiting for 0:00:00.200 Mon 4/27 0:46:36.366 VF processing job VFJob[LoadMF r=0.0 t=0 file=MediaFile[id=3224999 A[3224919,3182081,"WIXX",35238@0426.06:00,1440] host=dvr-server encodedBy=WebRadio on localhost:5000 Highest Quality format=MPEG2-PS 0:00:00 0 kbps [] \\dvr-server\dvr\dvr1\WIXX-3224919-0.mpg, Seg0[Mon 4/27 0:46:31.114-Wed 12/31 18:00:00.000]] ifn=null] nPlayin=false Mon 4/27 0:46:36.367 VF network encoder playback detected: true Mon 4/27 0:46:39.069 Info duration wait finished Mon 4/27 0:46:39.165 RootFile=\\dvr-server\dvr fstype=null fileLength=200 Mon 4/27 0:46:43.165 Doing pre-emptive file format detection on recording MediaFile....\\dvr-server\dvr\dvr1\WIXX-3224919-0.mpg Mon 4/27 0:46:44.165 Doing pre-emptive file format detection on recording MediaFile....\\dvr-server\dvr\dvr1\WIXX-3224919-0.mpg Mon 4/27 0:46:45.165 Doing pre-emptive file format detection on recording MediaFile....\\dvr-server\dvr\dvr1\WIXX-3224919-0.mpg Seems like SageTV is dying while detecting the format of the radio station recording. I'm not sure if it's a communication problem with the encoder crashing SageTV during the start of some recordings, or if VLC is sometimes producing malformed mpeg files that is causing SageTV to crash while detecting the format, or if VLC is locking and writing the mpg file in a way that crashes SageTV format detection if SageTV attempts a detection at a time when VLC locks the mpg file and sends a chunk of data to the mpg file. I've got all of the WebRadioEncoder, VLC, and SageTV logs and a snippet of the mpg file that failed to tune zipped up here if anybody wants to take a look. If anybody can tell me it's not a problem with the webradioencoder encoder, then I'll try submitting a bug report to SageTV and see if they can do something with the format detection to prevent it from hanging SageTV.
__________________
--Jason Server Hardware: GIGABYTE GA-EP45-UD3R, Intel Q9550 CPU 2.83GHz, 11GB RAM, 1xHDHR, 1xHVR1600, 1xHVR2250 29TB Server Storage: 1TB SSD (OS), 1TB (data), 2x6TB+2x10TB (22TB FlexRaid storage pool), 2x2TB (recordings), 1x750GB (VMs). Server Software: Win10 Pro x64 OS, SageTV 64bit v9.2.0.441, Java 1.8 u241, PlayOn, Comskip (Donator) v0.82.003, WampServer v2.5. Clients: 3xHD300s, 2xHD100, 2xPlaceshifters |
#111
|
|||
|
|||
Hi,
Firstly, thanks very much for your comprehensive analysis. At work so cannot look in detail at the moment but heres some things off the top of the head.... 1. Somebody in a thread in this forum suggested "Hang detected" was related to a bug with an older version of java. Not convinced by this one specially considering your analysis. I think the Hang detected is possibly one of those symptoms that occurs for any number of reasons. 2. Are you using the latest version of the encoder? 3. VLC developers claim they never lock any files. 4. Does this consistently happen on some stations and not others. I find some internet radio stations are slower and more unreliable than others - VLC seems to take several attempts to connect. 5. Code:
Mon 4/27 0:46:39.165 RootFile=\\dvr-server\dvr fstype=null fileLength=200 Code:
RootFile=\\dvr-server\dvr fstype=null fileLength=433635 6. I haven't had this problem since I sorted out the recording state machine in the encoder by always returning "OK" to the "START" message rather than trying to tune first and then saying "OK". Sage seemed to get its knickers in a twist more often if there was a delay in replying. Regards, Michael |
#112
|
|||||
|
|||||
Quote:
Quote:
Quote:
Quote:
Quote:
__________________
--Jason Server Hardware: GIGABYTE GA-EP45-UD3R, Intel Q9550 CPU 2.83GHz, 11GB RAM, 1xHDHR, 1xHVR1600, 1xHVR2250 29TB Server Storage: 1TB SSD (OS), 1TB (data), 2x6TB+2x10TB (22TB FlexRaid storage pool), 2x2TB (recordings), 1x750GB (VMs). Server Software: Win10 Pro x64 OS, SageTV 64bit v9.2.0.441, Java 1.8 u241, PlayOn, Comskip (Donator) v0.82.003, WampServer v2.5. Clients: 3xHD300s, 2xHD100, 2xPlaceshifters Last edited by robogeek; 05-01-2009 at 12:52 PM. |
#113
|
|||
|
|||
Announcement: Web Feed Encoder version 0.9.3
Web Feed Encoder version 0.9.3
New features
Bug fixes
First time installation Unzip the file in a location of your choice and follow the instructions provided. Upgrade from 0.9.0 or 0.9.1 You need to upgrade from 0.9.0 to 0.9.1 and then 0.9.1 to 0.9.2 using the upgrade instructions detailed earlier in this thread then follow the instructions below. Upgrade from 0.9.2
Regards, Michael Last edited by michaeldjcox; 05-07-2009 at 01:02 AM. |
#114
|
|||
|
|||
great job
i will try today and i will let you know. thanks |
#115
|
|||
|
|||
hi michael,
i dont know what i am doing wrong but the new version is is not working for me. i need your help |
#116
|
|||
|
|||
Right oh.
You followed the upgrade steps ok? Whats happening exactly? |
#117
|
|||
|
|||
i followed the upgrade steps.
when i try to play a station i have "no signal" then black with no sound. thios morning i cancelled the new version and reinstall v0.9.2 and was working fine. |
#118
|
|||
|
|||
Hi,
Firstly thanks for being the first to try the new release. Can you reply and attach the encoder.log for your failed run please. I'm sure this one won't be too hard. I'm also going to edit the upgrade instructions a little. Michael |
#119
|
|||
|
|||
hi michael,
here is the encoder.log thanks for your help |
#120
|
|||
|
|||
Hi,
Several things going on here. Firstly - it cannot run properly because it thinks the encoder is already running. Code:
May 7, 2009 8:38:18 AM ServerThread uk.co.mdjcox.webfeedencoder.ServerThread listenForConnections INFO: Listening on port 5000 for connections from sageTV May 7, 2009 8:38:18 AM ServerThread uk.co.mdjcox.webfeedencoder.ServerThread run SEVERE: Server failed java.net.BindException: Address already in use: JVM_Bind at java.net.PlainSocketImpl.socketBind(Native Method) at java.net.PlainSocketImpl.bind(Unknown Source) at java.net.ServerSocket.bind(Unknown Source) at java.net.ServerSocket.<init>(Unknown Source) at java.net.ServerSocket.<init>(Unknown Source) at uk.co.mdjcox.webfeedencoder.ServerThread.listenForConnections(ServerThread.java:348) at uk.co.mdjcox.webfeedencoder.ServerThread.run(ServerThread.java:331) May 7, 2009 8:38:18 AM ServerThread uk.co.mdjcox.webfeedencoder.ServerThread run INFO: Web feed network encoder stopping May 7, 2009 8:38:18 AM Web Feed Encoder Shutdown uk.co.mdjcox.webfeedencoder.RecordingThread shutdown INFO: Recording shutdown Also check in windows task manager that there are no rogue vlc.exe processes running - if there are then kill them Secondly it appears not to have been able to resolve some URLs in its first-time initialisation of channels. I have tested those URLs and they seem to work. Code:
May 7, 2009 8:38:18 AM WrapperSimpleAppMain uk.co.mdjcox.webfeedencoder.EncoderProperties getChannelProp SEVERE: Cannot get property url for channel 24 java.io.IOException: Server returned HTTP response code: 403 for URL: http://opml.radiotime.com/Describe.ashx?id=s46745 Finally I notice you are using many of the sample channels as well as your own - was that your intention or is this something that happened during upgrade? Resolve the above things and then repeat the upgrade steps. As you have noticed - if all fails you can always easily fall back to the previous release which you saved with the "_v0_9_2" suffix by deleting the "webfeedencoder" directory created by unzipping the new release and renaming the "webfeedencoder_v0_9_2" back to "webfeedencoder" Let me know how you get on. Michael |
Tags |
extender, internet video streaming, mvp, online videos, radio |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
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 |