Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

plot and outline aren't splitted to the length setted by movie.plot.maxlength and movie.outline.maxlength #2627

Closed
Omertron opened this issue Mar 16, 2015 · 3 comments

Comments

@Omertron
Copy link
Member

Original issue 2628 created by Omertron on 2013-03-15T06:20:25.000Z:

with R3657 (and R3639 , perhaps earlier) the new parameter
movie.plot.maxlength = 30
movie.outline.maxlength = 30

are not available ,plot and outline aren't splitted to the length specified in moviejukebox.properties

tested with allocine and theMovieDB=fr
tested with
movie.plot.maxlength = 2000 and 30
movie.outline.maxlength = 2000 and 30
with the same result

extract of the xml with these parameters

<plot source="THEMOVIEDB">Shrek, un ogre verdâtre, cynique et malicieux, a élu domicile dans un marécage qu'il croit être un havre de paix. Un matin, alors qu'il sort faire sa toilette, il découvre de petites créatures agaçantes qui errent dans son marais.Shrek se rend alors au château du seigneur Lord Farquaad, qui aurait soit-disant expulsé ces êtres de son royaume. Ce dernier souhaite épouser la princesse Fiona, mais celle-ci est retenue prisonnière par un abominable dragon.Il lui faut un chevalier assez brave...</plot>
<outline source="THEMOVIEDB">Shrek, un ogre verdâtre, cynique et malicieux, a élu domicile dans un marécage qu'il croit être un havre de paix. Un matin, alors qu'il sort faire sa toilette, il découvre de petites créatures agaçantes qui errent dans son marais.Shrek se rend alors au château du seigneur Lord Farquaad, qui...</outline>

@Omertron
Copy link
Member Author

Comment #1 originally posted by Omertron on 2013-03-15T09:21:47.000Z:

Seems to be a type in your properties.

You use:
movie.plot.maxlength
instead
movie.plot.maxLength

Difference is the big L in maxLength,
cause the properties are case-sensitive.
So if you use "movie.plot.maxlength", then this is not
recognized and the default of 500 characters will be used.

Another approach:
In your skin.properties or skin-user.properties there is
still the old setting "plugin.plot.maxLength" (or something like that).
You should then see a warning in your log file, that the setting has changed.

@Omertron
Copy link
Member Author

Comment #2 originally posted by Omertron on 2013-03-15T17:29:31.000Z:

you're right it's a problem with maxLength
you could close the issue - my bad

@Omertron
Copy link
Member Author

Comment #3 originally posted by Omertron on 2013-03-15T20:02:57.000Z:

<empty>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant