Invalid Character for movie number at position 0.... (1 Viewer)

poopa

Portal Member
July 10, 2006
12
0
I'm getting this error for some reason. even when my and xml contains only 1 movie.
im using the latest stable version of both mediaportal and myfilms.

Please help me.
 

poopa

Portal Member
July 10, 2006
12
0
Found the problem.
Im using Date format dd/MM/yyyy
I had to change to MM/dd/yyyy ...
any way to change the plugin so there is no need?
 

zebons

Portal Pro
January 2, 2006
1,484
114
Found the problem.
Im using Date format dd/MM/yyyy
I had to change to MM/dd/yyyy ...
any way to change the plugin so there is no need?
Can you explain more ?
Your Date fields in your DB database must be in the same format than your local windows date format settings...
Can you give your local date windows settings ans the date format in the ANT DB when it was wrong ?
 

scythelt

Portal Pro
December 19, 2006
138
1
Home Country
I get this error too incidentally...

Can't import a dvdprofiler database or ant sample xml file.
 

poopa

Portal Member
July 10, 2006
12
0
My windows date format was day/month/year
so in the TDateTime box of 'Date Added' field in ANT it showed something like 17/06/07 and this is how it was exported to the xml.
I'm guessing the XML importer of myFilms plugins assumes that date format is month/day/year and so it throws an error when trying to import 17 as a month since there are only 12 of those a year...
the obvious solution is to have myFilms plugin read the date format that is set in windows and import accordingly.
 

zebons

Portal Pro
January 2, 2006
1,484
114
My windows date format was day/month/year
so in the TDateTime box of 'Date Added' field in ANT it showed something like 17/06/07 and this is how it was exported to the xml.
I'm guessing the XML importer of myFilms plugins assumes that date format is month/day/year and so it throws an error when trying to import 17 as a month since there are only 12 of those a year...
the obvious solution is to have myFilms plugin read the date format that is set in windows and import accordingly.
It's already the case...
The plugin use the standard c# function base on your XP settings :
DateAdded = convert(Date, 'System.DateTime')
You have to define your regionals setting of your windows to the right date format you use... -configuration panel->regional settings (???) and choose the correct settings (English (US)) in your case and it'd work...
 

Users who are viewing this thread

Similar threads

I've updated dlls in first post. Fixes: Summary / Overview was always empty Collections were not filtered to official ones Studios were not populated Fallback to english tagline didn't work Score / Popularity now empty instead of dummy rating and unknown popularity numbers Also I've tried to compile plugin against MP 1.34 x64 and...
I've updated dlls in first post. Fixes: Summary / Overview was always empty Collections were not filtered to official ones Studios...
Hi! TheTVDB.com has movies in their API now. API itself looks ok now so I decided to add TVDB to Moving Pictures. Check it if you...
Replies
2
Views
901
So far I needed to limit the media items to respect the token limit of ChatGPT. Now the complete media items can be used, because the movie list is splitted into chunks of a specified size and responses for each chunk are concentrated into the result list :) private async Task<string> GenerateResponseWithGPT(string searchQuery...
So far I needed to limit the media items to respect the token limit of ChatGPT. Now the complete media items can be used, because...
Hi, I'm planning to write a plugin for MediaPortal 2, that supports users to find the right media items with help of AI...
Replies
6
Views
1K
@Brownard another logs of failed installations. I'll take a look into the user management. Edit: I can confirm user management is completey broken with NET4 and NET6 :( Neither an existing profile can be selected nor a new one can be created.
@Brownard another logs of failed installations. I'll take a look into the user management. Edit: I can confirm user management is...
Description: Hi there. First of all, I appreciate all the effort in MediaPortal 2 release 2.5 - visible changes look great (eg...
Replies
1
Views
1K
Concerning the HDHomerun Expand. This has 4 tuners, and is DVB-C It has, of course, latest software from Silicondust already installed, version name 20230713. BDA compatibility mode is set to MediaPortal. Advanced --- BDA driver set to InjectCVCT plus automatically select from tuners recommended.
Concerning the HDHomerun Expand. This has 4 tuners, and is DVB-C It has, of course, latest software from Silicondust already...
I have set up MP1 .34 on Win 11 Pro. I have a HDHomerun Expand DVB-C tuner, which I have used for about 10 years. Until about 2021...
Replies
13
Views
2K
When attempting to play live TV from a Client Only install of Media Portal back to my Media Portal Server I get an error of "There is no player registered to play media item stream X.Y". I've tried version 2.4.1 and 2.5. I've also tried setting a static IP on both the client and the server. In 2.5 I get this error in the logs...
When attempting to play live TV from a Client Only install of Media Portal back to my Media Portal Server I get an error of "There...
When attempting to play live TV from a Client Only install of Media Portal back to my Media Portal Server I get an error of "There...
Replies
0
Views
653
Top Bottom