From a394401d319b73bb1bab00124cf38ba03ec95262 Mon Sep 17 00:00:00 2001 From: tdb Date: Sun, 29 Jun 2008 21:59:50 +0000 Subject: This plugin looks at the songs before and after the current song in the playlist and determines whether an album is playing or if random tracks are playing. After that determination, it sets the player's transition behaviour (crossfade, fade, etc) appropriately. The transition behaviour for the album/random/default cases can be changed by modifying the values of the four global variables at the top of Transitions.pm. There is also a user configurable section for excluding specific genres from being processed for album/random detection. In these cases, the 'default' transition preference will be used (not in v1.5). WWW: http://www.sutula.us/james/slimserver/ --- audio/Makefile | 1 + audio/squeezecenter-transitionupdater/Makefile | 32 +++++++++++++++++++++++++ audio/squeezecenter-transitionupdater/distinfo | 3 +++ audio/squeezecenter-transitionupdater/pkg-descr | 12 ++++++++++ audio/squeezecenter-transitionupdater/pkg-plist | 13 ++++++++++ 5 files changed, 61 insertions(+) create mode 100644 audio/squeezecenter-transitionupdater/Makefile create mode 100644 audio/squeezecenter-transitionupdater/distinfo create mode 100644 audio/squeezecenter-transitionupdater/pkg-descr create mode 100644 audio/squeezecenter-transitionupdater/pkg-plist diff --git a/audio/Makefile b/audio/Makefile index 0d846416905..9e78dcc412d 100644 --- a/audio/Makefile +++ b/audio/Makefile @@ -644,6 +644,7 @@ SUBDIR += squeezecenter-lazysearch SUBDIR += squeezecenter-superdatetime SUBDIR += squeezecenter-trackstat + SUBDIR += squeezecenter-transitionupdater SUBDIR += streamripper SUBDIR += streamtranscoder SUBDIR += streamtuner diff --git a/audio/squeezecenter-transitionupdater/Makefile b/audio/squeezecenter-transitionupdater/Makefile new file mode 100644 index 00000000000..94a4f72e6f4 --- /dev/null +++ b/audio/squeezecenter-transitionupdater/Makefile @@ -0,0 +1,32 @@ +# New ports collection makefile for: squeezecenter-transitionupdater +# Date created: 21 June 2008 +# Whom: Tim Bishop +# +# $FreeBSD$ +# + +PORTNAME= transitionupdater +PORTVERSION= 1.5 +CATEGORIES= audio +MASTER_SITES= http://www.sutula.us/james/slimserver/${PORTNAME}_${PORTVERSION}/ +PKGNAMEPREFIX= squeezecenter- +DISTNAME= TransitionUpdater${PORTVERSION} +DIST_SUBDIR= squeezecenter + +MAINTAINER= tdb@FreeBSD.org +COMMENT= SqueezeCenter plugin for determining transitions between tracks + +RUN_DEPENDS= softsqueeze:${PORTSDIR}/audio/squeezecenter + +USE_ZIP= yes +NO_WRKSUBDIR= yes +NO_BUILD= yes + +SLIMDIR?= squeezecenter +PLIST_SUB+= SLIMDIR=${SLIMDIR} + +do-install: + ${MKDIR} ${PREFIX}/${SLIMDIR}/Plugins/TransitionUpdater + ${CP} -R ${WRKSRC}/TransitionUpdater/* ${PREFIX}/${SLIMDIR}/Plugins/TransitionUpdater + +.include diff --git a/audio/squeezecenter-transitionupdater/distinfo b/audio/squeezecenter-transitionupdater/distinfo new file mode 100644 index 00000000000..684226a1b3d --- /dev/null +++ b/audio/squeezecenter-transitionupdater/distinfo @@ -0,0 +1,3 @@ +MD5 (squeezecenter/TransitionUpdater1.5.zip) = e532af37ddd8fe5c5c8118e67c3e0d2c +SHA256 (squeezecenter/TransitionUpdater1.5.zip) = 27c0345351fa6019d4b54c7b2c31f60272f808ae9feb212ecff77d8b0e4a7fbf +SIZE (squeezecenter/TransitionUpdater1.5.zip) = 4065 diff --git a/audio/squeezecenter-transitionupdater/pkg-descr b/audio/squeezecenter-transitionupdater/pkg-descr new file mode 100644 index 00000000000..786c35e2205 --- /dev/null +++ b/audio/squeezecenter-transitionupdater/pkg-descr @@ -0,0 +1,12 @@ +This plugin looks at the songs before and after the current song in +the playlist and determines whether an album is playing or if random +tracks are playing. After that determination, it sets the player's +transition behaviour (crossfade, fade, etc) appropriately. The +transition behaviour for the album/random/default cases can be changed +by modifying the values of the four global variables at the top of +Transitions.pm. There is also a user configurable section for +excluding specific genres from being processed for album/random +detection. In these cases, the 'default' transition preference will be +used (not in v1.5). + +WWW: http://www.sutula.us/james/slimserver/ diff --git a/audio/squeezecenter-transitionupdater/pkg-plist b/audio/squeezecenter-transitionupdater/pkg-plist new file mode 100644 index 00000000000..850b21b55b8 --- /dev/null +++ b/audio/squeezecenter-transitionupdater/pkg-plist @@ -0,0 +1,13 @@ +%%SLIMDIR%%/Plugins/TransitionUpdater/HTML/EN/plugins/TransitionUpdater/settings/basic.html +%%SLIMDIR%%/Plugins/TransitionUpdater/Plugin.pm +%%SLIMDIR%%/Plugins/TransitionUpdater/Settings.pm +%%SLIMDIR%%/Plugins/TransitionUpdater/install.xml +%%SLIMDIR%%/Plugins/TransitionUpdater/strings.txt +@dirrm %%SLIMDIR%%/Plugins/TransitionUpdater/HTML/EN/plugins/TransitionUpdater/settings +@dirrm %%SLIMDIR%%/Plugins/TransitionUpdater/HTML/EN/plugins/TransitionUpdater +@dirrm %%SLIMDIR%%/Plugins/TransitionUpdater/HTML/EN/plugins +@dirrm %%SLIMDIR%%/Plugins/TransitionUpdater/HTML/EN +@dirrm %%SLIMDIR%%/Plugins/TransitionUpdater/HTML +@dirrm %%SLIMDIR%%/Plugins/TransitionUpdater +@dirrmtry %%SLIMDIR%%/Plugins +@dirrmtry %%SLIMDIR%% -- cgit