Changeset 298


Ignore:
Timestamp:
29/09/07 12:50:19 (3 years ago)
Author:
stuarth
Message:

Rebranding for SqueezeCentre?.

Location:
trunk
Files:
10 edited

Legend:

Unmodified
Added
Removed
  • trunk/HTML/EN/plugins/LazySearch2/settings/basic.html

    r265 r298  
    1 [%# Plugin settings template page for LazySearch2 plugin for SlimServer. 
     1[%# Plugin settings template page for LazySearch2 plugin for SqueezeCentre. 
    22  # Copyright © Stuart Hickinbottom 2004-2007 
    33 
     
    1515  # 
    1616  # You should have received a copy of the GNU General Public License 
    17   # along with Foobar; if not, write to the Free Software 
     17  # along with LazySearch2; if not, write to the Free Software 
    1818  # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA 
    1919%] 
  • trunk/INSTALL

    r264 r298  
    22 
    33This file contains very brief instructions on how to install and activate 
    4 this plugin on SlimServer. For full details please refer to: 
     4this plugin on SqueezeCentre. For full details please refer to: 
    55http://www.hickinbottom.com/lazysearch 
    66 
    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). 
     71. Make sure you are running SqueezeCentre 7.0 or later (you need different 
     8versions of the plugin for earlier versions of SqueezeCentre (or SlimServer as it was previously called) - see the website if that applies to you). 
    109 
    11102. 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 
     11copy the resulting LazySearch2 directory to your SqueezeCentre plugins 
     12directory. 
     13 
     14Windows: C:\Program Files\SqueezeCentre\Server\Plugins 
     15Linux: it depends, but something like /usr/local/squeezecentre/Plugins 
    1516MacOSX: ~/Library/SlimDevices/Plugins (I believe you need to do this 
    16   as the user that you originally installed SlimServer as. 
     17  as the user that you originally installed SqueezeCentre as. 
    1718 
    18 3. Restart SlimServer to make sure it has seen the new plugin. 
    19 Windows: use the 'services' applet in the control panel, or the SlimServer 
    20   tray icon in the bottom-right of the screen if you have it running. 
    21 Linux: it depends, but something like '/etc/init.d/slimserver restart'. 
     193. Restart SqueezeCentre to make sure it has seen the new plugin. 
     20Windows: 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. 
     22Linux: it depends, but something like '/etc/init.d/squeezecentre restart'. 
    2223Mac OS X: use the standard OSX 'System Properties' menu. 
    2324 
    24254. Make sure the plugin is present and enabled on the 'Server Settings/Plugins' 
    25 page on the SlimServer web interface. 
     26page on the SqueezeCentre web interface. 
    2627 
    27285. Start using the plugin when the initial background scan has finished. 
  • trunk/Makefile

    r266 r298  
    1 # Makefile for LazySearch2 plugin for SlimServer 7.0 (and later) 
     1# Makefile for LazySearch2 plugin for SqueezeCentre 7.0 (and later) 
    22# Copyright © Stuart Hickinbottom 2004-2007 
    33 
     
    1515# 
    1616# You should have received a copy of the GNU General Public License 
    17 # along with Foobar; if not, write to the Free Software 
     17# along with LazySearch2; if not, write to the Free Software 
    1818# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA 
    1919 
    2020# $Id$ 
    2121 
    22 VERSION=3.0b2 
     22VERSION=3.0b3 
    2323PERLSOURCE=Plugin.pm Settings.pm 
    2424HTMLSOURCE=HTML/EN/plugins/LazySearch2/settings/basic.html HTML/EN/plugins/LazySearch2/settings/logo.jpg 
     
    2626RELEASEDIR=releases 
    2727STAGEDIR=stage 
    28 SLIMDIR=/usr/local/slimserver7/server 
     28SLIMDIR=/usr/local/squeezecenter/server 
    2929PLUGINSDIR=$(SLIMDIR)/Plugins 
    3030PLUGINDIR=LazySearch2 
     
    3434SVNDISTFILE=LazySearch2.zip 
    3535LATESTLINK=$(RELEASEDIR)/LazySearch2-7_0-latest.zip 
    36 PREFS=/etc/slimserver7.pref 
     36PREFS=/etc/squeezecenter.pref 
    3737 
    3838.SILENT: 
     
    6666    echo "You're Beautiful..." 
    6767 
    68 # Install the plugin in SlimServer. 
     68# Install the plugin in SqueezeCentre. 
    6969install: make-stage 
    7070    echo Installing plugin... 
     
    7474    sudo chmod -R -w "$(PLUGINSDIR)/$(PLUGINDIR)" 
    7575 
    76 # Restart SlimServer, quite forcefully. This is obviously quite 
     76# Restart SqueezeCentre, quite forcefully. This is obviously quite 
    7777# Gentoo-specific. 
    7878restart: 
    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 
    8283    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 
    8789 
    8890logtail: 
    89     echo "Following the end of the SlimServer log..." 
    90     tail -F /var/log/slimserver7/server.log 
     91    echo "Following the end of the SqueezeCentre log..." 
     92    multitail -f /var/log/squeezecenter/server.log 
    9193 
    9294# TODO - fix this for new package layout 
  • trunk/Plugin.pm

    r273 r298  
    1 # LazySearch2 Plugin for SlimServer 
     1# LazySearch2 Plugin for SqueezeCentre 
    22# Copyright © Stuart Hickinbottom 2004-2007 
    33 
     
    1515# 
    1616# You should have received a copy of the GNU General Public License 
    17 # along with Foobar; if not, write to the Free Software 
     17# along with LazySearch2; if not, write to the Free Software 
    1818# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA 
    1919 
     
    216216); 
    217217 
    218 # Below are functions that are part of the standard SlimServer plugin 
     218# Below are functions that are part of the standard SqueezeCentreplugin 
    219219# interface. 
    220220 
     
    459459 
    460460    # We restrict the search to include artists related in the roles the 
    461     # user wants (set through SlimServer preferences). 
     461    # user wants (set through SqueezeCentre preferences). 
    462462    my $roles = Slim::Schema->artistOnlyRoles('TRACKARTIST'); 
    463463    if ($roles) { 
     
    856856    # Make sure we pop back to the first result - most useful because of the 
    857857    # second-row help that is included because it might confuse the user to 
    858     # see that when the re-enter the search mode (SlimServer will try to resume 
    859     # 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). 
    860860    if ( length( $clientMode{$client}{search_performed} ) == 0 ) { 
    861861        $params{initialValue} = $itemsRef->[0]; 
     
    14761476 
    14771477    # We restrict the search to include artists related in the roles the 
    1478     # user wants (set through SlimServer preferences). 
     1478    # user wants (set through SqueezeCentre preferences). 
    14791479    my $roles = Slim::Schema->artistOnlyRoles('TRACKARTIST'); 
    14801480    if ($roles) { 
     
    16551655 
    16561656        # We restrict the search to include artists related in the roles the 
    1657         # user wants (set through SlimServer preferences). 
     1657        # user wants (set through SqueezeCentre preferences). 
    16581658        my $artistOnlyRoles = Slim::Schema->artistOnlyRoles('TRACKARTIST'); 
    16591659        if ( !defined($artistOnlyRoles) ) { 
     
    17841784    # the most straightforward way of avoiding having to duplicate all 
    17851785    # the mixing code in the BrowseDB mode. I've raise bug #4451 to try 
    1786     # to address this in a future SlimServer version. 
     1786    # to address this in a future SqueezeCentre version. 
    17871787    my $createMix = Slim::Buttons::BrowseDB::getFunctions()->{'create_mix'}; 
    17881788    &$createMix($client); 
     
    19441944} 
    19451945 
    1946 # This is called by SlimServer when a scan has finished. We use this to kick 
     1946# This is called by SqueezeCentre when a scan has finished. We use this to kick 
    19471947# off lazification of the database once it's been populated with all music 
    19481948# information. 
     
    19721972# This function is called when the music database scan has finished. It 
    19731973# identifies each artist, track and album that has not yet been encoded into 
    1974 # lazy form and schedules a SlimServer background task to encode them. 
     1974# lazy form and schedules a SqueezeCentre background task to encode them. 
    19751975sub lazifyDatabase($) { 
    19761976 
     
    21032103} 
    21042104 
    2105 # This task function is periodically called by SlimServer when it is 'idle'. 
     2105# This task function is periodically called by SqueezeCentre when it is 'idle'. 
    21062106# It works through the IDs of the objects that require encoding. They are 
    21072107# encoded in chunks taking a maximum amount of time to keep the server and 
     
    22932293 
    22942294    # Now, if there's any punctuation left in we remove that to aid searching. 
    2295     # We do that by calling the SlimServer method that transforms all 
     2295    # We do that by calling the SqueezeCentre method that transforms all 
    22962296    # punctuation to spaces, then remove those spaces (since the original 
    22972297    # 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 SlimServer. 
     1# Web settings page handler for LazySearch2 plugin for SqueezeCentre. 
    22# Copyright © Stuart Hickinbottom 2004-2007 
    33 
     
    1515# 
    1616# You should have received a copy of the GNU General Public License 
    17 # along with Foobar; if not, write to the Free Software 
     17# along with LazySearch2; if not, write to the Free Software 
    1818# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA 
    1919 
  • trunk/ebuilds/slimserver-lazysearch2-3.0b1.ebuild

    r264 r298  
    1 # LazySearch2 Plugin for SlimServer 
     1# LazySearch2 Plugin for SqueezeCentre 
    22# Copyright © Stuart Hickinbottom 2004-2007 
    33# 
     
    88SLIMSERVER_VERSION="7.0" 
    99MY_P="LazySearch2-${PV}" 
    10 DESCRIPTION="A plugin for SlimServer to perform searches more quickly and easily using your player's remote control." 
     10DESCRIPTION="A plugin for SqueezeCentre to perform searches more quickly and easily using your player's remote control." 
    1111HOMEPAGE="http://www.hickinbottom.com/lazysearch" 
    1212SRC_URI="http://www.hickinbottom.com/lazysearch/${MY_P}.tar.gz" 
     
    1717DEPEND="" 
    1818RDEPEND=" 
    19     >=media-sound/slimserver-${SLIMSERVER_VERSION}" 
     19    >=media-sound/squeezecentre-${SLIMSERVER_VERSION}" 
    2020S="${WORKDIR}" 
    2121 
    2222src_install() { 
    23     cp -r * ${D}/opt/slimserver/Plugins 
     23    cp -r * ${D}/opt/squeezecentre/Plugins 
    2424} 
  • trunk/install.xml

    r264 r298  
    1717 
    1818<!-- 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 --> 
    2020<!-- Foundation, Inc., 51 Franklin St, Fifth Floor, --> 
    2121<!-- Boston, MA  02110-1301  USA --> 
     
    3939 
    4040    <targetApplication> 
    41         <id>SlimServer</id> 
     41        <id>SqueezeCentre</id> 
    4242        <minVersion>7.0a</minVersion> 
    4343        <maxVersion>7.0+</maxVersion> 
  • trunk/strings.txt

    r250 r298  
    1515# 
    1616# You should have received a copy of the GNU General Public License 
    17 # along with Foobar; if not, write to the Free Software 
     17# along with LazySearch2; if not, write to the Free Software 
    1818# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA 
    1919 
  • trunk/unlazify.sql

    r244 r298  
    1616 *  
    1717 * You should have received a copy of the GNU General Public License 
    18  * along with Foobar; if not, write to the Free Software 
     18 * along with LazySearch2; if not, write to the Free Software 
    1919 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA 
    2020 * 
Note: See TracChangeset for help on using the changeset viewer.