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

Status
Not open for further replies.

langben

Portal Member
April 4, 2009
32
1
Thank you for a promising piece of software :)

Only thing that works for me is pictures and movies - rest produces error. When pressing "TV" I get the following error:


The columns episodePart, episodeName in table Program do not exist.
Beskrivelse: Der opstod en undtagelse, der ikke blev behandlet, under udførelse af den aktuelle webanmodning. Se staksporingen for at få yderligere oplysninger om fejlen, og hvor den kom fra i koden.

Detaljer om undtagelse: Gentle.Common.GentleException: The columns episodePart, episodeName in table Program do not exist.

Kildefejl:

Linje 86: this.name = ch.DisplayName;
Linje 87: this.isWebStream = ch.IsWebstream();
Linje 88: epgNow = new WebShortProgram(ch.CurrentProgram);
Linje 89: epgNext=new WebShortProgram(ch.NextProgram);
Linje 90: }


Kildefil: d:\Downloads\MPWebServices_Alpha_3\htdocs\App_Code\Classes.cs Linje: 88

Staksporing:

[GentleException: The columns episodePart, episodeName in table Program do not exist.]
Gentle.Common.Check.FailWith(Severity severity, Error error, Exception e, String msg) +124
Gentle.Common.Check.Fail(Exception e, Error error, Object[] args) +42
Gentle.Common.Check.Fail(Error error, Object[] args) +10
Gentle.Framework.GentleAnalyzer.UpdateObjectMap(ObjectMap map) +1853
Gentle.Framework.ObjectFactory.ConstructMap(PersistenceBroker broker, Type type) +1519
Gentle.Framework.ObjectFactory.GetMap(PersistenceBroker broker, Type type) +114
Gentle.Framework.SqlBuilder..ctor(IGentleProvider provider, StatementType stmtType, Type type, LogicalOperator logicalOperator) +205
Gentle.Framework.SqlBuilder..ctor(StatementType stmtType, Type type) +14
TvDatabase.Channel.UpdateNowAndNext() in C:\KwasiDrive\Devel\Visual Studio 2005\Projects\Team MediaPortal\TvEngine3\TVLibrary\TVDatabase\Channel.cs:677
TvDatabase.Channel.get_CurrentProgram() in C:\KwasiDrive\Devel\Visual Studio 2005\Projects\Team MediaPortal\TvEngine3\TVLibrary\TVDatabase\Channel.cs:639
MediaPortal.TvServer.WebServices.Classes.WebMiniEPG..ctor(Channel ch) in d:\Downloads\MPWebServices_Alpha_3\htdocs\App_Code\Classes.cs:88
MediaPortal.TvServer.WebServices.ServiceInterface.GetTvMiniEPGForGroup(Int32 idGroup) in d:\Downloads\MPWebServices_Alpha_3\htdocs\App_Code\TvServiceWebServices.asmx.cs:164
Default.RefreshTv() in d:\Downloads\MPWebServices_Alpha_3\htdocs\Default.aspx.cs:123
Default.btnTv_Click(Object sender, EventArgs e) in d:\Downloads\MPWebServices_Alpha_3\htdocs\Default.aspx.cs:64
System.Web.UI.WebControls.Button.OnClick(EventArgs e) +78
System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +101
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
 

gemx

Retired Team Member
  • Premium Supporter
  • October 31, 2006
    1,972
    539
    Home Country
    Germany Germany
    langben:

    You have to use latest public snapshot for MP and TvServer.

    The exception occurs because there were some new columns introduced in the database of TvServer and in your installation they just don't exist.
     

    hkjensen

    MP Donator
  • Premium Supporter
  • June 11, 2007
    164
    66
    Copenhagen
    Home Country
    Denmark Denmark
    The Webservice requires latest version of TVServer, it will not work with previous versions.
    Columns episodePart, episodeName was added in revision 23264
     

    tlevis

    Portal Pro
    November 23, 2007
    55
    0
    Home Country
    Finland Finland
    Hi,

    this seems very nice and useful!
    But is this only for Windows computers??? How can I stream stuff to my Mac?
    Thanks for this plugin, it worked straight away for me.

    EDIT: Pictures button just gives an error from the server and Music doesn´t show all the music I have...
    Can't stream anything to anywhere or am stupid? VLC says it can't open it.
     

    gemx

    Retired Team Member
  • Premium Supporter
  • October 31, 2006
    1,972
    539
    Home Country
    Germany Germany
    Either you can acess the webpages from your mac

    or for the streaming part only, just call:

    Streamer.aspx?<type>=12&idPofile=12

    Where type can be

    idChannel
    idRecording
    idMovie
    idMusicTrack

    So e.g. if the channel you want to watch has channel id=1 and you want to stream without transcoding enter

    http://<yourhost>/Streamer.aspx?idChannel=1&idProfile=0

    Just enter this URL in your preferred movie player which can playback http streams

    The profile id is just the index of profile in the combox starting at "0".
    So the second entry would have profileid=1 and so on
     

    gemx

    Retired Team Member
  • Premium Supporter
  • October 31, 2006
    1,972
    539
    Home Country
    Germany Germany
    You don't have to have VLC installed on the server.

    At first you could try to stream via the "direct" profile (idProfile=0) which doesn't use any transcoder.
    Probably the encoder used in idProfile=1 (by default "mencoder") isn't installed in the path mentioned in the config file?
     

    Nephilim

    Extension Developer
    February 8, 2007
    805
    499
    Home Country
    Italy Italy
    To those who get these exceptions with directshow lib under X64 like mironicus:

    Please try to copy the directshowlib.dll from your tvserver or mp installation to htdocs/bin

    I still get the same error after doing that.

    Same here.
    Should be a problem releted to the x64 platform...
    Maybe compiling your project in x86 (like MP) can solve the problem.

    Bye,
    Nephilim

    Sorry to bore you gemx, but, any news for x64 users?

    Bye,
    Nephilim
     

    gemx

    Retired Team Member
  • Premium Supporter
  • October 31, 2006
    1,972
    539
    Home Country
    Germany Germany
    Hopefully i will find some time tomorrow to make it x64 compatible :)
     
    Status
    Not open for further replies.

    Users who are viewing this thread

    Top Bottom