2017 © Pedro Peláez
 

symfony-bundle hof-plexexport-bundle

This bundle provides an exporter for your Plex media library.

image

devjoghurt/hof-plexexport-bundle

This bundle provides an exporter for your Plex media library.

  • Monday, April 15, 2013
  • by DevJoghurt
  • Repository
  • 1 Watchers
  • 1 Stars
  • 13 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

HofPlexExportBundle

The HofPlexExportBundle exports your Plex media library. My thanks goes to Dachande663 and plakna for their work in Plex-Export, (*1)

Installation

Step 1) Get the bundle and the library

First, grab the HofPlexExportBundle:, (*2)

Using composer (symfony 2.1 pattern)

Add on composer.json (see http://getcomposer.org/), (*3)

"require" :  {
    // ...
    "devjoghurt/hof-plexexport-bundle": "dev-master"
}

Step 2) Register the bundle

To start using the bundle, register it in your Kernel:, (*4)

<?php
// app/AppKernel.php

public function registerBundles()
{
    $bundles = array(
        // ...
        new Hof\PlexExportBundle\HofPlexExportBundle(),
    );
    // ...

Step 3) (optional) Configure the bundle

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)

app/config/config.yml

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)

The Versions

15/04 2013

dev-master

9999999-dev

This bundle provides an exporter for your Plex media library.

  Sources   Download

MIT

The Requires

 

by Johannes Hof

plex