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 2008-07-09, 20:04   #461 (permalink)
Portal Member
 
Join Date: Jul 2008
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts

Country:


Default

Thankyou for that Big_Kev. That looks like the answer! I knew it was something obvious i was missing! Unfortunately my PSU died on my server today so couldn't test it but hopefully Ill receive my replacement tomorrow and have a chance to play.

Thanks again
AngryBadger is offline   Reply With Quote
Old 2008-07-09, 20:19   #462 (permalink)
Portal Member
 
cheezey's Avatar
 
Join Date: Aug 2004
Location: West Yorks
Age: 40
Posts: 485
Thanks: 8
Thanked 27 Times in 12 Posts

Country:

My System

Default

Quote:
Originally Posted by risu View Post
Quote:
Originally Posted by cheezey View Post
And an option to change the TCP port that the web interface runs on.
You can already change the default port 8080 to anything you want in webint manager.
Doh! I meant define the IP address you can bind to, it was asked ealier in the post Self Contained Web Server / Interface
cheezey is offline   Reply With Quote
Old 2008-07-10, 04:11   #463 (permalink)
Portal Member
 
Join Date: Jun 2007
Posts: 319
Thanks: 108
Thanked 140 Times in 63 Posts

Country:


Default

Quote:
Originally Posted by cheezey View Post
Doh! I meant define the IP address you can bind to, it was asked ealier in the post Self Contained Web Server / Interface
Hi Cheezey,

I had a look at the code and I should be able to implement this feature.

It looks like I will be able to allow bindings for multiple IPs to different Ports etc.

I will add it over the next few days...

Watch this space.

Kev

Quote:
Originally Posted by cheezey View Post
A couple more requests:

Can you add

Code:
<meta name = "viewport" content = "width = device-width">
to each html - it's to make the initial page scale better for iphone & ipod touch users.
Should this be only on the PDA pages or on all pages? (Remembering that you can specify different pages for different logins).

