1. Vladimir Kolev
  2. gSharkDown

Commits

Vladimir Kolev  committed 2dc4b7a

Fix for double posting to last.fm
Added some comments
Updated .pot file to fit the new linechanges

  • Participants
  • Parent commits bf2ade3
  • Branches default

Comments (0)

Files changed (11)

File gsharkdown.pot

View file
 msgstr ""
 "Project-Id-Version: PACKAGE VERSION\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2011-08-06 12:37+0200\n"
+"POT-Creation-Date: 2011-08-19 09:52+0200\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
 "Language-Team: LANGUAGE <LL@li.org>\n"
 "Content-Type: text/plain; charset=CHARSET\n"
 "Content-Transfer-Encoding: 8bit\n"
 
-#: gsharkdown.py:171
+#: gsharkdown.py:187
 msgid "gSharkDown : Download from Grooveshark"
 msgstr ""
 
-#: gsharkdown.py:217
+#: gsharkdown.py:240
 msgid "Error saving the playlist"
 msgstr ""
 
-#: gsharkdown.py:221 data/main_window.ui.h:22
+#: gsharkdown.py:248 data/main_window.ui.h:22
 msgid "Save playlist to file"
 msgstr ""
 
-#: gsharkdown.py:236
+#: gsharkdown.py:266
 msgid "Select Playlist to open"
 msgstr ""
 
-#: gsharkdown.py:242
+#: gsharkdown.py:272
 msgid "Playlist files"
 msgstr ""
 
-#: gsharkdown.py:287 data/about_dialog.ui.h:7
+#: gsharkdown.py:317 data/about_dialog.ui.h:7
 msgid "Check for update"
 msgstr ""
 
-#: gsharkdown.py:319
+#: gsharkdown.py:354
 msgid "New update"
 msgstr ""
 
-#: gsharkdown.py:320
+#: gsharkdown.py:355
 msgid "To update to the latest version click on the button "
 msgstr ""
 
-#: gsharkdown.py:321
+#: gsharkdown.py:356
 msgid ""
 "'Update'\n"
 "and download it. After that you can "
 msgstr ""
 
-#: gsharkdown.py:322
+#: gsharkdown.py:357
 msgid "remove the old one and install the new gSharkDown"
 msgstr ""
 
-#: gsharkdown.py:323
+#: gsharkdown.py:358
 #, python-format
 msgid "<b>New version <i>%s</i> is available</b>"
 msgstr ""
 
-#: gsharkdown.py:339
+#: gsharkdown.py:374
 msgid "No updates"
 msgstr ""
 
-#: gsharkdown.py:340
+#: gsharkdown.py:375
 msgid "Congratulations!\n"
 msgstr ""
 
-#: gsharkdown.py:341
+#: gsharkdown.py:376
 msgid "<b>You are using the latest version!</b>"
 msgstr ""
 
-#: gsharkdown.py:369 gsharkdown.py:394
+#: gsharkdown.py:404 gsharkdown.py:429
 msgid "Title"
 msgstr ""
 
-#: gsharkdown.py:374 gsharkdown.py:399
+#: gsharkdown.py:409 gsharkdown.py:434
 msgid "Artist"
 msgstr ""
 
-#: gsharkdown.py:379
+#: gsharkdown.py:414
 msgid "Album"
 msgstr ""
 
-#: gsharkdown.py:384 gsharkdown.py:404
+#: gsharkdown.py:419 gsharkdown.py:439
 msgid "SongID"
 msgstr ""
 
-#: gsharkdown.py:415
+#: gsharkdown.py:450
 msgid "Are you sure to quit?"
 msgstr ""
 
-#: gsharkdown.py:416
+#: gsharkdown.py:451
 msgid "Quit?"
 msgstr ""
 
-#: gsharkdown.py:586
+#: gsharkdown.py:630
 msgid "Song Information - {songid}"
 msgstr ""
 
-#: gsharkdown.py:587
+#: gsharkdown.py:631
 msgid "<b>Filename:</b> {artist} - {title}.mp3\n"
 msgstr ""
 
-#: gsharkdown.py:589
+#: gsharkdown.py:633
 msgid "<b>Artist:</b> {artist}\n"
 msgstr ""
 
