BinaryWorks.it Official Forum
BinaryWorks.it Official Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password? | Admin Options

 All Forums
 eXtreme Movie Manager (Rel. 7), No More Updates
 HTML Cards
 movie_bigcover update
 New Topic  Reply to Topic
 Printer Friendly
Previous Page | Next Page
Author Previous Topic Topic Next Topic
Page: of 35 Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

JDommi
Administrator

Germany
4653 Posts

Posted - 23 Apr 2011 :  00:48:02  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
I didn't had the courage to ask for that.
Maybe it is possible (and rational) to replace original rating by it if existent...

In order to achieve what is possible, you have to try the impossible over and over again.
Hermann Hesse
Go to Top of Page

Prinz
Senior Member

Germany
1522 Posts

Posted - 23 Apr 2011 :  00:58:38  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
So we need definitely 2 search pattern for each certification/mpaa image/logo

1. for the mpaa search field
2. for the certification field

There is no way around that...

Edited by - Prinz on 23 Apr 2011 00:58:58
Go to Top of Page

JDommi
Administrator

Germany
4653 Posts

Posted - 23 Apr 2011 :  13:02:24  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Aargh, I am really stupid...
I've done a test for _MOVIE_ORIGINAL_
I set 2 movies to false (standard = true).
Field _MOVIE_CHARACTERINFO_ is misused to contain info of original and remake in form of:
[Original: title (year)|[_MOVIE_ID_]]
Remake:
title (year)|[_MOVIE_ID_]

Now I wanted to add following code but nothing happens
(multiple remakes have to follow after...)

