MediaPortal Forums HTPC/MediaCenter

Go Back   MediaPortal Forum » MediaPortal TV-Server » Community Plugins


Community Plugins TV-Server Plugins created from users for users, can be found here.

Reply
 
Thread Tools Display Modes
Old 2007-11-29, 10:40   #321 (permalink)
Portal Member
 
risu's Avatar
 
Join Date: Sep 2006
Posts: 261
Thanks: 19
Thanked 19 Times in 17 Posts

Country:

My System

Default

Quote:
Originally Posted by risu View Post
Quote:
Originally Posted by risu View Post
I think version 0.1.2.9 is last one which is worked somehow well on my system. After that I can't connect to web int after about 24 hours of installation. When I open manager on 2.0.0.06 I get Socket Error #10061 Connection refused so it could be a firewall issue also, but previous versions (pre 2.0.0.00) worked..

EDIT

If I manually kill the process MPWebInt.exe and start it again, it works! It just doesn't seem to work automatically on computer restart.
Hmmm. now it works again flawlessy. I've been updating Tv-server quite often lately. It could also be a situtation where tv-server has been uninstalled and installed but web int hasn't been shutdown on the process. Even then after reboot web int doesn't wake up if it isn't shutted down and restarted. I'll test this next time I update tv-server.
OK I solved this one. When I had those socket errors I was indeed updating tv-server quite often. Now I hadn't updated it for a while and Web Interface also kept working well. Then I updated it yesterday again and Web Interface kept working after tv-service update BUT after reboot web interface was again giving socket errors when trying to open manager. Pressing Save to reboot interface (from manager) did report web interface was rebooting but it didn't help. What helped was manually terminating webint.exe process and manager and then starting service again from webint manager. It's weird that it works well after update but not after reboot..
risu is offline   Reply With Quote
Old 2007-11-30, 00:43   #322 (permalink)
Portal Member
 
Join Date: Jun 2007
Posts: 319
Thanks: 108
Thanked 140 Times in 63 Posts

Country:


Default

Quote:
Originally Posted by risu View Post
OK I solved this one. When I had those socket errors I was indeed updating tv-server quite often. Now I hadn't updated it for a while and Web Interface also kept working well. Then I updated it yesterday again and Web Interface kept working after tv-service update BUT after reboot web interface was again giving socket errors when trying to open manager. Pressing Save to reboot interface (from manager) did report web interface was rebooting but it didn't help. What helped was manually terminating webint.exe process and manager and then starting service again from webint manager. It's weird that it works well after update but not after reboot..
Hi risu,

Is there anything showing in the log file? You need to look at it immediately after the problem occurs to see if there was an issue during the initial connection, and at what stage it occurred.

The web server starts up and tries to listen on the port specified - that could be the issue. Or when the initial connection is made to the database engine, though this is a client connection and is much less likely to cause a socket error...

Hopefully the log might throw some more light on it.

Regards,

Kev

