- August 20, 2007
- 2,159
- 750
- Moderator
- #71
AW: Re : AW: The Future of MyFilms?
I use that already (thought, it's referring to the date field in ANT-DB):
except from MyFilms.xml:
<entry name="AntViewItem2">DateAdded</entry>
<entry name="AntViewText2">Hinzugef├╝gt</entry>
<entry name="AntViewValue2">
</entry>
Thanks for changing that - but could you please add a space in fromt of "Min" - currently it displays:
75Min
I think it is preferrable to have:
75 min
Re Logos: last Update did it - Logos are back!
Did not yet test genrethumbs and backdrops, will do later.
Guzzi
... now did some tests with genre views:
Genre thumbs and Genre fanart is working - tested first for year, genre, country.
Then I tested custom view - actor - wohoooo - it started to create a directory for each actor and had an exception - see log below.
regardless of the exception: having several thousand directories for actors again makes the directory very big - even bigger than the moviefanart directora.
So either there should be subdirectories under "_Group" for "year", "genre", "actor" with the appropriate subdirectories created - or the fanart for a certain view should be all in one directory. Advantage of subdirectories: You could assign individual backdrops for each item - e.g. actor (which makes only sense, if it is pulled automatically via a website...)
So what about a combination of both:
having a directorystructure like this:
<Fanartfolder>\_Group
<Fanartfolder>\_Group\Genre
<Fanartfolder>\_Group\Genre\{action}
or
<Fanartfolder>\_Group\Actor
<Fanartfolder>\_Group\Actor\{John}
With the logic from most specific to less specific: If in the view "actor" view pictures in the directory, if there is no picture, use picture in "actor" directory as fallback/default.
Don't know, if this would be a performace issue - see my post regarding delayed loading of artwork to make this less critical !?
But still it could be several thousand directoryentries - don't know, if this could be a problem.
Further finding:
In an Genre view you don't adapt the logo-files - thus last logos are displayed. You should either show no logos at all - or the matching logos, e.g. when there is "comedy" in the list highlighted, show the apropriate logo according the rule for ID2002.
Here is the log from exception:
2010-03-20 17:14:12.304874 [Info.][MPMain(1)]: MyFilms : andreja.schneider
2010-03-20 17:14:12.320499 [Info.][MPMain(1)]: MyFilms : andrena.fisher
2010-03-20 17:14:12.336123 [Info.][MPMain(1)]: MyFilms : andres.alcala
2010-03-20 17:14:12.351748 [Info.][MPMain(1)]: MyFilms : andr├®s.almeida
2010-03-20 17:14:12.367373 [Info.][MPMain(1)]: MyFilms : andres.aramburu
2010-03-20 17:14:12.382998 [Info.][MPMain(1)]: MyFilms : andres.aybar
2010-03-20 17:14:12.398623 [Info.][MPMain(1)]: MyFilms : andr├®s.azos
2010-03-20 17:14:12.429872 [Info.][MPMain(1)]: MyFilms : andres.bagg
2010-03-20 17:14:12.445497 [Info.][MPMain(1)]: MyFilms : andr├®s.cantor
2010-03-20 17:14:12.461122 [Info.][MPMain(1)]: MyFilms : andr├®s.chinello
2010-03-20 17:14:12.476747 [Info.][MPMain(1)]: MyFilms : andres.fuentes
2010-03-20 17:14:12.492371 [Info.][MPMain(1)]: MyFilms : andr├®s.garc├¡a
2010-03-20 17:14:12.507996 [Info.][MPMain(1)]: MyFilms : andr├®s.garc├¡a.jr.
2010-03-20 17:14:12.523621 [Info.][MPMain(1)]: MyFilms : andr├®s.gasch
2010-03-20 17:14:12.539246 [Info.][MPMain(1)]: MyFilms : andres.geringer
2010-03-20 17:14:12.554871 [Info.][MPMain(1)]: MyFilms : andr├®s.gertrudix
2010-03-20 17:14:12.570495 [Info.][MPMain(1)]: MyFilms : andr├®s.gertr├║dix
2010-03-20 17:14:12.586120 [Info.][MPMain(1)]: MyFilms : andr├®s.herrera
2010-03-20 17:14:12.601745 [Info.][MPMain(1)]: MyFilms : andr├®s.jos├®.cruz.soublette
2010-03-20 17:14:12.617370 [Info.][MPMain(1)]: MyFilms : andr├®s.juste
2010-03-20 17:14:12.632995 [Info.][MPMain(1)]: MyFilms : andr├®s.lima
2010-03-20 17:14:12.648619 [Info.][MPMain(1)]: MyFilms : andres.londono
2010-03-20 17:14:12.664244 [Info.][MPMain(1)]: MyFilms : andr├®s.l├│pez
2010-03-20 17:14:12.695494 [Info.][MPMain(1)]: MyFilms : andr├®s.monales
2010-03-20 17:14:12.711119 [Info.][MPMain(1)]: MyFilms : andr├®s.monreal
2010-03-20 17:14:12.726743 [Info.][MPMain(1)]: MyFilms : andr├®s.montiel
2010-03-20 17:14:12.742368 [Info.][MPMain(1)]: MyFilms : andres.orozco
2010-03-20 17:14:12.757993 [Info.][MPMain(1)]: MyFilms : andr├®s.ortiz
2010-03-20 17:14:12.773618 [Info.][MPMain(1)]: MyFilms : andres.pardave
2010-03-20 17:14:12.789243 [Info.][MPMain(1)]: MyFilms : andr├®s.parra
2010-03-20 17:14:12.804867 [Info.][MPMain(1)]: MyFilms : andres.toro
2010-03-20 17:14:12.820492 [Info.][MPMain(1)]: MyFilms : andres.williams
2010-03-20 17:14:12.836117 [Info.][MPMain(1)]: MyFilms : andreu.buenafuente
2010-03-20 17:14:12.851742 [Info.][MPMain(1)]: MyFilms : andreu.castro
2010-03-20 17:14:12.914241 [Info.][MPMain(1)]: Exception: System.ArgumentException: Illegales Zeichen im Pfad.
bei System.IO.Path.CheckInvalidPathChars(String path)
bei System.IO.Path.NormalizePathFast(String path, Boolean fullCheck)
bei System.IO.Path.NormalizePath(String path, Boolean fullCheck)
bei System.IO.Path.GetFullPathInternal(String path)
bei System.IO.Path.GetFullPath(String path)
bei System.Drawing.IntSecurity.UnsafeGetFullPath(String fileName)
bei System.Drawing.IntSecurity.DemandWriteFileIO(String fileName)
bei System.Drawing.Image.Save(String filename, ImageCodecInfo encoder, EncoderParameters encoderParams)
bei System.Drawing.Image.Save(String filename, ImageFormat format)
bei System.Drawing.Image.Save(String filename)
bei MesFilms.ImageFast.CreateImage(String path, String texte)
bei MesFilms.MesFilms.getSelectFromDivx(String WstrSelect, String WStrSort, String WStrSortSens, String NewWstar, Boolean ClearIndex, String SelItem)
bei MesFilms.MesFilms.Change_view(String choiceView)
bei MesFilms.MesFilms.Selection_type_Video()
bei MesFilms.MesFilms.OnMessage(GUIMessage messageType)
bei MediaPortal.GUI.Library.GUIWindowManager.SendMessage(GUIMessage message)
2010-03-20 17:14:12.945491 [Debug][MPMain(1)]: MyFilms: OnAction ACTION_MOVE_RIGHT
in this view, the list also stops at that "invalid character" - and the #nbobjects is not properly updated - might be caused by the exception, because the latter worked in old version.
Guzzi
PS: The issues with actor view are not critical imho - I don't use it anyway, because it's too big - instead I use the "search by actor", that works much better - but just wanted to let you know, because the mechanisms might apply to others too
Try to use the DateAdded Item instead Date.Hi Zebons,
one more thing that came up since long time - and maybe there is a fix possible:
The ANT-DB-Field "date" only has a date included, e.g. Date="03.03.2008"
If I add this field as a custom property (e.g. item1), in the skin it is displayed "03.03.2008 00:00:00"
Is there ny possibility to only display the date, not the time? Or can this be changed in the skin or other settings?
Thanks, Guzzi
I use that already (thought, it's referring to the date field in ANT-DB):
except from MyFilms.xml:
<entry name="AntViewItem2">DateAdded</entry>
<entry name="AntViewText2">Hinzugef├╝gt</entry>
<entry name="AntViewValue2">
</entry>
Zitat:
Second: the runtime is hardcoded in the plugin to display "mn" - could this either be defined in the languagefile or changed to " min"?
I'll take a look on
Thanks for changing that - but could you please add a space in fromt of "Min" - currently it displays:
75Min
I think it is preferrable to have:
75 min
Re Logos: last Update did it - Logos are back!
Did not yet test genrethumbs and backdrops, will do later.
Guzzi
... now did some tests with genre views:
Genre thumbs and Genre fanart is working - tested first for year, genre, country.
Then I tested custom view - actor - wohoooo - it started to create a directory for each actor and had an exception - see log below.
regardless of the exception: having several thousand directories for actors again makes the directory very big - even bigger than the moviefanart directora.
So either there should be subdirectories under "_Group" for "year", "genre", "actor" with the appropriate subdirectories created - or the fanart for a certain view should be all in one directory. Advantage of subdirectories: You could assign individual backdrops for each item - e.g. actor (which makes only sense, if it is pulled automatically via a website...)
So what about a combination of both:
having a directorystructure like this:
<Fanartfolder>\_Group
<Fanartfolder>\_Group\Genre
<Fanartfolder>\_Group\Genre\{action}
or
<Fanartfolder>\_Group\Actor
<Fanartfolder>\_Group\Actor\{John}
With the logic from most specific to less specific: If in the view "actor" view pictures in the directory, if there is no picture, use picture in "actor" directory as fallback/default.
Don't know, if this would be a performace issue - see my post regarding delayed loading of artwork to make this less critical !?
But still it could be several thousand directoryentries - don't know, if this could be a problem.
Further finding:
In an Genre view you don't adapt the logo-files - thus last logos are displayed. You should either show no logos at all - or the matching logos, e.g. when there is "comedy" in the list highlighted, show the apropriate logo according the rule for ID2002.
Here is the log from exception:
2010-03-20 17:14:12.304874 [Info.][MPMain(1)]: MyFilms : andreja.schneider
2010-03-20 17:14:12.320499 [Info.][MPMain(1)]: MyFilms : andrena.fisher
2010-03-20 17:14:12.336123 [Info.][MPMain(1)]: MyFilms : andres.alcala
2010-03-20 17:14:12.351748 [Info.][MPMain(1)]: MyFilms : andr├®s.almeida
2010-03-20 17:14:12.367373 [Info.][MPMain(1)]: MyFilms : andres.aramburu
2010-03-20 17:14:12.382998 [Info.][MPMain(1)]: MyFilms : andres.aybar
2010-03-20 17:14:12.398623 [Info.][MPMain(1)]: MyFilms : andr├®s.azos
2010-03-20 17:14:12.429872 [Info.][MPMain(1)]: MyFilms : andres.bagg
2010-03-20 17:14:12.445497 [Info.][MPMain(1)]: MyFilms : andr├®s.cantor
2010-03-20 17:14:12.461122 [Info.][MPMain(1)]: MyFilms : andr├®s.chinello
2010-03-20 17:14:12.476747 [Info.][MPMain(1)]: MyFilms : andres.fuentes
2010-03-20 17:14:12.492371 [Info.][MPMain(1)]: MyFilms : andr├®s.garc├¡a
2010-03-20 17:14:12.507996 [Info.][MPMain(1)]: MyFilms : andr├®s.garc├¡a.jr.
2010-03-20 17:14:12.523621 [Info.][MPMain(1)]: MyFilms : andr├®s.gasch
2010-03-20 17:14:12.539246 [Info.][MPMain(1)]: MyFilms : andres.geringer
2010-03-20 17:14:12.554871 [Info.][MPMain(1)]: MyFilms : andr├®s.gertrudix
2010-03-20 17:14:12.570495 [Info.][MPMain(1)]: MyFilms : andr├®s.gertr├║dix
2010-03-20 17:14:12.586120 [Info.][MPMain(1)]: MyFilms : andr├®s.herrera
2010-03-20 17:14:12.601745 [Info.][MPMain(1)]: MyFilms : andr├®s.jos├®.cruz.soublette
2010-03-20 17:14:12.617370 [Info.][MPMain(1)]: MyFilms : andr├®s.juste
2010-03-20 17:14:12.632995 [Info.][MPMain(1)]: MyFilms : andr├®s.lima
2010-03-20 17:14:12.648619 [Info.][MPMain(1)]: MyFilms : andres.londono
2010-03-20 17:14:12.664244 [Info.][MPMain(1)]: MyFilms : andr├®s.l├│pez
2010-03-20 17:14:12.695494 [Info.][MPMain(1)]: MyFilms : andr├®s.monales
2010-03-20 17:14:12.711119 [Info.][MPMain(1)]: MyFilms : andr├®s.monreal
2010-03-20 17:14:12.726743 [Info.][MPMain(1)]: MyFilms : andr├®s.montiel
2010-03-20 17:14:12.742368 [Info.][MPMain(1)]: MyFilms : andres.orozco
2010-03-20 17:14:12.757993 [Info.][MPMain(1)]: MyFilms : andr├®s.ortiz
2010-03-20 17:14:12.773618 [Info.][MPMain(1)]: MyFilms : andres.pardave
2010-03-20 17:14:12.789243 [Info.][MPMain(1)]: MyFilms : andr├®s.parra
2010-03-20 17:14:12.804867 [Info.][MPMain(1)]: MyFilms : andres.toro
2010-03-20 17:14:12.820492 [Info.][MPMain(1)]: MyFilms : andres.williams
2010-03-20 17:14:12.836117 [Info.][MPMain(1)]: MyFilms : andreu.buenafuente
2010-03-20 17:14:12.851742 [Info.][MPMain(1)]: MyFilms : andreu.castro
2010-03-20 17:14:12.914241 [Info.][MPMain(1)]: Exception: System.ArgumentException: Illegales Zeichen im Pfad.
bei System.IO.Path.CheckInvalidPathChars(String path)
bei System.IO.Path.NormalizePathFast(String path, Boolean fullCheck)
bei System.IO.Path.NormalizePath(String path, Boolean fullCheck)
bei System.IO.Path.GetFullPathInternal(String path)
bei System.IO.Path.GetFullPath(String path)
bei System.Drawing.IntSecurity.UnsafeGetFullPath(String fileName)
bei System.Drawing.IntSecurity.DemandWriteFileIO(String fileName)
bei System.Drawing.Image.Save(String filename, ImageCodecInfo encoder, EncoderParameters encoderParams)
bei System.Drawing.Image.Save(String filename, ImageFormat format)
bei System.Drawing.Image.Save(String filename)
bei MesFilms.ImageFast.CreateImage(String path, String texte)
bei MesFilms.MesFilms.getSelectFromDivx(String WstrSelect, String WStrSort, String WStrSortSens, String NewWstar, Boolean ClearIndex, String SelItem)
bei MesFilms.MesFilms.Change_view(String choiceView)
bei MesFilms.MesFilms.Selection_type_Video()
bei MesFilms.MesFilms.OnMessage(GUIMessage messageType)
bei MediaPortal.GUI.Library.GUIWindowManager.SendMessage(GUIMessage message)
2010-03-20 17:14:12.945491 [Debug][MPMain(1)]: MyFilms: OnAction ACTION_MOVE_RIGHT
in this view, the list also stops at that "invalid character" - and the #nbobjects is not properly updated - might be caused by the exception, because the latter worked in old version.
Guzzi
PS: The issues with actor view are not critical imho - I don't use it anyway, because it's too big - instead I use the "search by actor", that works much better - but just wanted to let you know, because the mechanisms might apply to others too
Hungary