Skip to content

Releases: thedava/xspf-tools

Release 0.6

05 Jul 18:30
Compare
Choose a tag to compare
Release 0.6 Pre-release
Pre-release

Changelog

Breaking changes

  • Removed clean command
  • Renamed copy command to file:copy
  • Removed update command
  • Dropped PHP5 support

New Features

  • Added Index feature
  • Added Duplicates feature
  • Added batch:concurrent command

Features

Index

An index is a meta file which can be used to create playlist files. Index files store file paths relative (instead of XSPF which stores file paths absolute). This makes it easier to share index files instead of xspf files. You can also store index files on folders that are shared between multiple systems. Every system can create its own playlist file from the exact same index.
Additionally you can create one or more playlists from the same index (You could add all files of a folder to an index and create white- and blacklist based playlists from this index).

Summary

  • File extension: .xdc (Compressed. Takes a lot less disk space)
  • File extension: .xd (Raw text file. Good for debugging)

Duplicates

Various commands for finding duplicate files by comparing checksums of all files within the given location.

Summary

  • Can check index files
  • Can check playlist files
  • Can check file paths

Concurrent Batch Execution

There is a new command for improving the batch file functionality even more. The batch:concurrent command allows multiple Batch files to be processed concurrently. A more detailed description can be found in the wiki

Added white- and blacklist feature for playlist creation

01 May 12:42
Compare
Choose a tag to compare

The create command now supports black and whitelisting.

create [options] [--] <playlist-file> <file-or-folder> (<file-or-folder>)...

Arguments:
  playlist-file              The playlist file that should be created
  file-or-folder             Files and folders that should be added

Options:
  -w, --whitelist=WHITELIST  Whitelisted file patterns (e.g. *.avi) (multiple values allowed)
  -b, --blacklist=BLACKLIST  Blacklisted file patterns (e.g. *.db) [default: ["*.db",".*"]] (multiple values allowed)

Example

Assuming the following files:

  • HomeVideo CD1.avi
  • HomeVideo CD2.avi
  • HomeVideo CD1.jpg
  • HomeVideo CD2.jpg

If you want to create a playlist with all "HomeVideo" video files but without the covers using the new white and blacklist feature, the command would look like this:

php xspf.phar create "HomeVideo.xspf" "./" -w "*HomeVideo*" -b "*.jpg"

Matching Priority

If white and blacklist are given, whitelist will be checked first. If a file matches the whitelist it will checked again against the blacklist.

Changelog

  • Removed static filter for "Thumbs.db" and "*.bak" from Release 0.5.1
  • Added whitelist feature
  • Added blacklist feature

Fixed bug with file name encoding/decoding

27 Feb 17:22
Compare
Choose a tag to compare

There was a bug which caused file name problems if you use the order-command on a playlist which was created by the create-command

Added filter for file names

07 Feb 20:47
Compare
Choose a tag to compare

Added filter for following file patterns:

  • Thumbs.db
  • *.bak

Those files will not be added to a playlist file

Optimized self-update

26 Nov 18:03
Compare
Choose a tag to compare

Self-Update will only update the xspf if a newer version is available

Added self-update

24 Nov 21:37
Compare
Choose a tag to compare
  • Added a self-update command
  • Added a version command

UTF8 Encoding Fix

24 Nov 21:19
Compare
Choose a tag to compare
UTF8 Encoding Fix Pre-release
Pre-release

Fixed a bug that appeared in vlc media player with utf8 chars in file names

Fixed file paths

15 Jul 13:20
Compare
Choose a tag to compare
Fixed file paths Pre-release
Pre-release

VLC had a problem with reading the files that were generated using the create command. This problem should be fixed now.

db9ed7c#diff-6d0825f1a1bbdf38cdbd9f8df554940a

Unstable

21 Feb 19:49
Compare
Choose a tag to compare
Unstable Pre-release
Pre-release

First release of xspf-tools (xspf-order) with symfony/console

Use with care