jonniek / mpv-playlistmanager

Mpv lua script to create and manage playlists
The Unlicense
537 stars 42 forks source link

support padding on all alignments, fix #87 #134

Closed verygoodlee closed 9 months ago

verygoodlee commented 9 months ago

style_ass_tags={\q2\fs50} text_padding_x=100 text_padding_y=100

  1. left-bottom image
  2. center-bottom image
  3. right-bottom image
  4. left-center image
  5. center-center image
  6. right-center image
  7. left-top image
  8. center-top image
  9. right-top image

For center alignments I don't think padding should apply since direction is not clear.

That's true.

I think ASS tag \an7 shoud add to the recommended style, override the default osd alignment in mpv.conf, forced left-top, other alignments feels a little jarring, especially x center or right, long filenames are display badly, the symbols on the left are out of window.

jonniek commented 9 months ago

I think ASS tag \an7 shoud add to the recommended style

I also think this is a good idea. I think last time someone had an issue with how the playlist rendered when using different alignments, but I didn't know ass could override the mpv alignment. So using the \an7 tag would have probably solved the issue for that user.