Self Contained Web Server / Interface (2 Viewers)

infinite.loop

Retired Team Member
  • Premium Supporter
  • December 26, 2004
    16,163
    4,133
    127.0.0.1
    Home Country
    Austria Austria
    Slightly off-topic:
    I dropped a line to Chris (infinityloop - Project Coordinator) and asked if it would be ok to add a "Donate" button to my web page.
    The main reason for this is that my current laptop is now 5 years old (about 105 in computer years!) and I spend more of my limited development time for this project just waiting for things to open or compile, than I do coding!

    Any contribution that you could make would be greatly appreciated and help enormously.

    Please don't feel in any way obliged to donate, this is freeware and always will be.
    You forgotten to tell me that it is online now.

    I just used it and i hope that the others will do as well. ;)

    :D
     

    mortstar

    MP Donator
  • Premium Supporter
  • January 30, 2008
    415
    41
    Home Country
    England England
    Hi Big_Kev,

    Did you get any chance to look at my Database backup?

    :sorry: to pester but I'm flummoxed on this one
    Try running this query in MySQL query browser (if you get a "database not selected" error, just double click the mptvdbrc1 database on the schemata tab to open it)

    select DISTINCT t.name, t.idChannel, c.displayName from channel c, groupmap g, tuningdetail t where t.idChannel = g.idChannel and c.isRadio = 0 and g.idChannel = c.idChannel and c.idChannel in (select idChannel from channelgroup c, groupmap g where c.groupName ='Freesat' and g.idGroup = c.idGroup) and g.idGroup in (select c.idGroup from channelgroup c, groupmap g where c.groupName ='Freesat' and g.idGroup = c.idGroup) order by g.sortOrder

    You will see that there are duplicate displayName entries for different name entries. Web Interface uses displayName (as this is the name that users enter for display).

    for example, see:

    BBC ONE = BBC ONE
    BBC 1 W Mids = BBC ONE
    BBC 2 England = BBC TWO
    BBC TWO = BBC TWO

    So you can change the display names so they are non-ambiguous or make the redundant channels not visible or re-arrange your groups into smaller numbers of channels etc.

    Hope this helps...

    Kev

    Legend...

    :oops: Bit of a simple fix really. I just used TV Server config.

    Although the grouped channels appeared under one channel in 'TV Channels' tab, I needed to 'edit' them (basically clicked edit and then clicked okay without changing data). So now the DVB-S and DVB-T channels that are the same c.displayName are forced to have the same t.name.

    Now to look into VLC streaming to my ipod touch - awesome!
     

    stoked

    MP Donator
  • Premium Supporter
  • December 14, 2007
    297
    8
    Home Country
    Canada Canada
    Big_Kev,

    The start before/after filter doesn't seem to work in a query. If I set it for example from 12:00AM to 3:00AM, nothing shows up, if I clear those fields, it shows up. Also, how would I set a search string for mutiple words?

    Also, I'm wondering if you could look at how MPWebInt sorts channels. Currently, I use the Group screen to sort my channels by channel number which sorts it properly in my Guide. However, MPWebInt wouldn't follow this sort order. Would it be possible to use the same sort method as the Guide?

    Thanks.
     

    rsbrux

    Documentation Group
  • Team MediaPortal
  • April 15, 2007
    1,214
    174
    Home Country
    Switzerland Switzerland
    Big_Kev,
    Many thanks for great plugin. I have it set up and working with the SVN of 14 Sept. (last version that works with analog TV card).
    There is one minor problem. I have set up the auto-login, which works fine from a browser running on the same machine.
    From other machines in my WLAN/Intranet, however, the login and password prompt appear.
    What am I doing wrong?

    P.S. Sorry, it is not as easy as I thought.
    Only the first access to the start page logs in automatically. Subsequent attempts show the login prompt.
    Also, the link "Remote Control" displays "Could not connect" (even when accessed from a browser directly on the HTPC), even though I have installed the BKhelper plugin, and the port number in the plugin setup agrees with the one in the MP Web Manager configuration.
    Lastly, I cannot access the MP web server from either of 2 smartphones (a Blackberry and a WM5), although both can access external web sites and the MP web server is reachable from a laptop on the same WLAN.
    Where should I look for clues to troubleshooting trhese problems?
    Could it be a firewall issue?

    Kev

    The issues with remote control access and access from smartphone were a combination of DNS and firewall problems. Using IP-Address and opening port 50120 as well as 8080 on the HTPC got me access from my WM5 smartphone. The auto-login problem is still unresolved.
    Thanks for your help!
     

    Golf4

    Portal Pro
    August 18, 2006
    2,723
    219
    Dunkeldeutschland
    Home Country
    Germany Germany
    Hi Big_Kev,
    Unfortunately have I only a bad English.
    I try it nevertheless. It takes at least 2 minutes to itself the Guide opens.
    On the local PC and over the network.
    Then however everything functions - Record ....
    Is that normal?
    MS-Firewall and MS-Defender is deactivated.

    Thanks for the answer.

    Vielleicht doch besser auf german:
    Also, es dauert bei mir ewig (ca. 2min) bis sich die Guide im Explorer öffnet.
    Es ist gleich ob ich auf dem Server selber oder per Netzwerk das Web-Plugin starte.
    Hat jemand ne Idee oder ist das normal?
    Wenn es dann einmal auf ist funktioniert aber alles - Aufnahme usw.
    Firewall und MS-Defender ist alles deaktiviert.

    Danke für die Antwort
     

    stoked

    MP Donator
  • Premium Supporter
  • December 14, 2007
    297
    8
    Home Country
    Canada Canada
    Big_Kev,
    Many thanks for great plugin. I have it set up and working with the SVN of 14 Sept. (last version that works with analog TV card).
    There is one minor problem. I have set up the auto-login, which works fine from a browser running on the same machine.
    From other machines in my WLAN/Intranet, however, the login and password prompt appear.
    What am I doing wrong?

    P.S. Sorry, it is not as easy as I thought.
    Only the first access to the start page logs in automatically. Subsequent attempts show the login prompt.
    Also, the link "Remote Control" displays "Could not connect" (even when accessed from a browser directly on the HTPC), even though I have installed the BKhelper plugin, and the port number in the plugin setup agrees with the one in the MP Web Manager configuration.
    Lastly, I cannot access the MP web server from either of 2 smartphones (a Blackberry and a WM5), although both can access external web sites and the MP web server is reachable from a laptop on the same WLAN.
    Where should I look for clues to troubleshooting trhese problems?
    Could it be a firewall issue?

    Kev

    The issues with remote control access and access from smartphone were a combination of DNS and firewall problems. Using IP-Address and opening port 50120 as well as 8080 on the HTPC got me access from my WM5 smartphone. The auto-login problem is still unresolved.
    Thanks for your help!


    Auto-login works for me.
     

    Big_Kev

    Portal Pro
    June 8, 2007
    338
    186
    Home Country
    Some Help Needed!

    Hi All,

    I am trying to get the streaming going, but I am having trouble with VLC.

    I can get it to start streaming, then it runs for about 30 seconds and stops. Watching on the TV Server Configuration I can see VLC connect, then shortly after drop out.

    I guess that there is something not set properly? The file length (ie hours mins seconds to play) is displayed as what ever the current timeshifting available content is (say 5:48) when I start the stream, but I still only get 30 - 40 seconds before it disconnects.

    I am new to all of this streaming stuff - so I hope it is something basic that can be fixed.

    Kev
     

    erosco

    MP Donator
  • Premium Supporter
  • June 25, 2007
    122
    20
    Home Country
    Big_Kev

    Can I ask a dumb question - I've been using your 'EPG downloader service for TV Server only' for quite a while (as well as your Web Interface).

    Yesterday I set up the same EPG info in the Web Server manager.. I managed to refresh the EPG by hitting the button on the web client.. but my question is this..does the Web Server tool automatically download updated data every day or is it a manual refresh only (user click).

    I'm trying to work out if I need both products installed...

    Thanks
    erosco

    p.s. I'll play around with streaming and see how I go.
     

    Mr.Montesa

    Portal Pro
    August 9, 2006
    91
    7
    Hessen
    Home Country
    Germany Germany
    Hello all,
    I was off reading for about two weeks and cant believe how fast this project is growing. Damn good!
    The new streaming feature sounds great. And the playlist feature too.
    An often occuring problem of a fast growing feature list an outdated documentation. Perhaps someone can write down a short "howto setup streaming"
    And "HowTo configure playlists"?
    I installed the latest version but wasn't able to play with the playlists, cause something is missing. Error is: No MediaPortal client detected. I think other will have that/other problems too.
    A good documentation will help to track important stuff in this thread and not the whole support here. I think its not neccecary that Big_Kev writes these howtos. Users with enhanced testing knowledge can do that too.
    Or we should put some documentation in the Mediaportal Wiki, or, or or.
    Any ideas are apreshiated.

    Second, one of my TV cards got lost in Webfrontend. I have a dual DVB-T Stick. In TV Server configuration they are called:
    Cinergy DT USB XS Diversity (MKII) Digital Tuner (Dev1 Path0)
    and
    Cinergy DT USB XS Diversity (MKII) Digital Tuner (Dev1 Path1).
    In the webfrontend I only see the first one. In MP versions 0.4.8 (I think) it was working well. Perhaps a database query changed and the nearly identical name is fetched as a duplicate from the first one. Any ideas?

    Third the menu is getting confused, cause its changing its content depending on the view.
    - When I click on Playlists, the whole menu is changing.
    - No direct access to Remote Control
    - In playlist view you cant swith to eg Scheduled or recorded.

    Fourth, a feature request:
    Perhaps its a nice feature to have a movie database frontend. All movies with thumbnails in view. Perhaps some information from the movie database too.
    And in a second step, to stream that videos.

    Greets
    Sebastian

    Edit:
    Argh, forgot a minor thing. In EPG view the day dropdown isn't displayed correcty. Check screenshot which was taken on Sun 5th.
    I suggest disabling historical data (3rd and 4th).
     

    stoked

    MP Donator
  • Premium Supporter
  • December 14, 2007
    297
    8
    Home Country
    Canada Canada
    Hi All,

    I am trying to get the streaming going, but I am having trouble with VLC.

    I can get it to start streaming, then it runs for about 30 seconds and stops. Watching on the TV Server Configuration I can see VLC connect, then shortly after drop out.

    I guess that there is something not set properly? The file length (ie hours mins seconds to play) is displayed as what ever the current timeshifting available content is (say 5:48) when I start the stream, but I still only get 30 - 40 seconds before it disconnects.

    I am new to all of this streaming stuff - so I hope it is something basic that can be fixed.

    Kev


    In what context does VLC drop? When it's initiated by your app or if you timeshift TVServer manually? I just tested VLC while watching live tv on my MPClient and it seems to work fine.
     

    Users who are viewing this thread

    Top Bottom