Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

rename went down (hope everything is still working)

  • Loading branch information...
commit cb91bdea0c9bbd505cc6180e73f918a7d4922802 1 parent 57ca6d2
@KenjiTakahashi authored
View
4 README.rst
@@ -1,4 +1,4 @@
-Fetcher is aimed to be fully-featured music management suite, including library collecting, new and missing releases checking, playing, scrobbling, tagging, converting and so on,
+gayeogi is aimed to be fully-featured music management suite, including library collecting, new and missing releases checking, playing, scrobbling, tagging, converting and so on,
but keep in mind that it's still in beta stage, so some features may be still missing or not fully working.
At the moment, these features are considered "working":
@@ -40,7 +40,7 @@ ARCHLINUX
*********
::
- yaourt -S fetcher (or any other AUR wrapper)
+ yaourt -S gayeogi (or any other AUR wrapper)
GENERAL
*******
View
6 fetcher.py → gayeogi.py
@@ -1,4 +1,5 @@
#!/usr/bin/env python2
+# -*- coding: utf-8 -*-
# This is a part of Fetcher @ http://github.com/KenjiTakahashi/Fetcher/
# Karol "Kenji Takahashi" Wozniak (C) 2010
#
@@ -14,7 +15,6 @@
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
-# -*- coding: utf-8 -*-
-import fetcher
-fetcher.run()
+import gayeogi
+gayeogi.run()
View
4 fetcher/__init__.py → gayeogi/__init__.py
@@ -1,4 +1,4 @@
-# This is a part of Fetcher @ http://github.com/KenjiTakahashi/Fetcher/
+# This is a part of gayeogi @ http://github.com/KenjiTakahashi/gayeogi/
# Karol "Kenji Takahashi" Wozniak (C) 2010
#
# This program is free software: you can redistribute it and/or modify
@@ -15,4 +15,4 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# -*- coding: utf-8 -*-
-from fetcher.main import run
+from gayeogi.main import run
View
2  fetcher/db/__init__.py → gayeogi/db/__init__.py
@@ -1,4 +1,4 @@
-# This is a part of Fetcher @ http://github.com/KenjiTakahashi/Fetcher/
+# This is a part of gayeogi @ http://github.com/KenjiTakahashi/gayeogi/
# Karol "Kenji Takahashi" Wozniak (C) 2010
#
# This program is free software: you can redistribute it and/or modify
View
4 fetcher/db/bees/__init__.py → gayeogi/db/bees/__init__.py
@@ -1,4 +1,4 @@
-# This is a part of Fetcher @ http://github.com/KenjiTakahashi/Fetcher/
+# This is a part of gayeogi @ http://github.com/KenjiTakahashi/gayeogi/
# Karol "Kenji Takahashi" Wozniak (C) 2010 - 2011
#
# This program is free software: you can redistribute it and/or modify
@@ -22,7 +22,7 @@
__all__ = list()
for _, name, _ in iter_modules([dirname(realpath(__file__))]):
try:
- tmp = __import__(u'fetcher.db.bees.' + name, globals(),
+ tmp = __import__(u'gayeogi.db.bees.' + name, globals(),
locals(), [u'name'], -1)
except ImportError:
pass
View
4 fetcher/db/bees/bandsensor.py → gayeogi/db/bees/bandsensor.py
@@ -1,4 +1,4 @@
-# This is a part of Fetcher @ http://github.com/KenjiTakahashi/Fetcher/
+# This is a part of gayeogi @ http://github.com/KenjiTakahashi/gayeogi/
# Karol "Kenji Takahashi" Wozniak (C) 2010 - 2011
#
# This program is free software: you can redistribute it and/or modify
@@ -17,7 +17,7 @@
from threading import Thread, RLock
from Queue import Queue
-from fetcher.db.bees.beeexceptions import ConnError
+from gayeogi.db.bees.beeexceptions import ConnError
class BandBee(Thread):
def __init__(self, tasks, releases, rlock, elock):
View
2  fetcher/db/bees/beeexceptions.py → gayeogi/db/bees/beeexceptions.py
@@ -1,4 +1,4 @@
-# This is a part of Fetcher @ http://github.com/KenjiTakahashi/Fetcher/
+# This is a part of gayeogi @ http://github.com/KenjiTakahashi/gayeogi/
# Karol "Kenji Takahashi" Wozniak (C) 2010 - 2011
#
# This program is free software: you can redistribute it and/or modify
View
8 fetcher/db/bees/metalArchives.py → gayeogi/db/bees/metalArchives.py
@@ -1,4 +1,4 @@
-# This is a part of Fetcher @ http://github.com/KenjiTakahashi/Fetcher/
+# This is a part of gayeogi @ http://github.com/KenjiTakahashi/gayeogi/
# Karol "Kenji Takahashi" Wozniak (C) 2010 - 2011
#
# This program is free software: you can redistribute it and/or modify
@@ -18,8 +18,8 @@
import urllib2
import json
from lxml import etree
-from fetcher.db.bees.bandsensor import Bandsensor
-from fetcher.db.bees.beeexceptions import ConnError, NoBandError
+from gayeogi.db.bees.bandsensor import Bandsensor
+from gayeogi.db.bees.beeexceptions import ConnError, NoBandError
items = [[u'Full-length', u'Live album', u'Demo'],
[u'Single', u'EP', u'DVD'],
@@ -68,7 +68,7 @@ def __internal(context, albums, types, years):
return False
__internal.result = list()
root = etree.HTML(site)
- ns = etree.FunctionNamespace(u'http://fake.fetcher/functions')
+ ns = etree.FunctionNamespace(u'http://fake.gayeogi/functions')
ns.prefix = u'ma'
ns[u'test'] = __internal
root.xpath(u'body/table/tbody/tr[ma:test(td[1]/a, td[2], td[3])]')
View
10 fetcher/db/bees/musicbrainz.py → gayeogi/db/bees/musicbrainz.py
@@ -1,4 +1,4 @@
-# This is a part of Fetcher @ http://github.com/KenjiTakahashi/Fetcher/
+# This is a part of gayeogi @ http://github.com/KenjiTakahashi/gayeogi/
# Karol "Kenji Takahashi" Wozniak (C) 2010 - 2011
#
# This program is free software: you can redistribute it and/or modify
@@ -18,8 +18,8 @@
import urllib2
import json
from lxml import etree
-from fetcher.db.bees.bandsensor import Bandsensor
-from fetcher.db.bees.beeexceptions import ConnError, NoBandError
+from gayeogi.db.bees.bandsensor import Bandsensor
+from gayeogi.db.bees.beeexceptions import ConnError, NoBandError
items = [[u'Album', u'Single', u'EP'],
[u'Compilation', u'Soundtrack', u'Spokenword'],
@@ -55,7 +55,7 @@ def reqread(url):
"""
req = urllib2.Request(url)
req.add_header(u'User-Agent',
- u'Fetcher/0.6 +http://github.com/KenjiTakahashi/Fetcher')
+ u'gayeogi/0.6 +http://github.com/KenjiTakahashi/gayeogi')
try:
return urllib2.urlopen(req).read()
except (urllib2.HTTPError, urllib2.URLError):
@@ -86,7 +86,7 @@ def __internal(context, albums, years):
__internal.result[albums[0]] = u'0'
return False
__internal.result = dict()
- ns = etree.FunctionNamespace(u'http://fake.fetcher/functions')
+ ns = etree.FunctionNamespace(u'http://fake.gayeogi/functions')
ns.prefix = u'mb'
ns[u'test'] = __internal
root = etree.XML(site)
View
10 fetcher/db/distributor.py → gayeogi/db/distributor.py
@@ -1,4 +1,4 @@
-# This is a part of Fetcher @ http://github.com/KenjiTakahashi/Fetcher/
+# This is a part of gayeogi @ http://github.com/KenjiTakahashi/gayeogi/
# Karol "Kenji Takahashi" Wozniak (C) 2010 - 2011
#
# This program is free software: you can redistribute it and/or modify
@@ -18,7 +18,7 @@
from threading import RLock
from Queue import Queue
from PyQt4.QtCore import QThread, QSettings, pyqtSignal
-from fetcher.db.bees.beeexceptions import ConnError, NoBandError
+from gayeogi.db.bees.beeexceptions import ConnError, NoBandError
class Bee(QThread):
errors = pyqtSignal(unicode, unicode, unicode, unicode)
@@ -155,7 +155,7 @@ def run(self):
self.tasks.task_done()
class Distributor(QThread):
- __settings = QSettings(u'fetcher', u'Databases')
+ __settings = QSettings(u'gayeogi', u'Databases')
updated = pyqtSignal()
stepped = pyqtSignal(unicode)
errors = pyqtSignal(unicode, unicode, unicode, unicode)
@@ -176,10 +176,10 @@ def run(self):
processed = dict()
for (name, threads, types) in bases:
try:
- db = __import__(u'fetcher.db.bees.' + name, globals(),
+ db = __import__(u'gayeogi.db.bees.' + name, globals(),
locals(), [u'work', u'name'], -1)
except ImportError: # it should not ever happen
- self.errors.emit(db.name, u'errors', u'fetcher.db.bees.' + name,
+ self.errors.emit(db.name, u'errors', u'gayeogi.db.bees.' + name,
u'No such module has been found!!!')
else:
tasks = Queue(threads)
View
2  fetcher/db/local.py → gayeogi/db/local.py
@@ -1,4 +1,4 @@
-# This is a part of Fetcher @ http://github.com/KenjiTakahashi/Fetcher/
+# This is a part of gayeogi @ http://github.com/KenjiTakahashi/gayeogi/
# Karol "Kenji Takahashi" Wozniak (C) 2010 - 2011
#
# This program is free software: you can redistribute it and/or modify
View
2  fetcher/interfaces/__init__.py → gayeogi/interfaces/__init__.py
@@ -1,4 +1,4 @@
-# This is a part of Fetcher @ http://github.com/KenjiTakahashi/Fetcher/
+# This is a part of gayeogi @ http://github.com/KenjiTakahashi/gayeogi/
# Karol "Kenji Takahashi" Wozniak (C) 2010
#
# This program is free software: you can redistribute it and/or modify
View
2  fetcher/interfaces/confirmation.py → gayeogi/interfaces/confirmation.py
@@ -1,4 +1,4 @@
-# This is a part of Fetcher @ http://github.com/KenjiTakahashi/Fetcher/
+# This is a part of gayeogi @ http://github.com/KenjiTakahashi/gayeogi/
# Karol "Kenji Takahashi" Wozniak (C) 2010
#
# This program is free software: you can redistribute it and/or modify
View
0  fetcher/interfaces/main.py → gayeogi/interfaces/main.py
File renamed without changes
View
18 fetcher/interfaces/settings.py → gayeogi/interfaces/settings.py
@@ -1,4 +1,4 @@
-# This is a part of Fetcher @ http://github.com/KenjiTakahashi/Fetcher/
+# This is a part of gayeogi @ http://github.com/KenjiTakahashi/gayeogi/
# Karol "Kenji Takahashi" Wozniak (C) 2010
#
# This program is free software: you can redistribute it and/or modify
@@ -17,7 +17,7 @@
from PyQt4 import QtGui
from PyQt4.QtCore import QSettings, Qt, pyqtSignal, QString, QStringList
-import fetcher.plugins
+import gayeogi.plugins
class QHoveringRadioButton(QtGui.QRadioButton):
hovered = pyqtSignal(unicode)
@@ -32,8 +32,8 @@ def leaveEvent(self, _):
self.unhovered.emit(self.tab)
class Settings(QtGui.QDialog):
- __settings = QSettings(u'fetcher', u'Fetcher')
- __dbsettings = QSettings(u'fetcher', u'Databases')
+ __settings = QSettings(u'gayeogi', u'gayeogi')
+ __dbsettings = QSettings(u'gayeogi', u'Databases')
__checkStates = dict()
def __init__(self,parent=None):
QtGui.QDialog.__init__(self, parent)
@@ -49,7 +49,7 @@ def __init__(self,parent=None):
self.dbList.currentItemChanged.connect(self.dbDisplayOptions)
order = self.__dbsettings.value(u'order', []).toPyObject()
self.dbOptionsLayout = QtGui.QGridLayout()
- from fetcher.db.bees import __names__, __all__
+ from gayeogi.db.bees import __names__, __all__
if order == None:
order = []
for (o, m) in zip(__names__, __all__):
@@ -60,7 +60,7 @@ def __init__(self,parent=None):
module = unicode(
self.__dbsettings.value(o + u'/module', u'').toString())
try:
- __import__(u'fetcher.db.bees.' + module)
+ __import__(u'gayeogi.db.bees.' + module)
except ImportError:
pass
else:
@@ -173,8 +173,8 @@ def __init__(self,parent=None):
self.pluginsLayout.addWidget(self.pluginsList)
self.__plugins = {}
self.__depends = {}
- for plugin in fetcher.plugins.__all__:
- ref = getattr(fetcher.plugins, plugin).Main
+ for plugin in gayeogi.plugins.__all__:
+ ref = getattr(gayeogi.plugins, plugin).Main
item = QtGui.QListWidgetItem(ref.name)
item.depends = ref.depends
ref2 = ref.QConfiguration()
@@ -272,7 +272,7 @@ def dbDisplayOptions(self, item, _):
self.dbOptionsLayout.removeWidget(child)
child.deleteLater()
try:
- items = __import__(u'fetcher.db.bees.' + module, globals(),
+ items = __import__(u'gayeogi.db.bees.' + module, globals(),
locals(), [u'items'], -1).items
except TypeError:
self.dbOptions.setVisible(False)
View
0  fetcher/langs/main_pl_PL.qm → gayeogi/langs/main_pl_PL.qm
File renamed without changes
View
38 fetcher/main.py → gayeogi/main.py
@@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
-# This is a part of Fetcher @ http://github.com/KenjiTakahashi/Fetcher/
+# This is a part of gayeogi @ http://github.com/KenjiTakahashi/Fetcher/
# Karol "Kenji Takahashi" Wozniak (C) 2010 - 2011
#
# This program is free software: you can redistribute it and/or modify
@@ -23,18 +23,18 @@
from PyQt4.QtCore import QStringList, Qt, QSettings, QLocale, QTranslator, QSize
from PyQt4.QtCore import pyqtSignal, QModelIndex
from copy import deepcopy
-from fetcher.db.local import Filesystem
-from fetcher.db.distributor import Distributor
-from fetcher.interfaces.settings import Settings
-import fetcher.plugins
+from gayeogi.db.local import Filesystem
+from gayeogi.db.distributor import Distributor
+from gayeogi.interfaces.settings import Settings
+import gayeogi.plugins
version = u'0.6'
if sys.platform == 'win32':
from PyQt4.QtGui import QDesktopServices
service = QDesktopServices()
- dbPath = os.path.join(unicode(service.storageLocation(9)), u'fetcher')
+ dbPath = os.path.join(unicode(service.storageLocation(9)), u'gayeogi')
else: # Most POSIX systems, there may be more elifs in future.
- dbPath = os.path.expanduser(u'~/.config/fetcher')
+ dbPath = os.path.expanduser(u'~/.config/gayeogi')
class ADRItemDelegate(QtGui.QStyledItemDelegate):
buttonClicked = pyqtSignal(QModelIndex)
@@ -250,7 +250,7 @@ def convert2(self, data):
return (version, main, path, urls, avai)
class Main(QtGui.QMainWindow):
- __settings = QSettings(u'fetcher', u'Fetcher')
+ __settings = QSettings(u'gayeogi', u'gayeogi')
oldLib = None
def __init__(self):
QtGui.QMainWindow.__init__(self)
@@ -312,7 +312,7 @@ def __init__(self):
self.ui.albumFilter.textEdited.connect(self.filter_)
self.ui.trackFilter.textEdited.connect(self.filter_)
self.statusBar()
- self.setWindowTitle(u'Fetcher ' + version)
+ self.setWindowTitle(u'gayeogi ' + version)
self.translators = list()
self.loadPluginsTranslators()
self.loadPlugins()
@@ -334,10 +334,10 @@ def remote(self):
self.disableButtons()
self.rt.start()
def loadPluginsTranslators(self):
- reload(fetcher.plugins)
+ reload(gayeogi.plugins)
app = QtGui.QApplication.instance()
- for plugin in fetcher.plugins.__all__:
- class_ = getattr(fetcher.plugins, plugin).Main
+ for plugin in gayeogi.plugins.__all__:
+ class_ = getattr(gayeogi.plugins, plugin).Main
translator = class_.translator()
if translator:
self.translators.append(translator)
@@ -347,16 +347,16 @@ def removePluginsTranslators(self):
for translator in self.translators:
app.removeTranslator(translator)
def loadPlugins(self):
- reload(fetcher.plugins)
+ reload(gayeogi.plugins)
def depends(plugin):
- for p in fetcher.plugins.__all__:
- class_ = getattr(fetcher.plugins, p).Main
+ for p in gayeogi.plugins.__all__:
+ class_ = getattr(gayeogi.plugins, p).Main
if plugin in class_.depends and class_.loaded:
return True
return False
- for plugin in fetcher.plugins.__all__:
- class_ = getattr(fetcher.plugins, plugin).Main
- __settings_ = QSettings(u'fetcher', class_.name)
+ for plugin in gayeogi.plugins.__all__:
+ class_ = getattr(gayeogi.plugins, plugin).Main
+ __settings_ = QSettings(u'gayeogi', class_.name)
option = __settings_.value(u'enabled', 0).toInt()[0]
if option and not class_.loaded:
class__ = class_(self.ui, self.library, self.appendPlugin,
@@ -668,7 +668,7 @@ def reject():
def run():
app = QtGui.QApplication(sys.argv)
- app.setApplicationName(u'Fetcher')
+ app.setApplicationName(u'gayeogi')
locale = QLocale.system().name()
path = os.path.dirname(os.path.realpath(__file__)) + u'/langs/'
translator = QTranslator()
View
6 fetcher/plugins/__init__.py → gayeogi/plugins/__init__.py
@@ -1,4 +1,4 @@
-# This is a part of Fetcher @ http://github.com/KenjiTakahashi/Fetcher/
+# This is a part of gayeogi @ http://github.com/KenjiTakahashi/gayeogi/
# Karol "Kenji Takahashi" Wozniak (C) 2010
#
# This program is free software: you can redistribute it and/or modify
@@ -21,7 +21,7 @@
__tmp__ = []
for _, name, _ in iter_modules([dirname(realpath(__file__))]):
try:
- __import__(u'fetcher.plugins.' + name)
+ __import__(u'gayeogi.plugins.' + name)
except:
pass
else:
@@ -30,7 +30,7 @@
__all__ = []
while __tmp__:
tmp = __tmp__.pop(0)
- e = __import__(u'fetcher.plugins.' + tmp, globals(),
+ e = __import__(u'gayeogi.plugins.' + tmp, globals(),
locals(), [u'Main'], -1)
error = False
for d in e.Main.depends:
View
0  fetcher/plugins/langs/lastfm_pl_PL.qm → gayeogi/plugins/langs/lastfm_pl_PL.qm
File renamed without changes
View
0  fetcher/plugins/langs/player_pl_PL.qm → gayeogi/plugins/langs/player_pl_PL.qm
File renamed without changes
View
4 fetcher/plugins/lastfm.py → gayeogi/plugins/lastfm.py
@@ -1,4 +1,4 @@
-# This is a part of Fetcher @ http://github.com/KenjiTakahashi/Fetcher/
+# This is a part of gayeogi @ http://github.com/KenjiTakahashi/gayeogi/
# Karol "Kenji Takahashi" Wozniak (C) 2010
#
# This program is free software: you can redistribute it and/or modify
@@ -30,7 +30,7 @@ class Main(object):
__sec = u'1e4a65fba65e59cfb76adcc5af2fc3e3'
__net = None
__opt = {u'Last.FM': u'LastFMNetwork', u'Libre.FM': u'LibreFMNetwork'}
- __settings = QSettings(u'fetcher', u'Last.FM')
+ __settings = QSettings(u'gayeogi', u'Last.FM')
__sem = True
def __init__(self, parent, ___, _, __):
username = unicode(Main.__settings.value(u'username', u'').toString())
View
6 fetcher/plugins/player.py → gayeogi/plugins/player.py
@@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
-# This is a part of Fetcher @ http://github.com/KenjiTakahashi/Fetcher/
+# This is a part of gayeogi @ http://github.com/KenjiTakahashi/gayeogi/
# Karol "Kenji Takahashi" Wozniak (C) 2010 - 2011
#
# This program is free software: you can redistribute it and/or modify
@@ -158,7 +158,7 @@ class Main(QtGui.QWidget):
depends = []
trackChanged = pyqtSignal(QString, QString, QString, int)
errors = pyqtSignal(unicode, unicode, unicode, unicode)
- __settings = QSettings('fetcher', 'Player')
+ __settings = QSettings('gayeogi', 'Player')
def __init__(self, parent, library, addWidget, removeWidget):
QtGui.QWidget.__init__(self, None)
self.parent = parent
@@ -292,7 +292,7 @@ def unload(self):
self.removeWidget(u'horizontalLayout_2', self, 2)
Main.loaded = False
def QConfiguration():
- __settings = QSettings(u'fetcher', u'Player')
+ __settings = QSettings(u'gayeogi', u'Player')
widget = QtGui.QWidget()
widget.enabled = __settings.value(u'enabled', 0).toInt()[0]
widget.setSetting = lambda x, y : __settings.setValue(x, y)
View
16 setup.py
@@ -18,24 +18,24 @@
from setuptools import setup
setup(
- name = u'Fetcher',
+ name = u'gayeogi',
version = u'0.6',
description = u'A fully-featured music management suite.',
author = u'Karol "Kenji Takahashi" Woźniak',
author_email = u'wozniakk@gmail.com',
license = u'GPL3',
- url = u'http://github.com/KenjiTakahashi/fetcher',
+ url = u'http://github.com/KenjiTakahashi/gayeogi',
packages = [
- 'fetcher',
- 'fetcher.interfaces',
- 'fetcher.db',
- 'fetcher.db.bees',
- 'fetcher.plugins'
+ 'gayeogi',
+ 'gayeogi.interfaces',
+ 'gayeogi.db',
+ 'gayeogi.db.bees',
+ 'gayeogi.plugins'
],
package_data = {
'': ['langs/*.qm']
},
- scripts = [u'scripts/fetcher'],
+ scripts = [u'scripts/gayeogi'],
install_requires = [
u'mutagen'
],
Please sign in to comment.
Something went wrong with that request. Please try again.