(original thread) MyFilms v3.1 - Use an ANT Movie Database (AMC) in MP (2 Viewers)

Status
Not open for further replies.

zebons

Portal Pro
January 2, 2006
1,484
114
Hi Morten,
I'm currently writing a new version with functionnalities asked by differents users. As soon as this new version will be stable, i'll upload with sources to your download section as asked.
/zebons
 

gabbe

Portal Pro
August 8, 2004
58
1
Sweden
zebons, I think You missed something in my post. You should NOT scan the whole hdd, only the dvd-rom specified by the user in the setup if the path is empty in ANT-db. It can only can be one video_ts.ifo file if its a DVD. And if its only one movie on the dvd it must be that! If >one, let user choose from them in a list.
But I understand that I can be the only one that want this functionallity :p
I have planned to update my Ant-db with some info and I can update it with pathes also.
Thanks for a nice plugin /gabbe
 

Fidoboy

Portal Pro
April 27, 2006
216
0
Spain
Error reding ANT database

When i use the plugin, i get this message:

"Invalid XML character after enreg. 374..."

What in the hell is this?? :lol:

And a few questions:

- I'm using sking Blue Two, how can i modify font size ONLY for some fields in this plugin (like secondary title and cast)??

- I don't know the function of this feature in the config of MesFilms Setup: ANT UPDATING ITEMS

