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-09-06, 11:04   #661 (permalink)
Portal Member
 
Join Date: Jun 2007
Posts: 319
Thanks: 108
Thanked 140 Times in 63 Posts

Country:


Default

Quote:
Originally Posted by Gixxer View Post
i guess i have to install the app and find a file with all the languages,right?
There is a page for translations in the manager program. It has a lot of the strings that need translating, but as the program is always changing, it does not have all strings.

As the program comes across a string that has not been translated, it is added to the bottom of the translation table. You basically need to run the interface for a while and make sure you have accessed all screens. This will ensure that all strings have been loaded into the translation table.

After you save your changes, you need to send me the MPTranslate.ini file from the program directory.


Quote:
Originally Posted by Gixxer View Post
btw, can u tell me why im not finding the...

Adding a user to MySQL
Select “MySQL Administrator” from Start > All Programs > MySQL and log in.

it looks i have a program missing.
You need to install the MySQL GUI Tools package. You can find it here...

MySQL :: MySQL GUI Tools Downloads

Regards
Kev
Big_Kev is offline   Reply With Quote
Old 2008-09-06, 19:09   #662 (permalink)
Portal Tester
 
Gixxer's Avatar
 
Join Date: Aug 2007
Age: 24
Posts: 603
Thanks: 23
Thanked 7 Times in 7 Posts

Country:

My System

Default

Quote:
Originally Posted by Big_Kev View Post
Quote:
Originally Posted by Gixxer View Post
i guess i have to install the app and find a file with all the languages,right?
There is a page for translations in the manager program. It has a lot of the strings that need translating, but as the program is always changing, it does not have all strings.

As the program comes across a string that has not been translated, it is added to the bottom of the translation table. You basically need to run the interface for a while and make sure you have accessed all screens. This will ensure that all strings have been loaded into the translation table.

After you save your changes, you need to send me the MPTranslate.ini file from the program directory.


Quote:
Originally Posted by Gixxer View Post
btw, can u tell me why im not finding the...

Adding a user to MySQL
Select “MySQL Administrator” from Start > All Programs > MySQL and log in.

it looks i have a program missing.
You need to install the MySQL GUI Tools package. You can find it here...

MySQL :: MySQL GUI Tools Downloads

Regards
Kev
thanks, i think u should include in the pdf guide the fact that 2 additional programs must be installed.

nevertheless, i still cant connect using mysql administrator. i think there is something wrong in my database but have no clue on what as the only thing ive done is create the new user "Web". user "sa" was already there.

i have done ping and get answer. any help on this is very much appreciated.

about the translation, it looks that till i get it fixed maybe is better if u send me your .ini with all the strings and i can work on that.

hope u can help me, although i realize its hard as its not a web interface program problem

thanks

p.d. i was thinking... can it be a firewall issue? just wondering, although error message says "could not connecto to the specific instance. error number 1045. access denied for user "root@localhost"

Last edited by Gixxer; 2008-09-06 at 19:15.
Gixxer is offline   Reply With Quote
Old 2008-09-06, 20:49   #663 (permalink)
Portal Member
 
Join Date: Aug 2006
Location: Hessen
Posts: 35
Thanks: 2
Thanked 2 Times in 2 Posts

Country:

My System

Send a message via ICQ to Mr.Montesa
Default

Sounds a little bit wired Gixxer,
Your user "sa" is te admin user for the DB. No need to try with user root, which is the default admin user on linux/Unix based systems.
I think you have logged in with SA to create user web.
Perhaps you need to grant more privileges on user web. And what is the exact problem?
You cant connect to the DB? Is it localhost? default port? etc.
If your DB is running on the local server (localhost) Firewalling cant be the problem.
Describe your problem little bit in detail.
greets
Mr.Montesa is offline   Reply With Quote
Old 2008-09-06, 22:10   #664 (permalink)
Portal Tester
 
Gixxer's Avatar
 
Join Date: Aug 2007
Age: 24
Posts: 603
Thanks: 23
Thanked 7 Times in 7 Posts

Country:

My System

Default

Quote:
Originally Posted by Mr.Montesa View Post
Sounds a little bit wired Gixxer,
Your user "sa" is te admin user for the DB. No need to try with user root, which is the default admin user on linux/Unix based systems.
I think you have logged in with SA to create user web.
Perhaps you need to grant more privileges on user web. And what is the exact problem?
You cant connect to the DB? Is it localhost? default port? etc.
If your DB is running on the local server (localhost) Firewalling cant be the problem.
Describe your problem little bit in detail.
greets
hi, thanks for your attention.

my steps were...

install mprc2 + setup everything...tv working (minor issues not related to this)
install mysql management express to proccede with the guide, step that says...

