Self Contained Web Server / Interface (1 Viewer)

stoked

MP Donator
  • Premium Supporter
  • December 14, 2007
    297
    8
    Home Country
    Canada Canada
    Adding and tracking feature request via forum is not the best idea in my opinion.
    Isn't it possible to use the wiki which can be edited?
    We will have a single point of presence where to add feature requests/bugs. And Big_Kev can put it on the done/ignore/accepted list.
    Just my two cents.
    BR

    Moving Pictures and a few other projects use Google Code which seems pretty good.
     

    Mr.Montesa

    Portal Pro
    August 9, 2006
    91
    7
    Hessen
    Home Country
    Germany Germany
    Tested again a bit with the latest version.
    Streaming localhost works smoothly. Changing channels takes about 5sec. No problems using FF3. Even fullscreen TV works nicly.

    But streaming via local network doesn't work. Not with FF3 nor IE6. Sounds wired.
    Is it possible that there is an error in the VLC config which will be bypassed while streaming to localhost?

    Using FF3 I get the C library error which cant be loaded as stated before. On IE6 I cant click on the streaming button in showguide view. Nor in TV server view.
    The streaming button is "unclickable".
    rgds,

    Edit:
    And sometimes I do get an error 500 while starting streaming:
    Code:
    The Web Server has encountered the following error:
    
    [AnyDAC][Phys][ODBC][Microsoft][SQL Native Client]Connection is busy with results for another command

    Did you install VLC and do the "work around" with the dll files on the client computers?

    Kev

    Yes, latest version of VLC is installed and dll's are copied to systemfolder. But only on server side?
    I'm testing the ActiveX plugin. Do I need to install the dll's there too? Doesn't make sense, or?
    Because I do not have the libraries with me when I'm streaming from outside :)

    Adding and tracking feature request via forum is not the best idea in my opinion.
    Isn't it possible to use the wiki which can be edited?
    We will have a single point of presence where to add feature requests/bugs. And Big_Kev can put it on the done/ignore/accepted list.
    Just my two cents.
    BR
    This sounds like a much better way to do things... I just don't have any experience with this and dont know where to start.

    Any advice gratefully received.

    Kev

    I'll take care for that in the meantime. Will get in contact with the MP maintainers, to discuss the idea and let you know what we can do.
    BR
     

    rsenden

    Portal Pro
    August 22, 2006
    88
    108
    Rotterdam, NL
    Home Country
    Netherlands Netherlands
    Empty recording query

    Hi,

    Yesterday I encountered a 'problem' with the recording queries functionality. When saving a query with only the query title filled in (no other query fields), the web interface will simply select all possible programs that are currently available in the TV guide. This will fill up the recording schedule database, causes the web interface to stop responding, etc.

    I think it would be a good idea to add some checks such that empty queries like this are not accepted, and/or to display a warning message if more than some configurable number of programs would be selected at once when a query is created.

    Kind regards,
    Ruud.
     

    charli181

    Retired Team Member
  • Premium Supporter
  • August 3, 2007
    800
    111
    Sydney
    Home Country
    Australia Australia
    Tested again a bit with the latest version.
    Streaming localhost works smoothly. Changing channels takes about 5sec. No problems using FF3. Even fullscreen TV works nicly.

    But streaming via local network doesn't work. Not with FF3 nor IE6. Sounds wired.
    Is it possible that there is an error in the VLC config which will be bypassed while streaming to localhost?

    Using FF3 I get the C library error which cant be loaded as stated before. On IE6 I cant click on the streaming button in showguide view. Nor in TV server view.
    The streaming button is "unclickable".
    rgds,

    Edit:
    And sometimes I do get an error 500 while starting streaming:
    Code:
    The Web Server has encountered the following error:
     
    [AnyDAC][Phys][ODBC][Microsoft][SQL Native Client]Connection is busy with results for another command

    Did you install VLC and do the "work around" with the dll files on the client computers?

    Kev

    Yes, latest version of VLC is installed and dll's are copied to systemfolder. But only on server side?
    I'm testing the ActiveX plugin. Do I need to install the dll's there too? Doesn't make sense, or?
    Because I do not have the libraries with me when I'm streaming from outside :)

    Adding and tracking feature request via forum is not the best idea in my opinion.
    Isn't it possible to use the wiki which can be edited?
    We will have a single point of presence where to add feature requests/bugs. And Big_Kev can put it on the done/ignore/accepted list.
    Just my two cents.
    BR
    This sounds like a much better way to do things... I just don't have any experience with this and dont know where to start.

    Any advice gratefully received.

    Kev

    I'll take care for that in the meantime. Will get in contact with the MP maintainers, to discuss the idea and let you know what we can do.
    BR

    The DLL's need to be on the client machine also as it is using VLC Active X plugin to display the image. I found that on my XP machine, copying to the system folder was good enough. On my Vista Laptop though, it had to be System folder and also add the path to the VLC installation directory (c:\program files\VideoLan\VLC).

    As for a wishlist page, there are 2 areas within MP. One is the Mantis section, only developers have access to this and someone like High or InfinityLoop could approve that. The other is a Basic wiki page which I can setup and a link can be placed on the download page. That way all your updates can be done on this page instead of this forum post. Would you like me to set the wiki up for you? I really think that would be the way to go and then any updates you do with versioning will showup on the home page in the lower right hand corner.

    EDIT:- Seems the wiki is already done see here https://www.team-mediaportal.com/manual/Extensions-TV-Server-Plugins/Webinterface
    And also here https://www.team-mediaportal.com/files/Download/Plugins/Web/MPWebInterface/
     

    Big_Kev

    Portal Pro
    June 8, 2007
    338
    186
    Home Country
    New Version 0.6.0.8

    Hopefully some speed improvements....

    Also, now uses info from recordings table to calculate the length of ts files for streaming (VLC does not report a length for these files). This means that the navigate buttons now work in minutes.

    Kev
     

    allanp81

    Portal Pro
    October 24, 2006
    917
    41
    I can't get the streaming icon to work, it just stays off the whole time. I've followed the guide perfectly so really not sure is wrong or what to provide here to get it working!

    Forgot to mention I'm using 0.6.0.8 and firefox 2 and 3. In firefox if I click the str off button nothing happens, whereas in IE 6 or 7 I get a script error and it asks me if I want to debug the line regarding initiating the streaming.
     

    Gixxer

    Retired Team Member
  • Premium Supporter
  • August 18, 2007
    1,383
    41
    40
    Spain
    Home Country
    Spain Spain
    any news on adding the vertical line (when using horizontal display) at the current time. ????




    Adding and tracking feature request via forum is not the best idea in my opinion.
    Isn't it possible to use the wiki which can be edited?
    We will have a single point of presence where to add feature requests/bugs. And Big_Kev can put it on the done/ignore/accepted list.
    Just my two cents.
    BR

    the is the most active thread so thats why i put it here. im sure kev has lots of work, but i just try to remind about the feature request as i find it really usefull. hopefully he will find time some day.

    good work kev.
     

    Big_Kev

    Portal Pro
    June 8, 2007
    338
    186
    Home Country
    any news on adding the vertical line (when using horizontal display) at the current time. ????




    Adding and tracking feature request via forum is not the best idea in my opinion.
    Isn't it possible to use the wiki which can be edited?
    We will have a single point of presence where to add feature requests/bugs. And Big_Kev can put it on the done/ignore/accepted list.
    Just my two cents.
    BR

    the is the most active thread so thats why i put it here. im sure kev has lots of work, but i just try to remind about the feature request as i find it really usefull. hopefully he will find time some day.

    good work kev.

    I am more than happy for you to keep posting! - I don't even remember the last time I had a good memory!

    I am looking into the Google Code thing - it looks very good, with issue tracking etc.

    Kev

    I can't get the streaming icon to work, it just stays off the whole time. I've followed the guide perfectly so really not sure is wrong or what to provide here to get it working!

    Forgot to mention I'm using 0.6.0.8 and firefox 2 and 3. In firefox if I click the str off button nothing happens, whereas in IE 6 or 7 I get a script error and it asks me if I want to debug the line regarding initiating the streaming.
    Hi,

    Firstly - streaming only works if the TV Server (MP) and the Web Interface and the TV Card are all on the same PC.

    Reboot the PC to ensure that any "stray" instances of vlc are cleaned up (could be from previous crashes of the web interface)

    Can you try streaming from the TV Service page.

    Select a channel so your card is time-shifting, then click on the streaming Icon. It should go green - but no streaming window will be opened.

    If it does not go green, check Task Manager to see if a copy of vlc.exe has been started... you will have to select the option to view processes from all users as it is SYSTEM that starts the VLC instance for streaming.

    If it is running, there may be some other issues... Please check that you have entered a streaming port and a VLC port for each card that you want to stream.

    If it is running, try the following...
    Open your browser on the streaming PC and go to http://localhost:[VLC Control Port]/requests/vlm.xml if you are using the default settings, this will be...

    http://localhost:8071/requests/vlm.xml

    you should get some XML in response to this.
    HTML:
     <?xml version="1.0" encoding="UTF-8" standalone="yes" ?> 
    - <vlm>
    - <broadcast name="WebInterface1" enabled="yes" loop="no">
      <output>#duplicate{dst=std{access=http,mux=ts,dst=kevin-laptop:8086}}</output> 
    - <inputs>
      <input>rtsp://10.0.0.2/stream1.0</input> 
      </inputs>
      <options /> 
    - <instances>
      <instance name="default" state="playing" position="0" time="0" length="0" rate="0" title="0" chapter="0" seekable="1" playlistindex="1" /> 
      </instances>
      </broadcast>
      </vlm>

    If you dont, then there is a problem with the port you are using OR your firewall is blocking the port on the local machine. You may only see the <vlm> tags if the interface was not added properly.

    The web interface uses this xml file to determine if streaming is on or off. If it can not contact the VLC instance (because of the firewall) then it will report it as not streaming.

    If it is working, see if you can connect uing VLC. Start VLC and select Network from the media menu. set protocol to HTTP, then type in the dst address from the <output> tag in the xml page... in the example above, I would use

    kevin-laptop:8086 (from dst=kevin-laptop:8086 in output tag). DO NOT PUT IN ANY SLASHES, VLC will add these automatically... so //kevin-laptop:8086 would not work!

    Let me know how you go and we can try some other options if necessary.

    Kev

    Also, please check the log from the TV SERVICE page - event logging and see if there are any errors shown there.
     

    infinite.loop

    Retired Team Member
  • Premium Supporter
  • December 26, 2004
    16,163
    4,133
    127.0.0.1
    Home Country
    Austria Austria
    Just created a new subforum inside the TV-Server forum to store all community-plugins :)
     

    allanp81

    Portal Pro
    October 24, 2006
    917
    41
    any news on adding the vertical line (when using horizontal display) at the current time. ????






    the is the most active thread so thats why i put it here. im sure kev has lots of work, but i just try to remind about the feature request as i find it really usefull. hopefully he will find time some day.

    good work kev.

    I am more than happy for you to keep posting! - I don't even remember the last time I had a good memory!

    I am looking into the Google Code thing - it looks very good, with issue tracking etc.

    Kev

    I can't get the streaming icon to work, it just stays off the whole time. I've followed the guide perfectly so really not sure is wrong or what to provide here to get it working!

    Forgot to mention I'm using 0.6.0.8 and firefox 2 and 3. In firefox if I click the str off button nothing happens, whereas in IE 6 or 7 I get a script error and it asks me if I want to debug the line regarding initiating the streaming.
    Hi,

    Firstly - streaming only works if the TV Server (MP) and the Web Interface and the TV Card are all on the same PC.

    Reboot the PC to ensure that any "stray" instances of vlc are cleaned up (could be from previous crashes of the web interface)

    Can you try streaming from the TV Service page.

    Select a channel so your card is time-shifting, then click on the streaming Icon. It should go green - but no streaming window will be opened.

    If it does not go green, check Task Manager to see if a copy of vlc.exe has been started... you will have to select the option to view processes from all users as it is SYSTEM that starts the VLC instance for streaming.

    If it is running, there may be some other issues... Please check that you have entered a streaming port and a VLC port for each card that you want to stream.

    If it is running, try the following...
    Open your browser on the streaming PC and go to http://localhost:[VLC Control Port]/requests/vlm.xml if you are using the default settings, this will be...

    http://localhost:8071/requests/vlm.xml

    you should get some XML in response to this.
    HTML:
     <?xml version="1.0" encoding="UTF-8" standalone="yes" ?> 
    - <vlm>
    - <broadcast name="WebInterface1" enabled="yes" loop="no">
      <output>#duplicate{dst=std{access=http,mux=ts,dst=kevin-laptop:8086}}</output> 
    - <inputs>
      <input>rtsp://10.0.0.2/stream1.0</input> 
      </inputs>
      <options /> 
    - <instances>
      <instance name="default" state="playing" position="0" time="0" length="0" rate="0" title="0" chapter="0" seekable="1" playlistindex="1" /> 
      </instances>
      </broadcast>
      </vlm>

    If you dont, then there is a problem with the port you are using OR your firewall is blocking the port on the local machine. You may only see the <vlm> tags if the interface was not added properly.

    The web interface uses this xml file to determine if streaming is on or off. If it can not contact the VLC instance (because of the firewall) then it will report it as not streaming.

    If it is working, see if you can connect uing VLC. Start VLC and select Network from the media menu. set protocol to HTTP, then type in the dst address from the <output> tag in the xml page... in the example above, I would use

    kevin-laptop:8086 (from dst=kevin-laptop:8086 in output tag). DO NOT PUT IN ANY SLASHES, VLC will add these automatically... so //kevin-laptop:8086 would not work!

    Let me know how you go and we can try some other options if necessary.

    Kev

    Also, please check the log from the TV SERVICE page - event logging and see if there are any errors shown there.

    My god I'm stupid sometimes. I completely removed and re-installed and now I can click streaming, don't actually get any video yet but at least I can check from here and have a better go at getting it working.

    OK I can start the streaming and open the video in VLC no probs from my server and also my machine at work, so I'm assuming that means all the necessary ports are open? The new window that opens just sits there saying video is loading and then just crashes the webserver. The web window streaming works fine locally on the server.
     

    Users who are viewing this thread

    Top Bottom