freevo/freevo1 — pull request #7 by murbaniak (2012-05-23 07:26:21+00:00)
Title: New Subtitles and Archive plugins and xrandr refresh rate handling for mplayer

Hi,

I have created 2 new plugins, Subtitle download from opensubtitles.org and napirojekt.pl and the Archive handling plugin. Archive plugin reads various archives, zips, tars and rars, extract the contents to either system's temp or Freevo's OVERLAY_DIR and allows Freevo to browse them like a normal directory. Extremely useful to read popular comics files (cbz and cbr) as well as zipped or tared music albums etc. As a side effect I have rewritten an image viewer to handle zooming of the images. Existing implementation did not work well (well, frankly it was very broken). Now you can zoom in to either best fir (image width) or 9 levels of zoom, utilising whole available osd width and height. I have also added a code to set the monitor's refresh rate based on the video's fps. This is extremely useful for new LED TV panels, which are fast and produce a visible judder and tearing when the video's fps is 23.976 and the monitor's refresh rate is 50 or 60 Hz for example. Now Freevo will set it to 23.976 for movie playback and restore it to previous rate upon completion of playback. This is done with python xrandr package. I have added it to the contrib directory as this project seems to be abandoned for some time now. The code works flawlessly though. I have disabled it by default just in case it might cause some problems for some. The plugins are enabled though.

Regards,
Maciej