Jody Gugelhupf wrote: > hi ppl :), > I work with freevo 1.7.3xx I asked about the webserver tab function, which > was made possible by > duncan in the end, very great btw :) i needed it for the online live tv tab, > added it also under > tips and tricks in the freevo wiki, i would > like to add a patch to the program, but the way i'm currently making the > webtv thing working is a > little tricky as for each channel an individual rpy script is needed, so i > was thinking about > doing it in a different way and came up with a faster and probably easier way > if it would work, i > was checking the library.rpy, guide.rpy etc. and i was > wondering in the guide.rpy how the record command is issued, there is this > section in the > guide.rpy: > > fv.res += ( > u"<div id=\"popup\" class=\"proginfo\" style=\"display:none\">\n"\ > u"<div id=\"program-waiting\" style=\"background-color: #0B1C52; > position: > absolute\">\n"\ > u" <br /><b>Fetching program information ...</b>\n"\ > u"</div>\n"\ > u" <table id=\"program-info\" class=\"popup\">\n"\ > u" <thead>\n"\ > u" <tr>\n"\ > u" <td id=\"program-title\">\n"\ > u" </td>\n"\ > u" </tr>\n"\ > u" </thead>\n"\ > u" <tbody>\n"\ > u" <tr>\n"\ > u" <td class=\"progdesc\" id=\"program-desc\">\n"\ > u" </td>\n"\ > u" </tr>\n"\ > u" <tr>\n"\ > u" <td class=\"progtime\">\n"\ > u" <b>"+_('Start')+u":</b> <span > id=\"program-start\"></span>, \n"\ > u" <b>"+_('Stop')+u":</b> <span > id=\"program-end\"></span>, \n"\ > u" <b>"+_('Runtime')+u":</b> <span > id=\"program-runtime\"></span> min\n"\ > u" </td>\n"\ > u" </td>\n"\ > u" </tbody>\n"\ > u" <tfoot>\n"\ > u" <tr>\n"\ > u" <td>\n"\ > u" <table class=\"popupbuttons\">\n"\ > u" <tbody>\n"\ > u" <tr>\n"\ > u" <td id=\"program-record-button\">\n"\ > u" "+_('Record')+u"\n"\ > u" </td>\n"\ > u" <td id=\"program-favorites-button\">\n"\ > u" "+_('Add to Favorites')+u"\n"\ > u" </td>\n"\ > u" <td > onclick=\"program_popup_close();\">\n"\ > u" "+_('Close Window')+u"\n"\ > u" </td>\n"\ > u" </tr>\n"\ > u" </tbody>\n"\ > u" </table>\n"\ > u" </td>\n"\ > u" </tr>\n"\ > u" </tfoot>\n"\ > u" </table>\n"\ > u"</div>\n" ) > fv.res += "<iframe id='hidden' style='visibility: hidden; width: 1px; > height: > 1px'></iframe>\n" > fv.printFooter() > > > so i think then when clicking on: > u" <td id=\"program-record-button\">\n"\ > u" "+_('Record')+u"\n"\ > it probably issues the record command, is that right? but where is this > command specified? is it > somewhere in the local_conf.py? Would it be possible to add extra commands? > Cuz if it would be > possible to add commands somehow as vraiables, or specify extra command I > could make this web live > tv as a patch, it would get the channels from the local_conf.py display them > in a list like in the > guide.rpy (I got that working so far) and then when clicking on a chan it > would initiate my new > command (to stream that channel and/or switch to new channel)instead of the > recording command. The > same way I can get the tv cards radio tuner working. I think this would be a > great enhancement to > the freevo webserver. So it would be great if someone could give me some tips > on how and where > this record command is specified so I can the adjust the guide.rpy to my > needs, btw I’m a a total > n00b when it comes to twisted python… so please go easy on me, thx ;) > I was also wondering about the “download”option in the media library, in old > releases of freevo > you could download the files in the media library instead of streaming, is it > possible to add the > download button again? Cuz that would be really great if someone could tell > me how, it still seems > to be in the *.rpy’s, but does not appear anymore, thx for any helps or tips > in advance > l8rs jody :D > > > > Hi Jody,
Just wondering how your work on this was progressing? I'd love to see it get into freevo in time to be included for the 1.8 release as there's quite a few updates to the web interface. Did you submit a feature request for it at any stage (I couldn't find one)? If not how about opening one now? http://sourceforge.net/tracker/?group_id=46652&atid=446898 John ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Freevo-devel mailing list Freevo-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-devel