[New Plugin] WebServices + Transcoded streaming + Web Interface for TvServer and MP (5 Viewers)

Status
Not open for further replies.

chemelli

Retired Team Member
  • Premium Supporter
  • September 28, 2006
    6,159
    2,264
    52
    Milano, Italy
    Home Country
    Italy Italy
    Andreas,

    maybe you can ceatea MPEI package for this great plugin so you can check if MP is >=1.1.0 Beta1 and you are sure users will put stuff in the right place ;)

    Simone
     

    RickDeckard

    Portal Member
    October 19, 2006
    31
    2
    Home Country
    Belgium Belgium
    error - Input string was not in a correct format

    Hi,

    after logging in to the webapplication, if I click on the TV button i get the error below.

    I am running on TV server 1.0.2. I suspected this may be related to the OS' regional settings - which are set to Dutch (Belgium).
    I tried to change these to English (United States) to no avail.

    Anyone got an idea on what might be wrong?


    Code:
    Server Error in '/' Application.
    --------------------------------------------------------------------------------
    
    Input string was not in a correct format. 
    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. 
    
    Exception Details: System.FormatException: Input string was not in a correct format.
    
    Source Error: 
    
    
    Line 149:    }
    Line 150:
    Line 151:    List<WebMiniEPG> epgs = server.GetTvMiniEPGForGroup(Int32.Parse(cbTvGroups.SelectedValue));
    Line 152:    DataTable dt = new DataTable();
    Line 153:    dt.Columns.Add("channel", typeof(string));
     
    
    Source File: c:\Program Files (x86)\Team MediaPortal\MediaPortal TV Server\Plugins\MPWebServices\htdocs\Default.aspx.cs    Line: 151 
    
    Stack Trace: 
    
    
    [FormatException: Input string was not in a correct format.]
       System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal) +7471623
       System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info) +119
       System.Int32.Parse(String s) +23
       Default.RefreshTv() in c:\Program Files (x86)\Team MediaPortal\MediaPortal TV Server\Plugins\MPWebServices\htdocs\Default.aspx.cs:151
       Default.btnTv_Click(Object sender, EventArgs e) in c:\Program Files (x86)\Team MediaPortal\MediaPortal TV Server\Plugins\MPWebServices\htdocs\Default.aspx.cs:81
       System.Web.UI.WebControls.Button.OnClick(EventArgs e) +78
       System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +100
       System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +10
       System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +13
       System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +36
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2863
    
     
    
    
    --------------------------------------------------------------------------------
    Version Information: Microsoft .NET Framework Version:2.0.50727.4927; ASP.NET Version:2.0.50727.4927
     

    dakky

    Portal Pro
    June 17, 2008
    159
    4
    Home Country
    Germany Germany
    I don't manage to get this webinterface to work. This is the error message:

    Code:
    Serverfehler in der Anwendung /.
    The columns episodePart, episodeName in table Program do not exist.
    Beschreibung: Unbehandelte Ausnahme beim Ausführen der aktuellen Webanforderung. Überprüfen Sie die Stapelüberwachung, um weitere Informationen über diesen Fehler anzuzeigen und festzustellen, wo der Fehler im Code verursacht wurde.
    
    Ausnahmedetails: Gentle.Common.GentleException: The columns episodePart, episodeName in table Program do not exist.

    i have a default mssql express setup. i simply copied the gentle.config from dem program Data\MPServer directory to the plugin directory. i have no error messages in MP Servers error.log, so i assume the database connection itself seems to work. But why cant this plugin find the needed tables?

    dakky
     

    Bagal

    MP Donator
  • Premium Supporter
  • December 15, 2006
    229
    16
    Home Country
    United Kingdom United Kingdom
    Sounds like your running version 1.02 of the TvServer, you need the 1.1Beta for this plugin to work.
     

    nicx

    Portal Pro
    February 1, 2006
    387
    12
    Stuttgart
    Home Country
    Germany Germany
    hi gemx,

    is it possible to get this plugin working with version 1.02 without much work? i just went back to the 1.02 because I had many problems with the actual 1.1 beta. the tvserver was regularly crashing on my system. with v1.02 the tvserver is running without any problems, but I need your plugin ;)

    nicx...
     

    bibo456

    Portal Pro
    July 22, 2008
    55
    2
    Home Country
    France France
    hi gemx,

    is it possible to get this plugin working with version 1.02 without much work? i just went back to the 1.02 because I had many problems with the actual 1.1 beta. the tvserver was regularly crashing on my system. with v1.02 the tvserver is running without any problems, but I need your plugin ;)

    nicx...
    +1
    I love MP 1.0.2

    thank you anyway for your fantastic work
     

    gemx

    Retired Team Member
  • Premium Supporter
  • October 31, 2006
    1,972
    539
    Home Country
    Germany Germany
    I am sorry but there were numerous changes "under the hood" lately so it would take quite some time (which i don't have) to make it compatible with 1.0.2 but 1.1 RC will be out soon, so no worry.

    I am also working on an RC1 for this plugin - just to say that development is not dead :D
     

    dakky

    Portal Pro
    June 17, 2008
    159
    4
    Home Country
    Germany Germany
    Sounds like your running version 1.02 of the TvServer, you need the 1.1Beta for this plugin to work.

    oh *g* i didn't realize that. So forget my "problem" i will come back, when 1.1 is final ;)

    greetings
    dakky
     

    pilehave

    Community Skin Designer
  • Premium Supporter
  • April 2, 2008
    2,566
    521
    Hornslet
    Home Country
    Denmark Denmark
    This is a great plugin :D

    But does anyone know how to switch from fullscreen -> windowed on the VLC plugin for Mozilla?

    Oh and...when I search for "Pink" in the "AND artist STARTS WITH" field (others not filled out) I get no files. If I clear all fields and search I get all my music. How come it doesn't find the music with "Pink Floyd"?
     

    joz

    Portal Pro
    March 17, 2008
    1,353
    306
    Home Country
    Netherlands Netherlands
    Because its part of the AND statement and not of the WHERE I think, so there for if you fill in only an and field it will cough up something like this
    SELECT * FROM blaat WHERE somedbfield = '' AND artist = 'pink'
    that will match to nothing most likely...
     
    Status
    Not open for further replies.

    Users who are viewing this thread

    Top Bottom