decibel-audio-player:rebuild
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
#!/usr/bin/env sh
|
||||
# Author: Ingelrest François (Francois.Ingelrest@gmail.com)
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation; either version 2 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU Library General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program; if not, write to the Free Software
|
||||
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
|
||||
python /usr/share/decibel-audio-player/src/decibel-audio-player.py "$@" &
|
||||
@@ -0,0 +1,22 @@
|
||||
Index: decibel-audio-player-1.08/src/modules/Covers.py
|
||||
===================================================================
|
||||
--- decibel-audio-player-1.08.orig/src/modules/Covers.py
|
||||
+++ decibel-audio-player-1.08/src/modules/Covers.py
|
||||
@@ -124,7 +124,7 @@ class Covers(modules.ThreadedModule):
|
||||
|
||||
def generateFullSizeCover(self, inFile, outFile, format):
|
||||
""" Resize inFile if needed, and write it to outFile (outFile and inFile may be equal) """
|
||||
- import Image
|
||||
+ from PIL import Image
|
||||
|
||||
try:
|
||||
# Open the image
|
||||
@@ -144,7 +144,7 @@ class Covers(modules.ThreadedModule):
|
||||
|
||||
def generateThumbnail(self, inFile, outFile, format):
|
||||
""" Generate a thumbnail from inFile (e.g., resize it) and write it to outFile (outFile and inFile may be equal) """
|
||||
- import Image
|
||||
+ from PIL import Image
|
||||
|
||||
try:
|
||||
# Open the image
|
||||
@@ -0,0 +1,18 @@
|
||||
#!/usr/bin/env sh
|
||||
# Author: Ingelrest François (Francois.Ingelrest@gmail.com)
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation; either version 2 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU Library General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program; if not, write to the Free Software
|
||||
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
|
||||
python /usr/share/decibel-audio-player/src/remote.py "$@"
|
||||
Reference in New Issue
Block a user