Sure, I don't expect the answer about project activity from you =) As it's a
public mail list I hope someone else might share this information with us.
Summer is coming and may be I'll be able to resume my last year work on
sonata and make some more fixes and small enhancements so it'd be nice to
know what is the project's state now.

And what about LyricsWiki changes, I still use sonata as my primary music
player under ubuntu and I like to look through songs lyrics once in a while.
So if I notice something is broken be sure I'll try to fix it and commit to
github =)

On Wed, Apr 27, 2011 at 7:10 PM, Lazaros Koromilas <[email protected]>wrote:

> On Wed, Apr 27, 2011 at 6:46 PM, KL-7 <[email protected]> wrote:
> > Hi,
> >
> > I believe this one will do the trick.
> >
> > Lazaros, I suggest you to look through commits in multani's and my repos.
> > You might find some useful fixes there.
> >
> > And I wonder how things are going with sonata. I don't see much activity
> of
> > Paco's team on codingteam. Did they move the repo somewhere else or
> finally
> > decide against resurrecting sonata project?
>
> Hi again,
>
> These are some very helpful fixes; thank you.
> I don't have a clue about the project's activity/decisions.
> I will try to contribute through here as a first step ;)
>
> Lazaros.
>
> > On Wed, Apr 27, 2011 at 2:39 PM, Lazaros Koromilas <[email protected]>
> > wrote:
> >>
> >> On Tue, Apr 26, 2011 at 7:35 PM, KL-7 <[email protected]> wrote:
> >> > Hi,
> >> >
> >> > Something really strange happened with their markup lately, so thank
> you
> >> > for
> >> > sharing your patch. Though, I used this one for myself. It avoids
> >> > splitting
> >> > string with the tag that contains simultaneously escaped '<' and
> >> > unescaped
> >> > '>' as it looks a bit unstable for me.
> >>
> >> Yep! This seems much better, thanks ;)
> >> Another thing that needs attention is the capitalization rules, for
> >> instance
> >> for the song "Orchestral Manoeuvres In The Dark - She's Leaving" sonata
> >> will get the page:
> >>
> >>
> http://lyrics.wikia.com/index.php?title=Orchestral%20Manoeuvres%20In%20The%20Dark:She%27S%20Leaving&action=edit
> >> whereas the logical would be:
> >>
> >>
> http://lyrics.wikia.com/index.php?title=Orchestral%20Manoeuvres%20In%20The%20Dark:She%27s%20Leaving&action=edit
> >> where the lyrics actually exist.
> >>
> >> > On Tue, Apr 26, 2011 at 7:08 PM, Lazaros Koromilas <
> [email protected]>
> >> > wrote:
> >> >>
> >> >> Lyrics fetching was not functional lately,
> >> >> some changes in the markup apparently.
> >> >> This patch fixes it.
> >> >>
> >> >> diff --git a/sonata/lyricwiki.py b/sonata/lyricwiki.py
> >> >> index 0cd07fc..d4055c1 100644
> >> >> --- a/sonata/lyricwiki.py
> >> >> +++ b/sonata/lyricwiki.py
> >> >> @@ -42,10 +42,9 @@ class LyricWiki(object):
> >> >>             if content[:len(redir_tag)].lower() == redir_tag:
> >> >>                 addr =
> >> >> "http://lyricwiki.org/index.php?title=%s&action=edit"; %
> >> >> urllib.quote(content.split("[[")[1].split("]]")[0])
> >> >>                 lyricpage = urllib.urlopen(addr).read()
> >> >> -                content = re.split("<textarea[^>]*>",
> >> >> lyricpage)[1].split("</textarea>")[0]
> >> >> -                content = content.strip()
> >> >> -            lyrics =
> >> >> content.split("&lt;lyrics&gt;")[1].split("&lt;/lyrics&gt;")[0]
> >> >> -            if lyrics.strip() != "&lt;!-- PUT LYRICS HERE (and
> delete
> >> >> this entire line) --&gt;":
> >> >> +                lyrics = re.split("&lt;lyrics>",
> >> >> lyricpage)[1].split("&lt;/lyrics>")[0]
> >> >> +            if lyrics.find("PUT LYRICS HERE") == -1:
> >> >> +                lyrics = lyrics.strip()
> >> >>                 lyrics = misc.unescape_html(lyrics)
> >> >>                 lyrics = misc.wiki_to_html(lyrics)
> >> >>                 lyrics = lyrics.decode("utf-8")
> >> >> _______________________________________________
> >> >> Sonata-users mailing list
> >> >> [email protected]
> >> >> https://lists.berlios.de/mailman/listinfo/sonata-users
> >> >
> >> >
> >> >
> >> > --
> >> > Kirill
> >> >
> >> >
> >> > _______________________________________________
> >> > Sonata-users mailing list
> >> > [email protected]
> >> > https://lists.berlios.de/mailman/listinfo/sonata-users
> >> >
> >> >
> >> _______________________________________________
> >> Sonata-users mailing list
> >> [email protected]
> >> https://lists.berlios.de/mailman/listinfo/sonata-users
> >
> >
> >
> > --
> > Kirill
> >
> >
> > _______________________________________________
> > Sonata-users mailing list
> > [email protected]
> > https://lists.berlios.de/mailman/listinfo/sonata-users
> >
> >
> _______________________________________________
> Sonata-users mailing list
> [email protected]
> https://lists.berlios.de/mailman/listinfo/sonata-users
>



-- 
Kirill
_______________________________________________
Sonata-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/sonata-users

Reply via email to