-#: gsharkdown.py:590
+#: gsharkdown.py:634
 msgid "<b>Title:</b> {title}\n"
 msgstr ""
 
-#: gsharkdown.py:592
+#: gsharkdown.py:636
 msgid "<b>Duration:</b> {mins}:{secs} min\n"
 msgstr ""
 
-#: gsharkdown.py:594
+#: gsharkdown.py:638
 msgid "<b>Album:</b> {album}\n"
 msgstr ""
 
-#: gsharkdown.py:595
+#: gsharkdown.py:639
 msgid "<b>Year:</b> {year}\n"
 msgstr ""
 
-#: gsharkdown.py:693
+#: gsharkdown.py:743
 msgid "Select destination directory"
 msgstr ""
 
-#: gsharkdown.py:794
+#: gsharkdown.py:845
 msgid "Playing: {artist} - {title}"
 msgstr ""
 
-#: gsharkdown.py:798
+#: gsharkdown.py:849
 msgid "<b>Playing:</b> {artist} - {title}"
 msgstr ""
 
-#: gsharkdown.py:802
+#: gsharkdown.py:853
 msgid "Now playing"
 msgstr ""
 
-#: gsharkdown.py:809
+#: gsharkdown.py:860
 msgid "gSharkDown: GrooveShark Downloader"
 msgstr ""
 
 msgid "Ready"
 msgstr ""
 
-#: lib/tfuncs.py:130
+#: lib/tfuncs.py:134
 msgid "gSharkDown : Grooveshark Downloader"
 msgstr ""
 

File gsharkdown.py

View file
     downloads = []
     working = None
     playing = None
+    # just to prevend scrobbeling more then once for 
+    # track.
+    scrobbled = 0
 
     def __init__(self):
         """
         self.window.show_all()
 
     def load_saved_playlist(self, path):
+        """
+        Loads the saved playlist from .pkl file
+        """
         file = open(path, 'rb')
         eoferror = True
         while eoferror:
                 self.playitems[i]['SongID']
                 ])
     def save_playlist(self, path):
+        """
+        Saves the playlist from the playlist treeview to 
+        /home/$USER/.gsharkdown/playlist.pkl
+        """
         try:
             output = open(path, 'w')
             for i in range(0, len(self.playitems)):
 
 
     def save_as_playlist(self, widget, data=None):
+        """
+        Saves the playlist to .pkl file in directory
+        choosen from the user
+        """
         savedlg = gtk.FileChooserDialog(_("Save playlist to file"),
                                        None,
                                        gtk.FILE_CHOOSER_ACTION_SAVE,
         savedlg.destroy()
 
     def open_saved_playlist(self, widget, data=None):
+        """
+        Opens a usersaved playlist from .pkl file
+        """
         opendlg = gtk.FileChooserDialog(_("Select Playlist to open"),
                                        None,
                                        gtk.FILE_CHOOSER_ACTION_OPEN,
 
     def window_close(self, widget, data=None):
         """
-        How to act on closing the window
+        Closes the main window
         """
         if int(CONFIG['show_stat_icon']) == 0:
             self.window.hide_on_delete()
                   button, time, icon)
 
     def check_for_update(self, widget, data=None):
+        """
+        Checks if a new version of the application is available
+        on the application website. NEVER change the VERSION file
+        manually!
+        """
         local = open('%s/VERSION' % BASEPATH, 'r')
         localversion = local.read().replace("\n", "")
         checkurl = 'http://bitbucket.org/vkolev/gsharkdown/raw/tip/VERSION'
         CONFIG.write()
 
     def double_click_start(self, path, column, data=None):
+        """
+        Starts playling on double click event on the playlist
+        treeview.
+        """
         self.player.set_state(gst.STATE_NULL)
         self.play_button.set_stock_id(gtk.STOCK_MEDIA_STOP)
         song = self.playitems[column[0]]
         t.start()
 
     def add_and_play_result(self, path, column, data=None):
+        """
+        On double click in the search treeview the item is added to 
+        the playlist and starts playling.
+        """
         song = self.results[column[0]]
         self.playitems.append(song)
         self.playlist.append([song['SongName'],
         """
         Plays the previous song from the playlist
         """
+        self.scrobbled = 0
         if self.playing == None:
             self.play_selected(self.play_button)
         else:
             if self.playlist.iter_n_children(None) <= 0:
                 pass
             else:
+                self.scrobbled = 0
                 song = self.playitems[0]
                 self.set_songinfos(song)
                 self.playing = 0
 
     def get_stream_url(self):
         """
