About the implementation, it was actually much easier than I thought. The osx mdfind does all the work, there was no need to manually parse anything.
Check it out: https://github.com/glebb/pms-osx-smartfolder
NFO 2012-05-27 22:10:29.242 [New I/O server worker #1-12] Starting transcode/remux of Blade.Runner.1982.FiNAL.CUT.720p.HDDVD.x264-SiNNERS.mkv
INFO 2012-05-27 22:10:29.244 [New I/O server worker #1-12] The video will not play or show a black screen on the ps3...
ERROR 2012-05-27 22:10:34.863 [New I/O server worker #1-12] There is no inputstream to return for Blade.Runner.1982.FiNAL.CUT.720p.HDDVD.x264-SiNNERS.mkv [tsMuxeR]
WARN 2012-05-27 22:10:39.234 [Process Destroyer] Sending kill -14 to the Unix process: 89710taconaut wrote:pms hasn't been set up to load plugins contained in the external libraries when debugging. This will be added when pms-mlx gets merged into pms.
If you want to debug the plugin you have to do this:
As the relative path of the plugins directory isn't the same when running from eclipse or when packaged, you have to load the plugins dir from a properites file (click) and configure the version in a properties file to run from eclipse (click) and when packaged (click). Then you can put the plugins into /src/main/external-resources/plugins.
If you need a running example, check out pms-mlx and pms-plugins in my github repo, load all projects contained in these two repos into eclipse. When running pms, you'll be able to set a break point in the plugins and debug them.
Users browsing this forum: No registered users and 0 guests