dev-master
9999999-devThis bundle provides an exporter for your Plex media library.
MIT
The Requires
by HofStation
by Johannes Hof
plex
This bundle provides an exporter for your Plex media library.
The HofPlexExportBundle
exports your Plex media library.
My thanks goes to Dachande663 and plakna for their work in Plex-Export, (*1)
First, grab the HofPlexExportBundle:, (*2)
Add on composer.json (see http://getcomposer.org/), (*3)
"require" : { // ... "devjoghurt/hof-plexexport-bundle": "dev-master" }
To start using the bundle, register it in your Kernel:, (*4)
<?php // app/AppKernel.php public function registerBundles() { $bundles = array( // ... new Hof\PlexExportBundle\HofPlexExportBundle(), ); // ...
The bundle comes with a sensible default configuration, which is listed below. If you skip this step, these defaults will be used., (*5)
``` yaml, (*6)
hof_plex_export: config: plex_url: "http://localhost:32400" data_dir: "%kernel.root_dir%/../web/bundles/hofplexexport/media" img_path: "../bundles/hofplexexport/media" thumbnail_width: 150 thumbnail_height: 250 sections: "all" sort_skip_words: "a,the,der,die,das" template: "HofPlexExportBundle:PlexExport:plex_movies.html.twig", (*7)
# Render your view ``` jinja {{ plex_export() }}
If you want to add options or change your template, you can do something like this:, (*8)
jinja
{{ plex_export("HofWebsiteBundle:Movies:plex_movies.html.twig",{"stylesheets":false}) }}
, (*9)
This bundle provides an exporter for your Plex media library.
MIT
plex