- The stars used for rating is based in 1 (poor) and 5 (excelent)?? Currently my valoration in movies is based in 1 - 10. Can u add a new feature to customize this? (I think that it's very simple to implement)

- I'm using the checkbox in ANT to know what films i've already watched and what i've not watched, it's possible to filter using this field from MesFilms??

Thanks in advance, and congratulations for this wonderful plugin...
 

bruno

New Member
April 22, 2006
2
0
Hmmm.. Can't open films plugin..

Hi

I'm a newbie to MP.. I think it sounds like a really good plugin, however I'm having some problems..

No problem with the plugin config etc but when I try to access the Films plugin within MP nothing happens...

The log seems to say:
22:52:11 WindowManager:Unable to initialize window:7986 There is no row at position -1. System.Data at System.Data.RBTree`1.GetNodeByIndex(Int32 userIndex)
at System.Data.DataRowCollection.get_Item(Int32 index)
at MesFilms.AntMovieCatalog.MovieDataTable.get_Item(Int32 index)
at MesFilms.MesFilms.OnMessage(GUIMessage messageType)
at MediaPortal.GUI.Library.GUIWindowManager.ActivateWindow(Int32 iWindowID, Boolean bReplaceWindow)

Anyone have any idea about this? I'm using the project X skin and have put all the files in (skin + plugin)`.

Thanks in advance,
B
 

gabbe

Portal Pro
August 8, 2004
58
1
Sweden
Tool for file, disc and codecs info into AMC database

Hi,
I have made a tool to add some valued info into a AMC.xml database. My tool can add following int a AMC database (from reading the "offline" source disc):
DiscLabel1, DiscLabelAll, MovieName, DiscID1 DiscIDAll ,DiscVolName1,
DiscVolNameAll, FileName1 (full path for first file),
FileNameAll, FileSizeTot, FileSizeAll,
DiscCount,FileCount,
VideoFormat, VideoBitrate,
AudioFormat, AudioChannelCount, AudioBitRate, AudioBitrateType (CBR or VBR),
PAL or NTSC, MediaType (DVD, SVCD, VCD, AVI etc),
Width, Height, Framerate, AspectRatio
look at http://web.comhem.se/~u37801043/mfi.htm
 

zebons

Portal Pro
January 2, 2006
1,484
114
fidoboy wrote :
When i use the plugin, i get this message:
"Invalid XML character after enreg. 374..."
What in the hell is this?? Laughing
I see that you use the new version (v2.2.2) :lol:. With this one, I had a new control. Some users (and the message show that you are one of them) have problems with invalid characters in their database. With the prior version they cann't see anything with the Films plugin. Now they got the message and they can search where is the problem. In your case, the invalid character is after your 374 enreg. So , take a look with the AMC software for the few next enregs (after the number 374) and you should find the problem :)
- I'm using sking Blue Two, how can i modify font size ONLY for some fields in this plugin (like secondary title and cast)??
You can modify the skin wih an editor and modify (or add) a font description for the desired label. For example search the control #Otitle for the secondary Title and add a line with the font size desired like :
<font>font10</font>
- The stars used for rating is based in 1 (poor) and 5 (excelent)?? Currently my valoration in movies is based in 1 - 10. Can u add a new feature to customize this? (I think that it's very simple to implement)
The stars are based on a 1-10 cotation (1 star evry 2 points..)
I'm using the checkbox in ANT to know what films i've already watched and what i've not watched, it's possible to filter using this field from MesFilms??
You have two solutions :
If you never want to see the films that you have already watched, you can filter those enreg with setup : ANT Filtered enregs with Cheked true
Second solution define a specific view with Ant Supplementary View with Checked ans a label like Watched/Not Watched. With that solution, you can see a specific view and select the Watched or Not Watched films :lol:
I don't know the function of this feature in the config of MesFilms Setup: ANT UPDATING ITEMS
With that feature, you can update some items of your ANT database directly in MP. By default, you can only modify the rating but here, you can add two supplementaries items (for example the item Checked - watched/not watched - usefull in your case :wink:)? With the item, you can add a label and a default value so you haven't to type on the virtuel keyboard with your telco if you don't have to change it ... You also have to create an entry in your string.xml language file to see the button on the detailed view :
<string>
<id>79861</id>
<value>Update</value>
</string>

I'll ask to the development team to add that value in the standard file for the future 8)
 

zebons

Portal Pro
January 2, 2006
1,484
114
No problem with the plugin config etc but when I try to access the Films plugin within MP nothing happens...

The log seems to say:
22:52:11 WindowManager:Unable to initialize window:7986 There is no row at position -1. System.Data at System.Data.RBTree`1.GetNodeByIndex(Int32 userIndex)
at System.Data.DataRowCollection.get_Item(Int32 index)
at MesFilms.AntMovieCatalog.MovieDataTable.get_Item(Int32 index)
at MesFilms.MesFilms.OnMessage(GUIMessage messageType)
at MediaPortal.GUI.Library.GUIWindowManager.ActivateWindow(Int32 iWindowID, Boolean bReplaceWindow)
What version do you use ?
On the french forum I upload a new version (v2.2.1) with some enforced controls. http://www.mp-fr.com/forums/index.php?showtopic=2431&pid=16527&st=0&#entry16527
I think that you have some invalid characters in your database and the XMLReader cann't read it. With the new version, you'll get an error message like fidoboy and you can more easely identify the problem.
Be carefull, with the new version if you are using a MP release < RC4, you must use the MesFilms.dll.RC3 and rename it as MesFilms.dll. If you are using an RC4 version, you use the MesFilms.dll directly.
You also have to create an entry in your string.xml file (in you languages directory) for the label of a button :
<string>
<id>79861</id>
<value>Update</value>
</string>

Good luck :)
 

Fidoboy

Portal Pro
April 27, 2006
216
0
Spain
:D Zebons, you are great! I've solved almost everything, but i don't undestand very well the part about Filtered enreg, i select in the drop down list box the field Checked, but what must i put in the text box to the right? And about the Ant updating items i don't know how to put the string value ...
 

zebons

Portal Pro
January 2, 2006
1,484
114
i don't undestand very well the part about Filtered enreg, i select in the drop down list box the field Checked, but what must i put in the text box to the right? And about the Ant updating items i don't know how to put the string value ...
Checked is a boolean value so you have to put in the text box of the corresponding filtered enreg the value true or false. If you don't want to see the watched enreg, put here the value 'true'. So you got only the enreg with values 'false' in the plugin display (true are filtered) :)
You can use the aster '*' convention here to filter some enregs. For ex in my database I have some films on 2 ou 3 CD but I only want to see the first one. So I put a character '²' at the end of the Title for the second or third CD and filter with : TranslatedTitle and in the corresponding Text box value '*²'. Is that clear ? :?
For the updating items, you have three box (a drop down list box and two text box). If you have only one text box, it's not the latest version, get it on the french forumhttp://www.mp-fr.com/forums/index.php?showtopic=2431&pid=16527&st=0&#entry16527
In the Frop down list, select the item that you want to manage (update) thru MP. In the first text box on the right, put a label (the items values are often understanding and the label not very clear..) and in the latest text box put the default value.
For ex if you want to manage the Checked item put :
Checked Watched/Not Watched true

That's all 8) :lol:
 
Status
Not open for further replies.

Users who are viewing this thread

Top Bottom