|
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 |
#321
|
|||
|
|||
Quote:
The web feed encoder now directly injects EPG into SageTV using an EPG import plugin that wraps around any existing one you may have set up. Effectively the WebFeedEncoder lineup is just added to the existing list. Quote:
One issue still remains. If you are setting up a new source, or reconfiguring and existing source, to use built-in EPG. SageTV will go to the XMLTV import plugin to look for providers and local markets rather than built-in EPG and of course they will not be found. The work around currently is to temporarily remove the epg/epg_import_plugin line, do your source setup, restore that line and make sure the new EPG source in Sage.properties has "disable_plugin=true". Ideally I would like to wrap the built-in EPG data in the same way as I wrap my plugin around an existing EPG plugin. However SageTV does not make its internal source provide the same interface as it requires of EPG import plugins. A shame. So I'm having to work much harder to resolve this one to avoid the above manual work around. Quote:
The web feed encoder requires that you specify a logical channel start point and then adds the channels from that point on. So you just need to identify a free range of channel numbers. Hope this helps clarify the current state. Michael Last edited by michaeldjcox; 10-30-2009 at 05:50 AM. |
#322
|
|||
|
|||
Michael,
Still testing on my XP box, not ready to attempt Linux yet. Anyway, got a question, the SageTV EPG seems to be 6 hours early. ie: shows that start at 9AM show in the schedule as starting at 3AM I have set the Time Zone for each channel to my correct TZ, currently only working with local feeds so it would seem those schedules should be correct. Got any suggestions?
__________________
SageTV Server v9.2.2, Ubuntu Server 18.04.4 x64, Java 1.8.0_252, Xeon E5-2690, 32GB, 6X6TB WD Red - Software Raid 6, 2X HDHR3 (OTA), 3X HD-200 |
#323
|
|||
|
|||
Hi,
the time zone of the channel should be the timezone of the listing data. Normally I put in the timezone where the station originates. But the key thing is what timezone is the listing data in on the web site you are getting it from. So if its a www.radiotime.com station then for me the EPG of all stations is listed in UTC/GMT. Hope this helps, Michael |
#324
|
|||
|
|||
The local time is what I expected too, as these are local channels.
Is there a way to view the raw schedule data to see what is retrieved from radiotime?
__________________
SageTV Server v9.2.2, Ubuntu Server 18.04.4 x64, Java 1.8.0_252, Xeon E5-2690, 32GB, 6X6TB WD Red - Software Raid 6, 2X HDHR3 (OTA), 3X HD-200 |
#325
|
|||
|
|||
Quote:
You should see something like this: http://www.keepandshare.com/photo/ro...5081&d=0&sz=sm I'm pretty sure radiotime lists *all* stations schedules in one timezone e.g. GMT and not in the timezone the station is from. I'm not sure whether their web pages are senstive to where the page viewer is coming from i.e. I see all times in GMT but you might see them otherwise. Michael |
#326
|
|||
|
|||
I tested a couple different ways:
Looked at the test data from EPG harvest and setting Time Zone to different values then imported EPG to SageTV. Here's the results: My target was a show on 8PM - 10PM local time. From EPG Harvest test: Code:
TZ set to America/Los_Angeles 7PM - 9PM TZ set to Etc/GMT-8 4AM - 6AM TZ set to Etc/GMT-9 3AM - 5AM Code:
TZ set to America/Los_Angeles 12PM - 2PM TZ set to Etc/GMT-8 9PM - 11PM TZ set to Etc/GMT-9 8PM - 10PM
__________________
SageTV Server v9.2.2, Ubuntu Server 18.04.4 x64, Java 1.8.0_252, Xeon E5-2690, 32GB, 6X6TB WD Red - Software Raid 6, 2X HDHR3 (OTA), 3X HD-200 |
#327
|
|||
|
|||
Hi,
Well - the good thing is you can choose a timezone and get the correct times. Things can be a little confusing this time of year with people switching back from daylight savings. Can you do a couple of things for me please:
I'll do some debugging and see whats going on. Update: (Just checked and www.radiotime.com says it provides show times in UTC unless a username is provided in which case localtime is provided. Theres no user name in the URLs so it should be UTC. This is why I make the timezone Europe/London(UTC) for all radiotime stations. Ultimately when it is exported to SageTV it is exported as UTC time. What we need is for no conversion to be applied. Do you get the right answer if you set timezone for Europe/London?). Thanks, Michael Last edited by michaeldjcox; 10-31-2009 at 02:00 AM. |
#328
|
|||
|
|||
I installed WFE for the first time yesterday and I'm very pleased with it.
Installation was not smooth; UAC is here to stay and the installer needs to be able to deal with it. I got round most problems by running the webfeedencoder_0_9_4.jar from an elevated command prompt, but I also needed to do the following: - 1) Copy sage.properties to a temporary, non-protected, location so the installer could edit it there. Then copy the installer-modified version back to my SageTV folder. 2) Change the suggested default install folders to Program Files (x86) - not a UAC issue of course. 3) I had to copy wfesageplugin.jar into the SageTV jars folder manually, even the elevated command prompt failed (silently) to do that. I can confirm that VLC 1.0.3 still doesn't work, so I'm using the suggested 0.9.8a. I have the problem most (all?) people are having with very choppy playback on the server machine, but everything is perfectly smooth on my HD100s. All in all I'm very impressed with this piece of work, thank you very much for the effort you've put in to get it this far. My setup is in my public profile. |
#329
|
|||
|
|||
Quote:
- s_35304 - My current TZ is America/Los_Angelas, which should be GMT-8 Now I can't seem to get the right time in SageTV's EPG. When I use Europe/London example: On Radiotime my test show starts 11/1 @ 12AM The EPG Harvest Test shows it starts 10/31 @ 4PM (this is GMT-8 as expected) In SageTV the test show starts 11/1 @ 8AM (??)
__________________
SageTV Server v9.2.2, Ubuntu Server 18.04.4 x64, Java 1.8.0_252, Xeon E5-2690, 32GB, 6X6TB WD Red - Software Raid 6, 2X HDHR3 (OTA), 3X HD-200 |
#330
|
|||
|
|||
Quote:
Glad you are having some success. I think I got away without UAC because my mobile USB network dongle software suggested UAC be turned off - so I have been working in a restriction free environment. I will do some testing on this - at the very least the installer should report and advise on any UAC issues. How do these things work for you normally - do installers usually prompt for user names and password? Do instructions state that you should run as a priveleged user? I will also try and default the install directory to something sensible. Could you post back with your install log file please? Thanks for your feed back. Michael Last edited by michaeldjcox; 11-03-2009 at 04:55 PM. |
#331
|
|||
|
|||
Quote:
I'm scraping from web pages rather than going via the OPML interface to radiotime. Which means, for you I am scraping times off radiotime in pacific time. You should therefore set the timezone in the channel data to be your own timezone. This should then convert to UTC correctly. Then when uploading to SageTV - which I assume is local time it will be converting back again. I think this last step is possibly not coded correctly. Could you help me please to further diagnose? If you could do the following: 1. Make the above change to set channel timezone to your local zone. 2. shutdown the configtool and the webfeedencoder 3. save a copy for the current configtool.jar. 4. overwrite that jar with the one in the attached zip file. 5. Run up just the config tool 6. select your channel in the lineup 7. Choose "Actions->Send channel EPG to SageTV" 8. Reply with the logs/configtool.log file. Thanks, Michael Last edited by michaeldjcox; 11-03-2009 at 04:42 PM. |
#332
|
|||
|
|||
Thank you Michael! Not at home right now, will do this later this evening (Pacific Time!)
Edit: 11/03/09 Yes I am running SageTV local time. Here is the configtool.log
__________________
SageTV Server v9.2.2, Ubuntu Server 18.04.4 x64, Java 1.8.0_252, Xeon E5-2690, 32GB, 6X6TB WD Red - Software Raid 6, 2X HDHR3 (OTA), 3X HD-200 Last edited by RocKKer; 11-03-2009 at 11:36 PM. |
#333
|
|||
|
|||
Thank you, very much appreciated.
I think I have now found the issue. Sorry for delay - bad week last week - kids sick, work shite and working from home so I missed my "time to myself" on the train when I code all this stuff. Will post a fix very shortly. Michael |
#334
|
|||
|
|||
Hi,
Looked again at the output and I'm not convinced there was a problem with that test run: Code:
: The Rush Limbaugh Show20091108170000+0000 starts 20091108170000+0000=Sun Nov 08 17:00:00 PST 2009 : The Rush Limbaugh Show20091108170000+0000 UTC millis = 1257728400000 : The Rush Limbaugh Show20091108170000+0000 setting date from 1257728400000+ ZoneOffset=-28800000+ DSToffset=0 : The Rush Limbaugh Show20091108170000+0000 local time is = Sun Nov 08 09:00:00 PST 2009 It seems to correctly subtract 8 hours. Then comes up with the answer in local time as Sun Nov 08 09:00:00 PST 2009. Checking the station web site this seems correct. What time do you see in SageTV for The Rush Limbuagh Show after an EPG import? Michael |
#335
|
|||
|
|||
Thanks for getting back Michael - I understand how real life gets in the way sometimes. No worries!
Radiotime shows Rush Limbaugh starts @ 0900 on Monday 11/9 (my time) Just ran another update and Sage EPG shows it starts @ 0100 on Monday (11/9) 8 hours early.
__________________
SageTV Server v9.2.2, Ubuntu Server 18.04.4 x64, Java 1.8.0_252, Xeon E5-2690, 32GB, 6X6TB WD Red - Software Raid 6, 2X HDHR3 (OTA), 3X HD-200 |
#336
|
|||
|
|||
Quote:
I assumed SageTV expects show times to be in local time. Perhaps it expects them to be in GMT so it can subtract 8 hours to get PST. Michael |
#337
|
|||
|
|||
Hi Rockker,
I've tried removing the timezone translation I was doing. I don't think its needed as the EPGPlugin interface sage offers takes number of millis since a GMT time which is what I already had before I started adding bits on for timezone to send to SageTV. So attached zip file contains a modified configtool.jar and encoder.jar (seeing as the grabber is in both). You only need the configtool.jar just to have a go from the config tool. If you like the fix then the encoder.jar is also needed as the encoder does the overnight grab. Michael |
#338
|
|||
|
|||
I tried the new configtool.jar last night (I posted the results, I thought, but don''t see it...anyway it was late..).
The showtimes are right except the days are wrong... Radiotime says - Money Matters airs Saturday Nov. 14 12pm - 1pm However after importing, SageTV's EPG shows it will air Wednesday Nov 11 12pm - 1 pm. times are right but it's a few days early.
__________________
SageTV Server v9.2.2, Ubuntu Server 18.04.4 x64, Java 1.8.0_252, Xeon E5-2690, 32GB, 6X6TB WD Red - Software Raid 6, 2X HDHR3 (OTA), 3X HD-200 |
#339
|
|||
|
|||
Quote:
Are all the programs for Sat 14th moved to Wed 11th? Those logs would be cool if you get a minute. I'll look into it. When we have fixed this one I will make a 0.9.4b release wrapping up these and the UAC fixes. Thanks, Michael |
#340
|
|||
|
|||
Hi RocKker,
Try this one. Fixed a few little problems in this one. 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 |