Solved Export not working after Java 7 NIO refactor - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33) +--- Forum: Supplementary Tools for Kodi (https://forum.kodi.tv/forumdisplay.php?fid=116) +---- Forum: TinyMediaManager (https://forum.kodi.tv/forumdisplay.php?fid=204) +---- Thread: Solved Export not working after Java 7 NIO refactor (/showthread.php?tid=280139) |
Export not working after Java 7 NIO refactor - alainmailing - 2016-06-18 Hello, It's now not possible to export movies. After checking code source, I've find at least one issue in MediaEntityExporter: Code: protected MediaEntityExporter(Path templatePath, TemplateType type) throws Exception { instead of Code: protected MediaEntityExporter(String pathToTemplate, TemplateType type) throws Exception { My 2 cents. Have a nice day Alain RE: Export not working after Java 7 NIO refactor - myron - 2016-06-18 Interestingly, the Files.isDirectory(templatePath) returns false, although it is pretty existent here?!? Have to check... thx for pointing that out RE: Export not working after Java 7 NIO refactor - alainmailing - 2016-06-18 You're welcome RE: Export not working after Java 7 NIO refactor - mlaggner - 2016-06-29 thanks for pointing that out. There were two other problems in the NIO refactor. will be fixed in the next version RE: Export not working after Java 7 NIO refactor - alainmailing - 2016-06-29 You're welcome. That's a great news! Thanks for your efforts :o) RE: Export not working after Java 7 NIO refactor - alainmailing - 2016-06-29 Well, I've tried tmm_2.8.1-SNAPSHOT_c402cd4, but i've still errors (o.t.u.movies.dialogs.MovieExporterDialog:181 - Error exporting movies: null), with standard templates (for example DetailExample2Html). Moreover, the "copyArtwork" function seems to be disabled (http://www.tinymediamanager.org/blog/export-images-with-the-movietv-show-exporter/), because no images are created when I use it.... Maybe 2.8.1-SNAPSHOT_c402cd4 doesn't contain these fixes? RE: Export not working after Java 7 NIO refactor - mlaggner - 2016-06-29 the fixed build is available tomorrow RE: Export not working after Java 7 NIO refactor - alainmailing - 2016-07-02 Ok thanks, it works now. Seems that templates have changed for exporting images, but there are working examples. Thanks a lot. Have a nice week-end. |