EDIT: During an update, the service is stopped first and re-started afterwards using direct calls to the services manager, so it is definitely stopped and started cleanly. If you are using vista, you should be able to select a startup option for the web server of delayed automatic (or automatic delayed - I can't remember which it is). This might give any dependencies a chance to start up first.

Last edited by Big_Kev; 2007-11-30 at 00:49.
Big_Kev is offline   Reply With Quote
Old 2007-11-30, 18:04   #323 (permalink)
Portal Member
 
Join Date: Nov 2007
Posts: 14
Thanks: 0
Thanked 1 Time in 1 Post


Default

Hi Big_Kev and thanks for a great application to improve MediaPortal!

I have just installed it and it works flawless so far

I am currently running an Apache server on my HTPC and I was thinking of trying to integrate the web interface through it.

Are you only accessing the TV Server database for scheduling recording and accessing TV Guide? Or are you using some TVServer API through some DLL?

Is it possible to access the source code to see how much that can be reused in an Apache integrated version?

Sincerely

Jonas
jonolo is offline   Reply With Quote
Old 2007-12-02, 13:51   #324 (permalink)
Portal Member
 
rr69's Avatar
 
Join Date: Nov 2006
Posts: 29
Thanks: 1
Thanked 3 Times in 3 Posts

Country:


Default

I had some problems with remote controlling the client from my PDA. The buttons weren't showing as they should. Instead of the play button i got a botton with the "P" character on it. And so on for all the other buttons.

I made some changes to the remote.html and added the appropiate jpg's to go along with it. So it now works on "probably" all pda/smartphones.

For the graphical designers... The buttons could use a makeover...
For Kev.. If you are interested you could use this in the next release.

Use this link to download...

just extract this file into the root of the selfcontained webserver directory and restart the webserver.

Regards RR69

Just found out thet i made some errors in the html file. Corrected them. (20:57)

Last edited by rr69; 2007-12-02 at 20:57. Reason: Made an error in the html file
rr69 is offline   Reply With Quote
This User Say Thank You:
Old 2007-12-05, 04:28   #325 (permalink)
Portal Member
 
Join Date: Jun 2007
Posts: 319
Thanks: 108
Thanked 140 Times in 63 Posts

Country:


Default

Quote:
Originally Posted by jonolo View Post
Hi Big_Kev and thanks for a great application to improve MediaPortal!

I have just installed it and it works flawless so far

I am currently running an Apache server on my HTPC and I was thinking of trying to integrate the web interface through it.

Are you only accessing the TV Server database for scheduling recording and accessing TV Guide? Or are you using some TVServer API through some DLL?

Is it possible to access the source code to see how much that can be reused in an Apache integrated version?

Sincerely

Jonas
Hi Jonas,

The program is actually written in rather old-fashioned borland C++ (Builder 5 to be exact) and uses a number of third party components.

I can send you a copy of the source if you are still interested, at least you can get an idea of some of the SQL statements that I have used etc.

Kev
Big_Kev is offline   Reply With Quote
Old 2007-12-05, 15:52   #326 (permalink)
Portal Member
 
Join Date: Nov 2007
Posts: 14
Thanks: 0
Thanked 1 Time in 1 Post


Thumbs up

Quote:
Originally Posted by Big_Kev View Post

Hi Jonas,

The program is actually written in rather old-fashioned borland C++ (Builder 5 to be exact) and uses a number of third party components.

I can send you a copy of the source if you are still interested, at least you can get an idea of some of the SQL statements that I have used etc.

Kev
Kev,

that would be great! It is mostly the SQL statements that I need I guess, stupid to try to invent the wheel once again
Do you access the actual TV Server in any way, or do you just use the database?

I will send you a PM with my email...

Sincerely

Jonas
jonolo is offline   Reply With Quote
Old 2007-12-06, 00:37   #327 (permalink)
Portal Member
 
Join Date: Jun 2007
Posts: 319
Thanks: 108
Thanked 140 Times in 63 Posts

Country:


Default

Quote:
Originally Posted by jonolo View Post
Do you access the actual TV Server in any way, or do you just use the database?

Jonas
Hi Jonas,

The only thing I access TV Server for is the TV card status. This uses a little COM dll that I wrote that in turn uses the TvControl dll that comes with TV Server.

All other information comes from the database itself (except for the TV Server status which comes from the Service Manager API).

Regards
Kev
Big_Kev is offline   Reply With Quote
Old 2007-12-06, 22:01   #328 (permalink)
Portal Member
 
Join Date: Nov 2007
Posts: 14
Thanks: 0
Thanked 1 Time in 1 Post


Default

Hi Kev.

Ok, I will try to make an attempt to port it then. Would be great if you could send me the source or maybe just the SQL statements... In any case, that would be much appreciated and you will get all the credit for it!

Cheers

Jonas
jonolo is offline   Reply With Quote
Old 2007-12-12, 06:27   #329 (permalink)
Super Moderator
 
Join Date: Feb 2005
Location: Melbourne
Posts: 1,957
Thanks: 71
Thanked 28 Times in 28 Posts

Country:

My System

Send a message via ICQ to Marcusb
Default

Hi Kev,
I have been on a version for a couple of months ago and have just upgraded to the latest today.
Thanks again for all the efforts, they are greatly appreciated

I have a couple of feature requests I thought I'd run by you.

1) TV server status. Could this page be modified to be the server status? Where it would show not just the status of the service, but the memory usage (maybe just an average or not to often updated). To give more info on this page, you could return the disk space usage of the recording folders and the C drive. This would be a much richer view of the whole status of the server.

2) Recorded Programs. instead of a single delete button for each program, would it be better to have check boxes and an option to delete all selected or to reset the watched status of all selected or any other thing along those lines.

3) TV Card status. I'm not sure if it does this in the newest version, but in the older one, it displayed "Tuner Locked" when a card was in use. Is it possible to report this in the same way the "Manual" section does in the TV server config? IE, Timeshifting channel 9 and the name of the PC or recording schedule that has that card in use.

4) logging. Is it possible to log access and if anyone adds or deletes a recording or schedule to log that as well?

These are just all ideas. I have no idea if they are easy or hard to implement or even if you think it's worth it but I thought I'd run them by you anyway.

Merry Christmas and hope to see you round again real soon.

Cheers,
Marcus.
Marcusb is offline   Reply With Quote
This User Say Thank You:
Old 2007-12-12, 13:57   #330 (permalink)
Portal Member
 
Join Date: Nov 2007
Posts: 14
Thanks: 0
Thanked 1 Time in 1 Post


Default

Hi all

I have just started to implement a web interface for apache with php. It should probably run on any web server supporting php but only tested on apache (v2.2.6).

At the moment it is really basic and I have put most work on functionality more than looks... Because I will use it from my mobile phone the interface is oriented to that, so really slim and simple. It is only tested with MySQL 5, mostly because I haven't a tv server on MS SQL to test on... but should work with MS SQL too.

The thought is to allow every user to have its own default view settings, skin and language...

So far the viewing of the tv guide and scheduled recordings is done, along with some user admin functions.

So the next big thing is to implement the actual scheduling of a recording. Is there any documentation or guidelines on how to use the database for this?

Finally, is there anyone out there that are running a web server with php that would be willing to start testing this?

Cheers

Jonas
jonolo is offline   Reply With Quote
Reply

Bookmarks

Tags
contained, interface, server, web

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
TVE3 Web User Interface goatse Development 29 2008-05-12 18:14
Web Interface tucholka MediaPortal 1 Talk 1 2007-04-16 15:44
Updated interface for MP Web Controller quiller Skins 0 2007-01-21 08:14
Web Interface like xbmc? brandenpro Plugins 1 2005-09-05 09:19
Web Interface...... spo General Development (no feature request here!) 24 2004-11-07 12:33


All times are GMT +1. The time now is 11:10.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 Protected by Akismet Blog with WordPress
Advertisement System V2.6 By   Branden