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 behavior (crossfade, fade, etc) appropriately. The transition behavior 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. WWW: http://www.sutula.us/james/slimserver/
This commit is contained in:
parent
e4f2465eda
commit
c3700b53fc
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=179857
5 changed files with 54 additions and 0 deletions
|
@ -545,6 +545,7 @@
|
||||||
SUBDIR += sidplayer
|
SUBDIR += sidplayer
|
||||||
SUBDIR += simplemod
|
SUBDIR += simplemod
|
||||||
SUBDIR += slimserver
|
SUBDIR += slimserver
|
||||||
|
SUBDIR += slimserver-dynamictransition
|
||||||
SUBDIR += slimserver-lastfm
|
SUBDIR += slimserver-lastfm
|
||||||
SUBDIR += slimserver-slimscrobbler
|
SUBDIR += slimserver-slimscrobbler
|
||||||
SUBDIR += snack
|
SUBDIR += snack
|
||||||
|
|
37
audio/slimserver-dynamictransition/Makefile
Normal file
37
audio/slimserver-dynamictransition/Makefile
Normal file
|
@ -0,0 +1,37 @@
|
||||||
|
# New ports collection makefile for: slimserver-dynamictransition
|
||||||
|
# Date created: 07 October 2006
|
||||||
|
# Whom: Tim Bishop <tdb@FreeBSD.org>
|
||||||
|
#
|
||||||
|
# $FreeBSD$
|
||||||
|
#
|
||||||
|
|
||||||
|
PORTNAME= dynamictransition
|
||||||
|
PORTVERSION= 1.4
|
||||||
|
CATEGORIES= audio
|
||||||
|
# Distfile mirrored due to being unversioned on author's site
|
||||||
|
MASTER_SITES= ftp://ftp.i-scream.org/pub/slimserver/${PORTNAME}/ \
|
||||||
|
http://ftp.i-scream.org/pub/slimserver/${PORTNAME}/
|
||||||
|
PKGNAMEPREFIX= slimserver-
|
||||||
|
DISTNAME= Transitions-${PORTVERSION}
|
||||||
|
EXTRACT_SUFX= .pm
|
||||||
|
DIST_SUBDIR= slimserver
|
||||||
|
|
||||||
|
MAINTAINER= tdb@FreeBSD.org
|
||||||
|
COMMENT= SlimServer plugin for determining transition behaviour between tracks
|
||||||
|
|
||||||
|
RUN_DEPENDS= softsqueeze:${PORTSDIR}/audio/slimserver
|
||||||
|
|
||||||
|
EXTRACT_CMD= ${CP}
|
||||||
|
EXTRACT_BEFORE_ARGS=
|
||||||
|
EXTRACT_AFTER_ARGS= ${WRKSRC}
|
||||||
|
NO_WRKSUBDIR= yes
|
||||||
|
NO_BUILD= yes
|
||||||
|
|
||||||
|
SLIMDIR?= slimserver
|
||||||
|
PLIST_SUB+= SLIMDIR=${SLIMDIR}
|
||||||
|
|
||||||
|
do-install:
|
||||||
|
${MKDIR} ${PREFIX}/${SLIMDIR}/Plugins
|
||||||
|
${INSTALL_DATA} ${WRKSRC}/Transitions-${PORTVERSION}.pm ${PREFIX}/${SLIMDIR}/Plugins/Transitions.pm
|
||||||
|
|
||||||
|
.include <bsd.port.mk>
|
3
audio/slimserver-dynamictransition/distinfo
Normal file
3
audio/slimserver-dynamictransition/distinfo
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
MD5 (slimserver/Transitions-1.4.pm) = a4fd219f18030c504fcff847a5d289a2
|
||||||
|
SHA256 (slimserver/Transitions-1.4.pm) = e1695c9dd6df835512b83c4bf315331552abe8d22c89ab688faf4626315ae8fc
|
||||||
|
SIZE (slimserver/Transitions-1.4.pm) = 4415
|
12
audio/slimserver-dynamictransition/pkg-descr
Normal file
12
audio/slimserver-dynamictransition/pkg-descr
Normal file
|
@ -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 behavior (crossfade, fade, etc) appropriately.
|
||||||
|
The transition behavior 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.
|
||||||
|
|
||||||
|
WWW: http://www.sutula.us/james/slimserver/
|
1
audio/slimserver-dynamictransition/pkg-plist
Normal file
1
audio/slimserver-dynamictransition/pkg-plist
Normal file
|
@ -0,0 +1 @@
|
||||||
|
%%SLIMDIR%%/Plugins/Transitions.pm
|
Loading…
Reference in a new issue