Quote:
Adding a user to MSSQL Express.
Firstly, start up the “SQL Server Management Studio Express” that you installed with MSSQL Express, and connect to the server (remember that you have to add “\SQLEXPRESS” to the end of your computer name / ip address in the “Server” field on the login window. For Example, the computer “Kevin-laptop” should be entered as “Kevin-laptop\SQLEXPRESS” as the server name.
so i created the user.

install mysql gui tools, try to connect but i get this ... (see file attached)

password i am using is: MediaPortal
rest u can see in the pic.




files web2 and web3 are just in case they are relevant.

thanks for trying to help me.
Attached Thumbnails
self-contained-web-server-interface-web.jpg  self-contained-web-server-interface-web2.jpg  self-contained-web-server-interface-web3.jpg  
Gixxer is offline   Reply With Quote
Old 2008-09-07, 09:26   #665 (permalink)
Portal Member
 
Join Date: Aug 2006
Location: Hessen
Posts: 35
Thanks: 2
Thanked 2 Times in 2 Posts

Country:

My System

Send a message via ICQ to Mr.Montesa
Default

You've mixed up MySQL and MSSQL.
The screenshots look like you are using MSSQL, because you are connected successfully to the database in screenshot2.
You do not need "MySQL Administrator".
Proceed with the Howto for setting up MP webfrontend for MSSQL.
Good luck.
greets
Mr.Montesa is offline   Reply With Quote
Old 2008-09-07, 15:13   #666 (permalink)
Portal Tester
 
Gixxer's Avatar
 
Join Date: Aug 2007
Age: 24
Posts: 603
Thanks: 23
Thanked 7 Times in 7 Posts

Country:

My System

Default

Quote:
Originally Posted by Mr.Montesa View Post
You've mixed up MySQL and MSSQL.
The screenshots look like you are using MSSQL, because you are connected successfully to the database in screenshot2.
You do not need "MySQL Administrator".
Proceed with the Howto for setting up MP webfrontend for MSSQL.
Good luck.
greets
ok, i went to Mediaportal web interface manager, database.

but i cant do the "test login" correctly. ive tried

server name: htpc
user name: root
password: tv3 also tried MediaPortal
Database name: TvLibrary and also MpTvDbRC2
tried all checkbox options

any idea? i have skiped MySQL administration as u said.

thanks
Gixxer is offline   Reply With Quote
Old 2008-09-07, 17:44   #667 (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 regeszter View Post
Hi Kev,

I am using the new interface and not the PDA screens. This problem is in IE6/7 and firefox too.

Here is a generated html after I removed a scheduling.

<html>

<head>
<meta http-equiv="Content-Language" content="en-au">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<META HTTP-EQUIV="Pragma" CONTENT="no-cache">
<META HTTP-EQUIV="Expires" CONTENT="-1">
<title>MP Web Interface - Program Removed Successfully!</title>

<link rel="stylesheet" type="text/css" href="custom.css">
<SCRIPT language="JavaScript">
<!--hide

function refresh(location)
{
window.opener.location.href = location;
window.setTimeout('window.close()',1000);
}

//-->
</SCRIPT>

</head>

<body onload="javascript:refresh('showrecording')">
<center><table width=100% height=100% bgcolor="#ECECFF"><tr><td valing=center align=center>
<center>
<table id="table1" cellpadding=4 cellspacing=1><tr><th>
<font size="2" color="#FFFFFF">&nbsp;<br><b>
&nbsp;&nbsp;&nbsp;Program Removed Successfully!&nbsp;&nbsp;&nbsp;<br>&nbsp;
</b></font>
</th></tr></table>

</center></td></tr></table></center>
</body>
<HEAD>
<META HTTP-EQUIV="Pragma" CONTENT="no-cache">
<META HTTP-EQUIV="Expires" CONTENT="-1">
</HEAD>

</html>


The IE7 says: the window.opener.location is NULL or not an object (translated from hungarian)
Hi, I don't know how html looks like on current release but that code indeed should report error like that. I posted fix a while ago:

Quote:
Originally Posted by risu View Post
Thanks, there's a little problem right now with my layout as removing scheduled show always changes tvguide to scheduled recordings page on the background.

It's because there wasn't option to view scheduled data from guide before, I'll see what I can do to fix this. Problem is that current javascript always reloads scheduled view on parent window after deleting scheduled show. I think it could be fixed by replacing following line on removeok.htm:

window.opener.location.href = "showrecording";

to

window.opener.location.href = window.opener.location;
I guess that window.opener. is missing from original html-file? I really haven't looked into later releases, I'm still using 3.0.0.7 myself. When I get time I'll check newest version and try see if I can fix some problems on interface. It seems like added features have had few conflicts with my original interface (yeah, some nasty tweaks there which worked just fine with older version).

Quote:
Originally Posted by rroet View Post
Quote:
Originally Posted by Big_Kev View Post
Quote:
Originally Posted by rroet View Post
Hi Kevin,

Your application is wonderfull. I've made a start at translating the webserver into dutch. If you could include the attache .ini file, that would be awesome. I haven't started on the html stuff yet. I'll upload those when I'm done with that.
Hi rroet,

You don't need to do any translations on the HTML files. If you look at the templates, you will see that all the literal strings are surrounded by "~~~" for example "~~~Web Interface~~~".

Any string with "~~~" at each end will be translated by the interface, based on your translate file.

Each time the interface finds a string that is not in the translation file, it is added to the end of the list in the translation table.

So... to translate the web pages, do the following.

1. Open the interface and navigate to EVERY page so that any new strings are definitely in the translation table.
2. Open the Manager (if it is already open, close it again WITHOUT saving and open it again)
3. Scroll to the bottom of the translation table and enter the new strings.
4. Save and reset the interface.

You should now see all strings translated.

If there is a string on a HTML page that is not translated, check the template and make sure it is surrounded by "~~~" tags.

If you add new strings to a HTML template, make sure you add them in English and surround them with "~~~" tags and then follow the above procedure. This means that others from other countries will be able to use your templates.

Regards
Kev

I've worked through the mptranslate file and I still found all headers to be showing in english, i.e.: the entire bar "Guide, Scheduled, Recorded, Manual Rec, Search, TV Service, Logout"

I found them in NewInterface\Guidemain

Can you fix them on your side, or should I supply a new file for the NewInterface skin? I'm currently working on the [New Strings] section and working out the grammar which got awefully lost during translation of the english text . I'll upload a new file a.s.a.p.


Jelle
-------------------------------------------
Extra edit for me. Been working through the translate and html files now.
I found most missing items and I've worked on them to translate them all and correct the html templates where the ~~~ were missing. The only location I couldn't find was the DELETE button on the showrecorded overview of the PDA skin.

Could you please point me to that?

Here's an updated set of files for the mp_translate.ini in dutch and the html files for both skins.
I'm just reading the original replys, and yes, by the time I did new interface, there was lots of text which isn't translated by ~~~, it wasn't simply possible without Kev making changes to the program. Now I could make a list of translatable content if Kev is willing to add parser entries for them (if he hasn't already done that).