<script language="JavaScript" type="text/javascript">
	var bOriginal = '_MOVIE_ORIGINAL_';
	if (bOriginal == 'FALSE') {
		var sOriginal = '_MOVIE_CHARACTERINFO_';
		if (sOriginal.iIndexOf('Original') == 1) {
			var sTitle = slice(sOriginal.indexOf('|');
			var sID = slice(sOriginal.indexOf('|')-sOriginal.length);
			document.write('Original');
			document.write('<br><font color="#FFFFFF"><a href="" onClick="window.external.COLLECTION_FINDMOVIE(''' + sID + ''');return false;"><b> ' + sTitle + '</b></a></font><br>');
		}
	}
</script>


In order to achieve what is possible, you have to try the impossible over and over again.
Hermann Hesse
Go to Top of Page

Prinz
Senior Member

Germany
1522 Posts

Posted - 23 Apr 2011 :  18:11:56  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
I changed the array in the MPAA.js with 2 new entries (country code/simple search for it) to make it work with both functions and to the image name i added the relative subfolders.

Example:

[/\b(ab.18|FSK.18)\b/i, "de/18", "FSK 18","de",/\b18\b/i],
[/\b(ab.16|FSK.16)\b/i, "de/16", "FSK 16","de",/\b16\b/i],
Go to Top of Page

JDommi
Administrator

Germany
4653 Posts

Posted - 23 Apr 2011 :  18:15:07  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Great idea! You're not as stupid as I don't look like

In order to achieve what is possible, you have to try the impossible over and over again.
Hermann Hesse
Go to Top of Page

Prinz
Senior Member

Germany
1522 Posts

Posted - 23 Apr 2011 :  18:19:34  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
I looks like the german rating is many times missing on imdb.com... or it's just my luck
Go to Top of Page

JDommi
Administrator

Germany
4653 Posts

Posted - 23 Apr 2011 :  18:23:30  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Well, I never have searched for on imdb... so I can't say anything about your luck.
But despite that you're lucky to have such good ideas!

In order to achieve what is possible, you have to try the impossible over and over again.
Hermann Hesse
Go to Top of Page

Prinz
Senior Member

Germany
1522 Posts

Posted - 23 Apr 2011 :  20:04:48  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
- Added the certifications from c9 field

I didn't add any new certifications (only the images are included in the archive). It's really difficult to make the correct regex for all, especially the first regex for the normal mpaa field.

I don't even know if all of the current work correctly.

http://www.mediafire.com/?417e1p2geivv86c
Go to Top of Page

JDommi
Administrator

Germany
4653 Posts

Posted - 23 Apr 2011 :  20:34:40  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
I only have recognized one little bug:
Movie: 2001 - A space oddyssey
Output: West 12 where the word West is a relict of West Germany
No other mistakes found on german certification. (Tested with my first 30 movies.)

In order to achieve what is possible, you have to try the impossible over and over again.
Hermann Hesse
Go to Top of Page

Prinz
Senior Member

Germany
1522 Posts

Posted - 23 Apr 2011 :  21:00:26  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Not really a bug, since only the search string is removed.

- Added a exception for this special case

http://www.mediafire.com/?0rp8akaq6kqjrsy
Go to Top of Page

JDommi
Administrator

Germany
4653 Posts

Posted - 23 Apr 2011 :  21:06:17  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Great
Maybe I have a little improvement to provide double pics:
compare integer value of "old" and "new" certification and if they are identical then show only one of them.

In order to achieve what is possible, you have to try the impossible over and over again.
Hermann Hesse
Go to Top of Page

Prinz
Senior Member

Germany
1522 Posts

Posted - 23 Apr 2011 :  21:28:06  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
- Small Release Date change

http://www.mediafire.com/?6qzmdjb73o1sv8i
Go to Top of Page

Prinz
Senior Member

Germany
1522 Posts

Posted - 23 Apr 2011 :  21:29:00  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
quote:
Originally posted by JDommi

Great
Maybe I have a little improvement to provide double pics:
compare integer value of "old" and "new" certification and if they are identical then show only one of them.



Don't know what you mean?
Go to Top of Page

JDommi
Administrator

Germany
4653 Posts

Posted - 23 Apr 2011 :  21:34:54  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
ehm... as the user's country is known the date should be reformatted to the country specific format.

In order to achieve what is possible, you have to try the impossible over and over again.
Hermann Hesse
Go to Top of Page

JDommi
Administrator

Germany
4653 Posts

Posted - 23 Apr 2011 :  21:39:03  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
quote:
Originally posted by Prinz
Don't know what you mean?


first certification = FSK 12
second from idmb = 12
==> FSK 12 = 12 ==> show only one of both certs.

In order to achieve what is possible, you have to try the impossible over and over again.
Hermann Hesse
Go to Top of Page

Prinz
Senior Member

Germany
1522 Posts

Posted - 23 Apr 2011 :  21:39:06  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
quote:
Originally posted by JDommi

ehm... as the user's country is known the date should be reformatted to the country specific format.



Look closer. For many Movies/Country's there are more than 1 Date and there is also text in it many times... To parse all this and reformat it...
Go to Top of Page

Prinz
Senior Member

Germany
1522 Posts

Posted - 23 Apr 2011 :  21:41:39  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
quote:
Originally posted by JDommi

first certification = FSK 12
second from idmb = 12
==> FSK 12 = 12 ==> show only one of both certs.



This would only work with German certs and a few others. Many countrys use a combination of numbers and letters or only letters, special chars, ...

Edited by - Prinz on 23 Apr 2011 21:42:25
Go to Top of Page

Prinz
Senior Member

Germany
1522 Posts

Posted - 23 Apr 2011 :  21:50:13  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
I thing i forgot to mention:

Don't forget to look in the Page Preferences
Go to Top of Page

JDommi
Administrator

Germany
4653 Posts

Posted - 23 Apr 2011 :  21:53:29  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
To the dates: okay In my examples I have just seen there were only one date... But isn't it possible by an regexp anyway?
To the certs: you're right, I haven't thought of those rating systems. So it should be compared if both strings are identical or if the integer values are identical.

In order to achieve what is possible, you have to try the impossible over and over again.
Hermann Hesse
Go to Top of Page

JDommi
Administrator

Germany
4653 Posts

Posted - 23 Apr 2011 :  21:56:26  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
I'm bowled over...................

In order to achieve what is possible, you have to try the impossible over and over again.
Hermann Hesse
Go to Top of Page
Page: of 35 Previous Topic Topic Next Topic   Lock Topic Edit Topic Delete Topic New Topic Reply to Topic
Previous Page | Next Page
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
BinaryWorks.it Official Forum © Binaryworks.it Go To Top Of Page
Generated in 0.13 sec. Powered By: Snitz Forums 2000 Version 3.4.07