My HTML knowledge is not great (as you can see from the rather plain pages in the standard guide - compared to Risu's custom pages), will this have any other affects on normal pages?

If you want to experiment, just change the html templates that install with the interface and see if it does what you need.

You can also copy the templates to another directory and set that up as your custom html directory (Interface Manager - Web Interface page, HTML Template Directory) and make experimental changes there - these will not be overwritten by new updates.

PM me your changes when you are happy with them and I will change the base templates.

Kev

Last edited by Big_Kev; 2008-07-10 at 04:25. Reason: Automerged Doublepost
Big_Kev is offline   Reply With Quote
Old 2008-07-10, 08:13   #464 (permalink)
Portal Member
 
cheezey's Avatar
 
Join Date: Aug 2004
Location: West Yorks
Age: 40
Posts: 485
Thanks: 8
Thanked 27 Times in 12 Posts

Country:

My System

Default

Quote:
Originally Posted by Big_Kev View Post

Should this be only on the PDA pages or on all pages? (Remembering that you can specify different pages for different logins).

My HTML knowledge is not great (as you can see from the rather plain pages in the standard guide - compared to Risu's custom pages), will this have any other affects on normal pages?
It should be all pages - the viewport meta tag is only used by the mobile safari browser, all other browsers ignore it. Adding the line just mean the pages fill the screen on the iPhone/iPod touch - I dropped some pics on an earlier post (Self Contained Web Server / Interface - Page 40 - MediaPortal Forum)

I've attached the html I have updated with the viewport meta tag.

Thanks
Attached Files
File Type: zip DefaultHTML.zip (18.6 KB, 4 views)

Last edited by cheezey; 2008-07-10 at 08:16.
cheezey is offline   Reply With Quote
Old 2008-07-10, 08:19   #465 (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 stoked View Post
risu,

Will you be updating your custom pages for remote control? Howe about the hover over? Sometimes it shows "header=..."
That's the plan, I should get next version all functionality of added features and add some tweaks. Don't expect this to happen atleast within a week as I don't currently have time to update it.

I know what you mean by "header" showing up, I'll look into into it too, it might be also some flaw on MPWebInterface side.. has anyone gotten that problem without my custom html?

Quote:
Originally Posted by Big_Kev View Post
My HTML knowledge is not great (as you can see from the rather plain pages in the standard guide - compared to Risu's custom pages), will this have any other affects on normal pages?
And as you can see from my pages, they are bunch of oldschool html with some javascript hacks, so I'm no pro either. If you want you can by any means embed my layout to your release.

After all, there's only one thing I don't like on my layout. I can't cancel scheduled program from tv guide. Normally if one would select a program that's already scheduled, one should get displayed a dialog to change recording parameters or to cancel scheduling but currently it isn't possible. One only can make duplicate recordings via tv guide. I made a hack for this on javascript way back but it didn't work as I couldn't get enough data out of mpwebint as scheduled shows are linked somewhat different way then tv guide ones. Basically what I tried to do was open scheduled program dialog instead of programdetails (so opening already scheduled show would allow user to cancel it via tv guide) but I didn't find an easy way to open that dialog.

To make that happen, MPWebInt should be changed somewhat. It should internally change the link of scheduled show at tv guide. So when MPWebInt sets !!!Current!!! flag for some show, ideally it should set it's link to point into new html-page which would contain recording parameters + cancel schedule-button and changing recording parameter would actually change it for the already scheduled show, not generate new schedule in parallel. Easier way would just change tv guide-link for scheduled shows to open up scheduled shows detail html (where user could simply cancel the show and after that could schedule show again via tv guide with different parameters).
risu is offline   Reply With Quote
Old 2008-07-11, 01:25   #466 (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
....
To make that happen, MPWebInt should be changed somewhat. It should internally change the link of scheduled show at tv guide. So when MPWebInt sets !!!Current!!! flag for some show, ideally it should set it's link to point into new html-page which would contain recording parameters + cancel schedule-button and changing recording parameter would actually change it for the already scheduled show, not generate new schedule in parallel. Easier way would just change tv guide-link for scheduled shows to open up scheduled shows detail html (where user could simply cancel the show and after that could schedule show again via tv guide with different parameters).
I will have a go at this for the next release

Kev
Big_Kev is offline   Reply With Quote
Old 2008-07-11, 06:16   #467 (permalink)
Portal Member
 
Join Date: Jun 2007
Posts: 319
Thanks: 108
Thanked 140 Times in 63 Posts

Country:


Default New Version 0.2.0.18 beta

Hi All,

I have added advanced binding for the web server. It is now possilbe to bind different ports to different IP addresses.

You need to know what you are doing before you use this!

On the web interface page of the manager you will see an "Advanced" button next to the Server Port input box.

Click on here to see the advanced binding window.

Regards
Kev
Big_Kev is offline   Reply With Quote
Old 2008-07-13, 14:55   #468 (permalink)
Portal Member
 
Join Date: Aug 2007
Location: IJmuiden
Age: 37
Posts: 41
Thanks: 2
Thanked 2 Times in 2 Posts

Country:

My System

Thumbs up

Big Kev,

This is absolutely fantastic. Running nice and smooth on My Vista HTPC
__________________
Yes, I donated to the Media Portal team. It felt good!
Luke Roberts is offline   Reply With Quote
Old 2008-07-13, 19:48   #469 (permalink)
Portal Member
 
Join Date: Jul 2008
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts

Country:


Default

HEy Big_Kev, cheers for your help, I have it working just fine with MySQL. I dont think I can use MSSQL because the Server Management Studio Expresswont install on Server08

However when I add a recording i get this error:

Error: [AnyDAC][Phys][MySQL][LIBMYSQL] Column 'directory' cannot be null

And idea where Ive gone wrong?

Cheers
Dave

Last edited by AngryBadger; 2008-07-14 at 00:07.
AngryBadger is offline   Reply With Quote
Old 2008-07-14, 09:56   #470 (permalink)
Portal Member
 
Join Date: Jun 2007
Posts: 319
Thanks: 108
Thanked 140 Times in 63 Posts

Country:


Default

Quote:
Originally Posted by AngryBadger View Post
HEy Big_Kev, cheers for your help, I have it working just fine with MySQL. I dont think I can use MSSQL because the Server Management Studio Expresswont install on Server08

However when I add a recording i get this error:

Error: [AnyDAC][Phys][MySQL][LIBMYSQL] Column 'directory' cannot be null

And idea where Ive gone wrong?

Cheers
Dave
Hi Dave,

The MP Tv database is set up so that no new rows can be added with null fields. The "directory" column gets its value from the recording directory defined for the TV Card.

I think you need to make sure that all of your TV Cards have a recording folder defined.

I am not currently on a PC with MP installed, so all I can go off is the code for the interface...

Code:
                     Q->Close();
                     Q->SQL->Clear();
                     Q->SQL->Add("select * from channelmap a, card b where idChannel = :Channel and a.idCard = b.idCard");
                     Q->ParamByName("Channel")->AsInteger = TChannel;
                     Q->Open();
                     Q->First();
                     if (!Q->Eof)
                        {
                        R->ParamByName("RECOMMENDEDCARD")->AsInteger = Q->FieldByName("idCard")->AsInteger;
                        R->ParamByName("PRIORITY")->AsInteger = Q->FieldByName("priority")->AsInteger;
                        R->ParamByName("DIRECTORY")->AsString = Q->FieldByName("recordingFolder")->AsString;
                        }
Have a look at your TV Server configuration at the options for the TV Cards. I am not in front of it right now, so I cant tell you exactly where to find the right page...

Regards
Kev
Big_Kev 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:29.


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