Download the PHP package cwhite92/scene-release-parser-php without Composer

On this page you can find all versions of the php package cwhite92/scene-release-parser-php. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package scene-release-parser-php

Scene Release Parser

Build Status Code Climate Test Coverage

PHP Library parsing a scene release name to retrieve title and tags (original from majestixx/scene-release-parser-php-lib).

The library is made of one class : thcolin\SceneReleaseParser\Release, the constructor will try to extract all the tags from the release name and creates getters for each one, remaining parts will construct the title of the media (movie or tv show).

Installation

Install with composer :

Release Example :

Easiest way to start using the lib is to instantiating a new Release object with a scene release name as first argument, it will retrieve all the tags and the name :

Guess

Unknown informations of a current Release can be guessed :

Analyze

For best results, you can directly analyze a file, the method will use mediainfo :

Bin

Inside bin folder, you got a scene-release-renamer executable, which require a <path> argument (default to current working directory). It will scan <path>, searching for video files (avi, mp4, mkv, mov) and folders to rename (if dirty) with valid generated scene release name. Scene release name will be constructed with current file name and mediainfo parsed informations (if available). If errors comes up, you'll be able to fix them manually.

Usage

Results :

Original Generated
Benjamin Button [x264] [HD 720p] [LUCN] [FR].mp4 Benjamin.Button.FRENCH.720p.HDRip.x264-NOTEAM.mp4
Jamais entre amis (2015) [1080p] MULTI (VFQ-VOA) Bluray x264 AC3-PopHD (Sleeping with Other People).mkv Jamais.Entre.Amis.2015.MULTI.1080p.BLURAY.x264.AC3-PopHD.mkv
La Vie rêvée de Walter Mitty [1080p] MULTi 2013 BluRay x264-Pop (The Secret Life Of Walter Mitty) .mkv La.Vie.Rêvée.De.Walter.Mitty.2013.MULTI.1080p.BLURAY.x264-Pop.mkv
Le Nouveau Stagiaire (2015) The Intern - Multi 1080p - x264 AAC 5.1 - CCATS.mkv Le.Nouveau.Stagiaire.2015.MULTI.1080p.x264-CCATS.mkv
Le prestige (2006) (The Prestige) 720p x264 AAC 5.1 MULTI [NOEX].mkv Le.Prestige.2006.MULTI.720p.x264-NOTEAM.mkv
Les 4 Fantastiques 2015 Truefrench 720p x264 AAC PIXEL.mp4 Les.4.Fantastiques.2015.TRUEFRENCH.720p.x264-NOTEAM.mp4
One.For.the.Money.2012.1080p.HDrip.French.x264 (by kimo).mkv One.For.The.Money.2012.FRENCH.1080p.HDRip.x264-NOTEAM.mkv
Tower Heist [1080p] MULTI 2011 BluRay x264-Pop .Le casse De Central Park. .mkv Tower.Heist.2011.MULTI.1080p.BLURAY.x264-Pop.mkv

Tests

Use PHPUnit, there is a script to generate the json data for the tests in the folder /utils, it will take the release names from the releases.txt file in the same folder. Use it to generate the data needed for the tests, but before testing, make sure all the datas generated are valid, if not this would be useless.

Bugs

Original Generated
The Shawshank Redemption (1994) MULTi (VFQ-VO-VFF) 1080p BluRay x264-PopHD (Les Évadés) The.Shawshank.1994.MULTI.1080p.BLURAY.x264-NOTEAM
La ligne Verte (1999) MULTi-VF2 [1080p] BluRay x264-PopHD (The Green Mile) La.Ligne.1999.MULTI.1080p.BLURAY.x264-PopHD

TODO


All versions of scene-release-parser-php with dependencies

PHP Build Version
Package Version
No informations.
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package cwhite92/scene-release-parser-php contains the following files

Loading the files please wait ....