Changeset 298
- Timestamp:
- 29/09/07 12:50:19 (3 years ago)
- Location:
- trunk
- Files:
-
- 10 edited
-
HTML/EN/plugins/LazySearch2/settings/basic.html (modified) (2 diffs)
-
INSTALL (modified) (1 diff)
-
LazySearch2.zip (modified) (previous)
-
Makefile (modified) (6 diffs)
-
Plugin.pm (modified) (12 diffs)
-
Settings.pm (modified) (2 diffs)
-
ebuilds/slimserver-lazysearch2-3.0b1.ebuild (modified) (3 diffs)
-
install.xml (modified) (2 diffs)
-
strings.txt (modified) (1 diff)
-
unlazify.sql (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/HTML/EN/plugins/LazySearch2/settings/basic.html
r265 r298 1 [%# Plugin settings template page for LazySearch2 plugin for S limServer.1 [%# Plugin settings template page for LazySearch2 plugin for SqueezeCentre. 2 2 # Copyright © Stuart Hickinbottom 2004-2007 3 3 … … 15 15 # 16 16 # You should have received a copy of the GNU General Public License 17 # along with Foobar; if not, write to the Free Software17 # along with LazySearch2; if not, write to the Free Software 18 18 # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 19 19 %] -
trunk/INSTALL
r264 r298 2 2 3 3 This file contains very brief instructions on how to install and activate 4 this plugin on S limServer. For full details please refer to:4 this plugin on SqueezeCentre. For full details please refer to: 5 5 http://www.hickinbottom.com/lazysearch 6 6 7 1. Make sure you are running SlimServer 7.0 or later (you need different 8 versions of the plugin for earlier versions of SlimServer - see the website if 9 that applies to you). 7 1. Make sure you are running SqueezeCentre 7.0 or later (you need different 8 versions of the plugin for earlier versions of SqueezeCentre (or SlimServer as it was previously called) - see the website if that applies to you). 10 9 11 10 2. Extract the ZIP file (being sure to preserve the paths in the ZIP file), and 12 copy the resulting LazySearch2 directory to your SlimServer plugins directory. 13 Windows: C:\Program Files\SlimServer\Server\Plugins 14 Linux: it depends, but something like /usr/local/slimserver/Plugins 11 copy the resulting LazySearch2 directory to your SqueezeCentre plugins 12 directory. 13 14 Windows: C:\Program Files\SqueezeCentre\Server\Plugins 15 Linux: it depends, but something like /usr/local/squeezecentre/Plugins 15 16 MacOSX: ~/Library/SlimDevices/Plugins (I believe you need to do this 16 as the user that you originally installed S limServeras.17 as the user that you originally installed SqueezeCentre as. 17 18 18 3. Restart S limServerto make sure it has seen the new plugin.19 Windows: use the 'services' applet in the control panel, or the S limServer20 tray icon in the bottom-right of the screen if you have it running.21 Linux: it depends, but something like '/etc/init.d/s limserverrestart'.19 3. Restart SqueezeCentre to make sure it has seen the new plugin. 20 Windows: use the 'services' applet in the control panel, or the SqueezeCentre 21 tray icon in the bottom-right of the screen if you have it running. 22 Linux: it depends, but something like '/etc/init.d/squeezecentre restart'. 22 23 Mac OS X: use the standard OSX 'System Properties' menu. 23 24 24 25 4. Make sure the plugin is present and enabled on the 'Server Settings/Plugins' 25 page on the S limServerweb interface.26 page on the SqueezeCentre web interface. 26 27 27 28 5. Start using the plugin when the initial background scan has finished. -
trunk/Makefile
r266 r298 1 # Makefile for LazySearch2 plugin for S limServer7.0 (and later)1 # Makefile for LazySearch2 plugin for SqueezeCentre 7.0 (and later) 2 2 # Copyright © Stuart Hickinbottom 2004-2007 3 3 … … 15 15 # 16 16 # You should have received a copy of the GNU General Public License 17 # along with Foobar; if not, write to the Free Software17 # along with LazySearch2; if not, write to the Free Software 18 18 # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 19 19 20 20 # $Id$ 21 21 22 VERSION=3.0b 222 VERSION=3.0b3 23 23 PERLSOURCE=Plugin.pm Settings.pm 24 24 HTMLSOURCE=HTML/EN/plugins/LazySearch2/settings/basic.html HTML/EN/plugins/LazySearch2/settings/logo.jpg … … 26 26 RELEASEDIR=releases 27 27 STAGEDIR=stage 28 SLIMDIR=/usr/local/s limserver7/server28 SLIMDIR=/usr/local/squeezecenter/server 29 29 PLUGINSDIR=$(SLIMDIR)/Plugins 30 30 PLUGINDIR=LazySearch2 … … 34 34 SVNDISTFILE=LazySearch2.zip 35 35 LATESTLINK=$(RELEASEDIR)/LazySearch2-7_0-latest.zip 36 PREFS=/etc/s limserver7.pref36 PREFS=/etc/squeezecenter.pref 37 37 38 38 .SILENT: … … 66 66 echo "You're Beautiful..." 67 67 68 # Install the plugin in S limServer.68 # Install the plugin in SqueezeCentre. 69 69 install: make-stage 70 70 echo Installing plugin... … … 74 74 sudo chmod -R -w "$(PLUGINSDIR)/$(PLUGINDIR)" 75 75 76 # Restart S limServer, quite forcefully. This is obviously quite76 # Restart SqueezeCentre, quite forcefully. This is obviously quite 77 77 # Gentoo-specific. 78 78 restart: 79 echo "Forcefully restarting SlimServer..." 80 sudo /etc/init.d/slimserver7 stop 81 sudo /etc/init.d/slimserver7 zap 79 echo "Forcefully restarting SqueezeCentre..." 80 sudo /etc/init.d/squeezeslave stop 81 sudo /etc/init.d/squeezecenter stop 82 sudo /etc/init.d/squeezecenter zap 82 83 sleep 2 83 sudo sh -c ">/var/log/slimserver7/server.log" 84 sudo sh -c ">/var/log/slimserver7/scanner.log" 85 sudo sh -c ">/var/log/slimserver7/perfmon.log" 86 sudo /etc/init.d/slimserver7 restart 84 sudo sh -c ">/var/log/squeezecenter/server.log" 85 sudo sh -c ">/var/log/squeezecenter/scanner.log" 86 sudo sh -c ">/var/log/squeezecenter/perfmon.log" 87 sudo /etc/init.d/squeezecenter restart 88 sudo /etc/init.d/squeezeslave restart 87 89 88 90 logtail: 89 echo "Following the end of the S limServerlog..."90 tail -F /var/log/slimserver7/server.log91 echo "Following the end of the SqueezeCentre log..." 92 multitail -f /var/log/squeezecenter/server.log 91 93 92 94 # TODO - fix this for new package layout -
trunk/Plugin.pm
r273 r298 1 # LazySearch2 Plugin for S limServer1 # LazySearch2 Plugin for SqueezeCentre 2 2 # Copyright © Stuart Hickinbottom 2004-2007 3 3 … … 15 15 # 16 16 # You should have received a copy of the GNU General Public License 17 # along with Foobar; if not, write to the Free Software17 # along with LazySearch2; if not, write to the Free Software 18 18 # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 19 19 … … 216 216 ); 217 217 218 # Below are functions that are part of the standard S limServerplugin218 # Below are functions that are part of the standard SqueezeCentreplugin 219 219 # interface. 220 220 … … 459 459 460 460 # We restrict the search to include artists related in the roles the 461 # user wants (set through S limServerpreferences).461 # user wants (set through SqueezeCentre preferences). 462 462 my $roles = Slim::Schema->artistOnlyRoles('TRACKARTIST'); 463 463 if ($roles) { … … 856 856 # Make sure we pop back to the first result - most useful because of the 857 857 # second-row help that is included because it might confuse the user to 858 # see that when the re-enter the search mode (S limServer will try to resume859 # the mode on the same row that it was last on).858 # see that when the re-enter the search mode (SqueezeCentre will try to 859 # resume the mode on the same row that it was last on). 860 860 if ( length( $clientMode{$client}{search_performed} ) == 0 ) { 861 861 $params{initialValue} = $itemsRef->[0]; … … 1476 1476 1477 1477 # We restrict the search to include artists related in the roles the 1478 # user wants (set through S limServerpreferences).1478 # user wants (set through SqueezeCentre preferences). 1479 1479 my $roles = Slim::Schema->artistOnlyRoles('TRACKARTIST'); 1480 1480 if ($roles) { … … 1655 1655 1656 1656 # We restrict the search to include artists related in the roles the 1657 # user wants (set through S limServerpreferences).1657 # user wants (set through SqueezeCentre preferences). 1658 1658 my $artistOnlyRoles = Slim::Schema->artistOnlyRoles('TRACKARTIST'); 1659 1659 if ( !defined($artistOnlyRoles) ) { … … 1784 1784 # the most straightforward way of avoiding having to duplicate all 1785 1785 # the mixing code in the BrowseDB mode. I've raise bug #4451 to try 1786 # to address this in a future S limServerversion.1786 # to address this in a future SqueezeCentre version. 1787 1787 my $createMix = Slim::Buttons::BrowseDB::getFunctions()->{'create_mix'}; 1788 1788 &$createMix($client); … … 1944 1944 } 1945 1945 1946 # This is called by S limServerwhen a scan has finished. We use this to kick1946 # This is called by SqueezeCentre when a scan has finished. We use this to kick 1947 1947 # off lazification of the database once it's been populated with all music 1948 1948 # information. … … 1972 1972 # This function is called when the music database scan has finished. It 1973 1973 # identifies each artist, track and album that has not yet been encoded into 1974 # lazy form and schedules a S limServerbackground task to encode them.1974 # lazy form and schedules a SqueezeCentre background task to encode them. 1975 1975 sub lazifyDatabase($) { 1976 1976 … … 2103 2103 } 2104 2104 2105 # This task function is periodically called by S limServerwhen it is 'idle'.2105 # This task function is periodically called by SqueezeCentre when it is 'idle'. 2106 2106 # It works through the IDs of the objects that require encoding. They are 2107 2107 # encoded in chunks taking a maximum amount of time to keep the server and … … 2293 2293 2294 2294 # Now, if there's any punctuation left in we remove that to aid searching. 2295 # We do that by calling the S limServermethod that transforms all2295 # We do that by calling the SqueezeCentre method that transforms all 2296 2296 # punctuation to spaces, then remove those spaces (since the original 2297 2297 # spaces are temporarily turned to X's, we'll be able to recover those -
trunk/Settings.pm
r269 r298 1 # Web settings page handler for LazySearch2 plugin for S limServer.1 # Web settings page handler for LazySearch2 plugin for SqueezeCentre. 2 2 # Copyright © Stuart Hickinbottom 2004-2007 3 3 … … 15 15 # 16 16 # You should have received a copy of the GNU General Public License 17 # along with Foobar; if not, write to the Free Software17 # along with LazySearch2; if not, write to the Free Software 18 18 # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 19 19 -
trunk/ebuilds/slimserver-lazysearch2-3.0b1.ebuild
r264 r298 1 # LazySearch2 Plugin for S limServer1 # LazySearch2 Plugin for SqueezeCentre 2 2 # Copyright © Stuart Hickinbottom 2004-2007 3 3 # … … 8 8 SLIMSERVER_VERSION="7.0" 9 9 MY_P="LazySearch2-${PV}" 10 DESCRIPTION="A plugin for S limServerto perform searches more quickly and easily using your player's remote control."10 DESCRIPTION="A plugin for SqueezeCentre to perform searches more quickly and easily using your player's remote control." 11 11 HOMEPAGE="http://www.hickinbottom.com/lazysearch" 12 12 SRC_URI="http://www.hickinbottom.com/lazysearch/${MY_P}.tar.gz" … … 17 17 DEPEND="" 18 18 RDEPEND=" 19 >=media-sound/s limserver-${SLIMSERVER_VERSION}"19 >=media-sound/squeezecentre-${SLIMSERVER_VERSION}" 20 20 S="${WORKDIR}" 21 21 22 22 src_install() { 23 cp -r * ${D}/opt/s limserver/Plugins23 cp -r * ${D}/opt/squeezecentre/Plugins 24 24 } -
trunk/install.xml
r264 r298 17 17 18 18 <!-- You should have received a copy of the GNU General Public License --> 19 <!-- along with Foobar; if not, write to the Free Software -->19 <!-- along with LazySearch2; if not, write to the Free Software --> 20 20 <!-- Foundation, Inc., 51 Franklin St, Fifth Floor, --> 21 21 <!-- Boston, MA 02110-1301 USA --> … … 39 39 40 40 <targetApplication> 41 <id>S limServer</id>41 <id>SqueezeCentre</id> 42 42 <minVersion>7.0a</minVersion> 43 43 <maxVersion>7.0+</maxVersion> -
trunk/strings.txt
r250 r298 15 15 # 16 16 # You should have received a copy of the GNU General Public License 17 # along with Foobar; if not, write to the Free Software17 # along with LazySearch2; if not, write to the Free Software 18 18 # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 19 19 -
trunk/unlazify.sql
r244 r298 16 16 * 17 17 * You should have received a copy of the GNU General Public License 18 * along with Foobar; if not, write to the Free Software18 * along with LazySearch2; if not, write to the Free Software 19 19 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 20 20 *
Note: See TracChangeset
for help on using the changeset viewer.