-        Not used at the momment
+        Not used at the momment, but should be implemented
+        with an short url to share with friends.
         """
         pass
 

File lib/groove.py

View file
 
 
 def prepToken(method, sectoken):
+    """
+    Method to create the tocken for the request.
+    """
     rnd = (''.join(random.choice(string.hexdigits) for x in range(6))).lower()
     hashs = hashlib.sha1(
         method + ":" + _token + sectoken + rnd).hexdigest()
 
 
 def getToken():
+    """
+    Gets a token from the grooveshark.com service
+    """
     global h, _token
     p = {}
     p["parameters"] = {}
 
 
 def getSearchResultsEx(query, type="Songs"):
+    """
+    Method to get the search results from the gs service
+    and returns them as dictionary.
+    """
     p = {}
     p["parameters"] = {}
     p["parameters"]["type"] = type
 
 
 def getStreamKeyFromSongIDEx(id):
+    """
+    Gets the stream URL for Song ID
+    """
     p = {}
     p["parameters"] = {}
     p["parameters"]["mobile"] = "false"

File lib/lyrdblib.py

View file
 import sys
 import os
 
-__doc__ = """Lyrbrary to work with the lyrdb webservices"""
+"""
+A simple library for searching lyrics in the lyrdb
+and the chartlyrics webservices.
+"""
+
+__doc__ = """Lyrbrary to work with the lyrdb and chartlyrics webservices"""
 __author__ = "Vladimir Kolev <vladimir.r.kolev@gmail.com>"
 __version__ = 1.0
 __license__ = "GNU General Public License v.3"
 basepath = os.path.abspath(os.path.dirname(sys.argv[0]).strip("/lib"))
 
 def search(artist, track, method="match"):
+    """
+    Executes the 2 search methods in a row trying to 
+    find lyrics for the desired artist and track.
+    """
     first = searchlyr(artist, track, method)
     if "error" in first:
         second = searchchart(artist, track)
 
 
 def getlyrics(songid):
+    """
+    Retrieves the lyrics text from the lyrdb webserice
+    with gives songid as parameter.
+    """
     req = urllib2.urlopen(GETLYR_URL % songid)
     lyric = req.read()
     return lyric
 
 def searchlyr(artist, track, method):
+    """
+    Searches the lyrdb webservice and returns the songID in the
+    lyrdb webservice
+    """
     query = artist.replace(" ", "+")
     query += "|"
     query += track.replace(" ", "+")
     return resp
 
 def searchchart(artist, track):
+    """
+    Searches the Chartlyrics and returns the lyrics if found
+    """
     artist = artist.replace(" ", "%20")
     track = track.replace(" ", "%20")
 

File lib/tfuncs.py

View file
         self.win.player.set_property('uri', play_url)
         self.win.player.set_state(gst.STATE_PLAYING)
         if self.lastfm != "":
-            self.lastfm.scrobble(self.song['ArtistName'],
+            if self.win.scrobbled == 0:
+                self.lastfm.scrobble(self.song['ArtistName'],
                                     self.song['SongName'],
                                     int(time.time()))
-            self.lastfm.update_now_playing(self.song['ArtistName'],
+                self.lastfm.update_now_playing(self.song['ArtistName'],
                                               self.song['SongName'])
+                self.win.scrobbled = 1
+            else:
+                pass
         bus = self.win.player.get_bus()
         bus.enable_sync_message_emission()
         bus.add_signal_watch()

File locale/bg_BG/LC_MESSAGES/gsharkdown.mo

Binary file modified.

File locale/bg_BG/LC_MESSAGES/gsharkdown.po

View file
 msgstr ""
 "Project-Id-Version: gsharkdown\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2011-08-06 12:37+0200\n"
-"PO-Revision-Date: 2011-08-06 12:38+0100\n"
+"POT-Creation-Date: 2011-08-19 09:52+0200\n"
+"PO-Revision-Date: 2011-08-19 09:53+0100\n"
 "Last-Translator: Vladimir Kolev <vladi@vladimirkolev.com>\n"
 "Language-Team: Bulgarian\n"
 "MIME-Version: 1.0\n"
 "X-Poedit-Country: BULGARIA\n"
 "X-Poedit-SourceCharset: utf-8\n"
 
-#: gsharkdown.py:171
+#: gsharkdown.py:187
 msgid "gSharkDown : Download from Grooveshark"
 msgstr "gSharkDown : Изтегляй от Grooveshark"
 
-#: gsharkdown.py:217
+#: gsharkdown.py:240
 msgid "Error saving the playlist"
 msgstr "Грешка при записването на списъка с песни"
 
-#: gsharkdown.py:221
+#: gsharkdown.py:248
 #: data/main_window.ui.h:22
 msgid "Save playlist to file"
 msgstr "Запиши списъка с песни във файл"
 
-#: gsharkdown.py:236
+#: gsharkdown.py:266
 msgid "Select Playlist to open"
 msgstr "Изберете списък с песни"
 
-#: gsharkdown.py:242
+#: gsharkdown.py:272
 msgid "Playlist files"
 msgstr "Списъци с песни"
 
-#: gsharkdown.py:287
+#: gsharkdown.py:317
 #: data/about_dialog.ui.h:7
 msgid "Check for update"
 msgstr "Провери за нова версия"
 
-#: gsharkdown.py:319
+#: gsharkdown.py:354
 msgid "New update"
 msgstr "Нова версия"
 
-#: gsharkdown.py:320
+#: gsharkdown.py:355
 msgid "To update to the latest version click on the button "
 msgstr "За да обновите до последната версия изберете бутона"
 
-#: gsharkdown.py:321
+#: gsharkdown.py:356
 msgid ""
 "'Update'\n"
 "and download it. After that you can "
 "'Изпълни'\n"
 "и я изтеглете. След това можете да"
 
-#: gsharkdown.py:322
+#: gsharkdown.py:357
 msgid "remove the old one and install the new gSharkDown"
 msgstr "премахнете старата версия и да инсталирате новия gSharkDown"
 
-#: gsharkdown.py:323
+#: gsharkdown.py:358
 #, python-format
 msgid "<b>New version <i>%s</i> is available</b>"
 msgstr "<b>Достъпна е нова версия <i>%s</i></b>"
 
-#: gsharkdown.py:339
+#: gsharkdown.py:374
 msgid "No updates"
 msgstr "Няма нови версии"
 
-#: gsharkdown.py:340
+#: gsharkdown.py:375
 msgid "Congratulations!\n"
 msgstr "Поздравления!\n"
 
-#: gsharkdown.py:341
+#: gsharkdown.py:376
 msgid "<b>You are using the latest version!</b>"
 msgstr "<b>Вие използвате последната версия!</b>"
 
-#: gsharkdown.py:369
-#: gsharkdown.py:394
+#: gsharkdown.py:404
+#: gsharkdown.py:429
 msgid "Title"
 msgstr "Заглавие"
 
-#: gsharkdown.py:374
-#: gsharkdown.py:399
+#: gsharkdown.py:409
+#: gsharkdown.py:434
 msgid "Artist"
 msgstr "Изпълнител"
 
-#: gsharkdown.py:379
+#: gsharkdown.py:414
 msgid "Album"
 msgstr "Албум"
 
-#: gsharkdown.py:384
-#: gsharkdown.py:404
+#: gsharkdown.py:419
+#: gsharkdown.py:439
 msgid "SongID"
 msgstr "SongID"
 
-#: gsharkdown.py:415
+#: gsharkdown.py:450
 msgid "Are you sure to quit?"
 msgstr "Наистина изключване на програмата?"
 
-#: gsharkdown.py:416
+#: gsharkdown.py:451
 msgid "Quit?"
 msgstr "Изход?"
 
-#: gsharkdown.py:586
+#: gsharkdown.py:630
 msgid "Song Information - {songid}"
 msgstr "Информация за песента - {songid}"
 
-#: gsharkdown.py:587
+#: gsharkdown.py:631
 msgid "<b>Filename:</b> {artist} - {title}.mp3\n"
 msgstr "<b>Име на файла:</b> {artist} - {title}.mp3\n"
 
-#: gsharkdown.py:589
+#: gsharkdown.py:633
 msgid "<b>Artist:</b> {artist}\n"
 msgstr "<b>Изпълнител:</b> {artist}\n"
 
-#: gsharkdown.py:590
+#: gsharkdown.py:634
 msgid "<b>Title:</b> {title}\n"
 msgstr "<b>Заглавие:</b> {title}\n"
 
-#: gsharkdown.py:592
+#: gsharkdown.py:636
 msgid "<b>Duration:</b> {mins}:{secs} min\n"
 msgstr "<b>Времетраене:</b> {mins}:{secs} min\n"
 
-#: gsharkdown.py:594
+#: gsharkdown.py:638
 msgid "<b>Album:</b> {album}\n"
 msgstr "<b>Албум:</b> {album}\n"
 
-#: gsharkdown.py:595
+#: gsharkdown.py:639
 msgid "<b>Year:</b> {year}\n"
 msgstr "<b>Година:</b> {year}\n"
 
-#: gsharkdown.py:693
+#: gsharkdown.py:743
 msgid "Select destination directory"
 msgstr "Изберете дестинация за записване"
 
-#: gsharkdown.py:794
+#: gsharkdown.py:845
 msgid "Playing: {artist} - {title}"
 msgstr "Свири: {artist} - {title}"
 
-#: gsharkdown.py:798
+#: gsharkdown.py:849
 msgid "<b>Playing:</b> {artist} - {title}"
 msgstr "<b>Свири:</b> {artist} - {title}"
 
-#: gsharkdown.py:802
+#: gsharkdown.py:853
 msgid "Now playing"
 msgstr "В момента свири"
 
-#: gsharkdown.py:809
+#: gsharkdown.py:860
 msgid "gSharkDown: GrooveShark Downloader"
 msgstr "gSharkDown: GrooveShark Downloader"
 
 msgid "Ready"
 msgstr "Готов"
 
-#: lib/tfuncs.py:130
+#: lib/tfuncs.py:134
 msgid "gSharkDown : Grooveshark Downloader"
 msgstr "gSharkDown : Grooveshark Downloader"
 

File locale/de_DE/LC_MESSAGES/gsharkdown.mo

Binary file modified.

File locale/de_DE/LC_MESSAGES/gsharkdown.po

View file
 msgstr ""
 "Project-Id-Version: gsharkdown\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2011-08-06 12:37+0200\n"
-"PO-Revision-Date: 2011-08-06 12:38+0100\n"
+"POT-Creation-Date: 2011-08-19 09:52+0200\n"
+"PO-Revision-Date: 2011-08-19 09:53+0100\n"
 "Last-Translator: Vladimir Kolev <vladi@vladimirkolev.com>\n"
 "Language-Team: German <de@li.org>\n"
 "MIME-Version: 1.0\n"
 "X-Launchpad-Export-Date: 2011-08-04 21:20+0000\n"
 "X-Generator: Launchpad (build 13604)\n"
 
-#: gsharkdown.py:171
+#: gsharkdown.py:187
 msgid "gSharkDown : Download from Grooveshark"
 msgstr "gSharkDown : von Grooveshark herunterladen"
 
-#: gsharkdown.py:217
+#: gsharkdown.py:240
 msgid "Error saving the playlist"
 msgstr "Fehler beim Speicher der Wiedergabeliste"
 
-#: gsharkdown.py:221
+#: gsharkdown.py:248
 #: data/main_window.ui.h:22
 msgid "Save playlist to file"
 msgstr "Wiedergabeliste in Datei speichern"
 
-#: gsharkdown.py:236
+#: gsharkdown.py:266
 msgid "Select Playlist to open"
 msgstr "Wiedergabeliste auswählen"
 
-#: gsharkdown.py:242
+#: gsharkdown.py:272
 msgid "Playlist files"
 msgstr "Wiedergabeliste-Dateien"
 
-#: gsharkdown.py:287
+#: gsharkdown.py:317
 #: data/about_dialog.ui.h:7
 msgid "Check for update"
 msgstr "Nach Updates suchen"
 
-#: gsharkdown.py:319
+#: gsharkdown.py:354
 msgid "New update"
 msgstr "Neues Update"
 
-#: gsharkdown.py:320
+#: gsharkdown.py:355
 msgid "To update to the latest version click on the button "
 msgstr "Um auf die neueste Version zu upgraden klicken sie Bitte auf "
 
-#: gsharkdown.py:321
+#: gsharkdown.py:356
 msgid ""
 "'Update'\n"
 "and download it. After that you can "
 msgstr "'Ausführen' button und laden Sie die runter. Danach können Sie "
 
-#: gsharkdown.py:322
+#: gsharkdown.py:357
 msgid "remove the old one and install the new gSharkDown"
 msgstr "die alte Version löschen und den neuen gSharkDown installieren."
 
-#: gsharkdown.py:323
+#: gsharkdown.py:358
 #, python-format
 msgid "<b>New version <i>%s</i> is available</b>"
 msgstr "<b>Version <i>%s</i> ist verfügbar</b>"
 
-#: gsharkdown.py:339
+#: gsharkdown.py:374
 msgid "No updates"
 msgstr "Keine Aktualisierungen"
 
-#: gsharkdown.py:340
+#: gsharkdown.py:375
 msgid "Congratulations!\n"
 msgstr "Glückwunsch!\n"
 
-#: gsharkdown.py:341
+#: gsharkdown.py:376
 msgid "<b>You are using the latest version!</b>"
 msgstr "<b>Sie benutzen die neueste Version!</b>"
 
-#: gsharkdown.py:369
-#: gsharkdown.py:394
+#: gsharkdown.py:404
+#: gsharkdown.py:429
 msgid "Title"
 msgstr "Titel"
 
-#: gsharkdown.py:374
-#: gsharkdown.py:399
+#: gsharkdown.py:409
+#: gsharkdown.py:434
 msgid "Artist"
 msgstr "Künstler"
 
-#: gsharkdown.py:379
+#: gsharkdown.py:414
 msgid "Album"
 msgstr "Album"
 
-#: gsharkdown.py:384
-#: gsharkdown.py:404
+#: gsharkdown.py:419
+#: gsharkdown.py:439
 msgid "SongID"
 msgstr "SongID"
 
-#: gsharkdown.py:415
+#: gsharkdown.py:450
 msgid "Are you sure to quit?"
 msgstr "Sind Sie Sicher zu beenden?"
 
-#: gsharkdown.py:416
+#: gsharkdown.py:451
 msgid "Quit?"
 msgstr "Beenden?"
 
-#: gsharkdown.py:586
+#: gsharkdown.py:630
 msgid "Song Information - {songid}"
 msgstr "Lied Information - {songid}"
 
-#: gsharkdown.py:587
+#: gsharkdown.py:631
 msgid "<b>Filename:</b> {artist} - {title}.mp3\n"
 msgstr "<b>Dateiname:</b> {artist} - {title}.mp3\n"
 
-#: gsharkdown.py:589
+#: gsharkdown.py:633
 msgid "<b>Artist:</b> {artist}\n"
 msgstr "<b>Künstler:</b> {artist}\n"
 
-#: gsharkdown.py:590
+#: gsharkdown.py:634
 msgid "<b>Title:</b> {title}\n"
 msgstr "<b>Titel:</b> {title}\n"
 
-#: gsharkdown.py:592
+#: gsharkdown.py:636
 msgid "<b>Duration:</b> {mins}:{secs} min\n"
 msgstr "<b>Länge:</b> {mins}:{secs} min\n"
 
-#: gsharkdown.py:594
+#: gsharkdown.py:638
 msgid "<b>Album:</b> {album}\n"
 msgstr "<b>Album:</b> {album}\n"
 
-#: gsharkdown.py:595
+#: gsharkdown.py:639
 msgid "<b>Year:</b> {year}\n"
 msgstr "<b>Jahr:</b> {year}\n"
 
-#: gsharkdown.py:693
+#: gsharkdown.py:743
 msgid "Select destination directory"
 msgstr "Zielverzeichnis auswählen"
 
-#: gsharkdown.py:794
+#: gsharkdown.py:845
 msgid "Playing: {artist} - {title}"
 msgstr "Abspielen: {artist} - {title}"
 
-#: gsharkdown.py:798
+#: gsharkdown.py:849
 msgid "<b>Playing:</b> {artist} - {title}"
 msgstr "<b>Abspielen:</b> {artist} - {title}"
 
-#: gsharkdown.py:802
+#: gsharkdown.py:853
 msgid "Now playing"
 msgstr "Wiedergabe von"
 
-#: gsharkdown.py:809
+#: gsharkdown.py:860
 msgid "gSharkDown: GrooveShark Downloader"
 msgstr "gSharkDown: GrooveShark Downloader"
 
 msgid "Ready"
 msgstr "Bereit"
 
-#: lib/tfuncs.py:130
+#: lib/tfuncs.py:134
 msgid "gSharkDown : Grooveshark Downloader"
 msgstr "SharkDown : Grooveshark Downloader"
 

File locale/it_IT/LC_MESSAGES/gsharkdown.mo

Binary file modified.

File locale/it_IT/LC_MESSAGES/gsharkdown.po

View file
 msgstr ""
 "Project-Id-Version: gsharkdown\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2011-08-06 12:37+0200\n"
-"PO-Revision-Date: 2011-08-06 12:37+0100\n"
+"POT-Creation-Date: 2011-08-19 09:52+0200\n"
+"PO-Revision-Date: 2011-08-19 09:54+0100\n"
 "Last-Translator: Vladimir Kolev <vladi@vladimirkolev.com>\n"
 "Language-Team: Italiano\n"
 "MIME-Version: 1.0\n"
 "X-Poedit-Country: ITALIA\n"
 "X-Poedit-SourceCharset: utf-8\n"
 
-#: gsharkdown.py:171
+#: gsharkdown.py:187
 msgid "gSharkDown : Download from Grooveshark"
 msgstr "gSharkDown : Scarica da Grooveshark"
 
-#: gsharkdown.py:217
+#: gsharkdown.py:240
 msgid "Error saving the playlist"
 msgstr "Errore nel salvataggio della playlist"
 
-#: gsharkdown.py:221
+#: gsharkdown.py:248
 #: data/main_window.ui.h:22
 msgid "Save playlist to file"
 msgstr "Salva la playlist in un file"
 
-#: gsharkdown.py:236
+#: gsharkdown.py:266
 msgid "Select Playlist to open"
 msgstr "Seleziona la Playlist da aprire"
 
-#: gsharkdown.py:242
+#: gsharkdown.py:272
 msgid "Playlist files"
 msgstr "Files della Playlist"
 
-#: gsharkdown.py:287
+#: gsharkdown.py:317
 #: data/about_dialog.ui.h:7
 msgid "Check for update"
 msgstr "Controlla eventuali aggiornamenti"
 
-#: gsharkdown.py:319
+#: gsharkdown.py:354
 msgid "New update"
 msgstr "Nuovo aggiornamento"
 
-#: gsharkdown.py:320
+#: gsharkdown.py:355
 msgid "To update to the latest version click on the button "
 msgstr "Per aggiornare all'ultima versione fai click sul pulsante "
 
-#: gsharkdown.py:321
+#: gsharkdown.py:356
 msgid ""
 "'Update'\n"
 "and download it. After that you can "
 "'Aggiorna'\n"
 "e scarica. Appena possibile"
 
-#: gsharkdown.py:322
+#: gsharkdown.py:357
 msgid "remove the old one and install the new gSharkDown"
 msgstr "rimuovi il vecchio ed installa il nuovo gSharkDown"
 
-#: gsharkdown.py:323
+#: gsharkdown.py:358
 #, python-format
 msgid "<b>New version <i>%s</i> is available</b>"
 msgstr "<b>Una nuova versione <i>%s</i> è disponibile</b>"
 
-#: gsharkdown.py:339
+#: gsharkdown.py:374
 msgid "No updates"
 msgstr "Nessun aggiornamento"
 
-#: gsharkdown.py:340
+#: gsharkdown.py:375
 msgid "Congratulations!\n"
 msgstr "Congratulazioni!\n"
 
-#: gsharkdown.py:341
+#: gsharkdown.py:376
 msgid "<b>You are using the latest version!</b>"
 msgstr "<b>Stai usando l'ultima versione disponibile!</b>"
 
-#: gsharkdown.py:369
-#: gsharkdown.py:394
+#: gsharkdown.py:404
+#: gsharkdown.py:429
 msgid "Title"
 msgstr "Titolo"
 
-#: gsharkdown.py:374
-#: gsharkdown.py:399
+#: gsharkdown.py:409
+#: gsharkdown.py:434
 msgid "Artist"
 msgstr "Artista"
 
-#: gsharkdown.py:379
+#: gsharkdown.py:414
 msgid "Album"
 msgstr "Album"
 
-#: gsharkdown.py:384
-#: gsharkdown.py:404
+#: gsharkdown.py:419
+#: gsharkdown.py:439
 msgid "SongID"
 msgstr "IDBrano"
 
-#: gsharkdown.py:415
+#: gsharkdown.py:450
 msgid "Are you sure to quit?"
 msgstr "Vuoi veramente chiudere?"
 
-#: gsharkdown.py:416
+#: gsharkdown.py:451
 msgid "Quit?"
 msgstr "Chiudo?"
 
-#: gsharkdown.py:586
+#: gsharkdown.py:630
 msgid "Song Information - {songid}"
 msgstr "Informazioni Brano - {songid}"
 
-#: gsharkdown.py:587
+#: gsharkdown.py:631
 msgid "<b>Filename:</b> {artist} - {title}.mp3\n"
 msgstr "<b>Nome file:</b> {artist} - {title}.mp3\n"
 
-#: gsharkdown.py:589
+#: gsharkdown.py:633
 msgid "<b>Artist:</b> {artist}\n"
 msgstr "<b>Artista:</b> {artist}\n"
 
-#: gsharkdown.py:590
+#: gsharkdown.py:634
 msgid "<b>Title:</b> {title}\n"
 msgstr "<b>Titolo:</b> {title}\n"
 
-#: gsharkdown.py:592
+#: gsharkdown.py:636
 msgid "<b>Duration:</b> {mins}:{secs} min\n"
 msgstr "<b>Durata:</b> {mins}:{secs} min\n"
 
-#: gsharkdown.py:594
+#: gsharkdown.py:638
 msgid "<b>Album:</b> {album}\n"
 msgstr "<b>Album:</b> {album}\n"
 
-#: gsharkdown.py:595
+#: gsharkdown.py:639
 msgid "<b>Year:</b> {year}\n"
 msgstr "<b>Anno</b> {year}\n"
 
-#: gsharkdown.py:693
+#: gsharkdown.py:743
 msgid "Select destination directory"
 msgstr "Seleziona la directory di destinazione"
 
-#: gsharkdown.py:794
+#: gsharkdown.py:845
 msgid "Playing: {artist} - {title}"
 msgstr "Riproduci: {artist} - {title}"
 
-#: gsharkdown.py:798
+#: gsharkdown.py:849
 msgid "<b>Playing:</b> {artist} - {title}"
 msgstr "<b>Riproduci:</b> {artist} - {title}"
 
-#: gsharkdown.py:802
+#: gsharkdown.py:853
 msgid "Now playing"
 msgstr "In riproduzione"
 
-#: gsharkdown.py:809
+#: gsharkdown.py:860
 msgid "gSharkDown: GrooveShark Downloader"
 msgstr "gSharkDown: GrooveShark Downloader"
 
 msgid "Ready"
 msgstr "Pronto"
 
-#: lib/tfuncs.py:130
+#: lib/tfuncs.py:134
 msgid "gSharkDown : Grooveshark Downloader"
 msgstr "gSharkDown : Grooveshark Downloader"