Last edited by risu; 2008-09-07 at 17:49. Reason: Automerged Doublepost
risu is offline   Reply With Quote
2 Users Say Thank You:
Old 2008-09-08, 22:26   #668 (permalink)
Portal Member
 
Join Date: Aug 2006
Location: Hessen
Posts: 35
Thanks: 2
Thanked 2 Times in 2 Posts

Country:

My System

Send a message via ICQ to Mr.Montesa
Default

Gixxer,
you are using MS-SQL. Your default Master Database User is "sa" with password "Mediaportal".
And the database itself is called "MpTvDbRC2", if you have installed MP RC2.
Your screenshots showed that you have logged in successfully!
Re-read the documentation, ignore all MySQL stuff and you will have a clean good install of MP Webinterface.

If nothing helps, uninstall all components, and start from scratch. The default settings are good to go.

@Kev,
while using the horizontal view of MP web interface, I have a small feature request.
In vertical view, the running show is highlighted. Havin this in horizontal view would be great.
Even better: Start the column on the left, with the running program.
Theres no need to display historical data in this view, or?
You know what I mean?
Any questions, or remarks, let me know.
greets

Last edited by Mr.Montesa; 2008-09-08 at 22:32.
Mr.Montesa is offline   Reply With Quote
This User Say Thank You:
Old 2008-09-09, 14:46   #669 (permalink)
Portal Member
 
Join Date: Jul 2008
Location: The Hague
Age: 31
Posts: 12
Thanks: 4
Thanked 4 Times in 4 Posts

Country:

My System

Send a message via MSN to rroet Send a message via Skype™ to rroet
Default

Quote:
Originally Posted by risu View Post
I'm just reading the original replys, and yes, by the time I did new interface, there was lots of text which isn't translated by ~~~, it wasn't simply possible without Kev making changes to the program. Now I could make a list of translatable content if Kev is willing to add parser entries for them (if he hasn't already done that).
Kev has already updated all entries. Thanks for the reply.
rroet is offline   Reply With Quote
Old 2008-09-09, 19:22   #670 (permalink)
Portal Member
 
Join Date: Feb 2006
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts


Question NULL Error when scheduling from analog TV-Card, DVB-T is fine

Hi Guys.

After i installed and setup the Self contained Web server, everything looks fine, the only problem is when I try to schedule a recording this error message is shown in the IE7 window

------------------------------------------------------------------------------------------------------------------------------------
Error: [AnyDAC][Phys][ODBC][Microsoft][SQL Native Client][SQL Server]Cannot insert the value NULL into column 'directory', table 'MpTvDbRC2.dbo.Schedule'; column does not allow nulls. INSERT fails.
------------------------------------------------------------------------------------------------------------------------------------
Can anyone help me with this problem.

Thanks in advance.

By the way, thanks for a splendid interface Big_Kev.

Best regards

Brian Henriksen
bhenriksen 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:40.


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