Wiki-Lyrics

Amarok 1.x Scripts by attendant 191 comments

Quote:I'm sure you can somehow determine the library version after loading the module and before using any "dangerous" calls. Can't help you here cause I know nothing about ruby and qt, but I'm sure it's not very difficult (e.g. use some method/variable/constant which gives you Qt version or call to function only implemented in qt4 and catch an exception, etc.).
yes, i can determine the library version after loading the module, but it's not reasonable to expect developers to write code to handle this (you should be able to know in advance wtf you're loading). loading a toolkit that you're not going to use wastes times and memory. you won't notice it when using the Amarok script but you probably will when using the CLI. nevertheless, i don't see a better way to work around this issue, so i'll do it for the next release.

Quote:I think, as a sane man you understand that there are users of distributions other than gentoo. If you want that more users will be able to use your script and the popularity of your plugin will grow, one of the best ways is to make it "just work" for the end user. Everybody will benefit from such a situation.
i'm no gentoo fanboy nor i meant to start a distro flamewar (on the other hand, you seem to do). i was only pointing that there are more reasonable ways for a distro to install the qtruby bindings (such as the way the distro i'm using now does).
about providing a solution that "just work" (how i hate those words...), you're missing the obvious: i've written the ridiculous amount of 4 gui backends to make this usable by as many people and as easily as possible, so please refrain yourself from bashing just because you are having a problem (have i already pointed out that you're barking at the wrong tree?). oh, and thanks for reassuring i'm sane... if i didn't know any better i'd say you're implying the opposite.
- May 22 2007
transKode

Audio Apps by attendant 84 comments

very much possible and easy to implement (added to todo list).
unfortunately due to lack of time, next release is far away... possibly after KDE4. - May 20 2007
Wiki-Lyrics

Amarok 1.x Scripts by attendant 191 comments

unfortunately is a bit more complicated... if i change it like that and the user has qt3 ruby bindings, the qt4 GUI would seem to load correctly but will crash when used since it was expecting the other version (check one of the reports above for a similar report but the other way around).
i don't know why there's no Qt4.rb file in ubuntu (there is in gentoo) but, without it, i don't see a reliable way to figure out what version/s of qt bindings is/are installed (and hence no real fix to this problem).
i'm open to suggestions, but the fix will probably have to come from ubuntu itself (the reports seem come from people using this distro). - May 18 2007
Wiki-Lyrics

Amarok 1.x Scripts by attendant 191 comments

are you seeing the "you need qtruby, ruby/gtk or ruby/tk to run the script" or it's just silently failing? - May 08 2007
Wiki-Lyrics

Amarok 1.x Scripts by attendant 191 comments

there's a conflict with the qtruby bindings (i'm using qt3 but you have qt4). i'll release a version with a qt4 backend soon. - Apr 27 2007
Wiki-Lyrics

Amarok 1.x Scripts by attendant 191 comments

i'm not sure what the problem is, but i can't tell by that output that your using a pretty old version. please, uninstall lyriki-lyrics and install the latest wiki-lyrics and let me know if you still have this problem. - Apr 22 2007
transKode

Audio Apps by attendant 84 comments

yes, that's correct. - Mar 12 2007
transKode

Amarok 1.x Scripts by attendant 126 comments

i must have inadvertently removed the link to the non script page: http://www.kde-apps.org/content/show.php?content=37669
project is hosted at sourceforge so you can download the source directly from there http://sourceforge.net/project/downloading.php?groupname=transkode&filename=transkode-0.6.tar.bz2&use_mirror=ufpr
- Mar 09 2007
transKode

Amarok 1.x Scripts by attendant 126 comments

if i understand you correctly, the script shows as running but the config dialog doesn't appear after pressing the config button (let me know that's not what you meant).
please, tell me what happens when you run this from a console:
$ echo "configure" | "$HOME/.kde/share/apps/amarok/scripts/transkode/transkode"
- Feb 17 2007
Wiki-Lyrics

Amarok 1.x Scripts by attendant 191 comments

that will be great. it just seems to me that implementing the itrans to devanagari conversion is not a trivial task. the conversion from devanagari to itrans i implemented is rather poor (making it right would require a far greater understanding of the issue than mine, and a lot more time too). is only somewhat useful because, from a user point of view, it operates under the hood (the user doesn't get to see those pitiful itrans results...). the inverse conversion is what the user ends up seeing, so it would have to be better than that (if that wasn't the case, i would have simply reversed my algorithm).
anyway, you do probably have a much better understanding of this than me. if you feel like doing it, it would be very useful.
- Feb 04 2007
FALF Player

Audio Apps by amdfanatyk 118 comments

wow! i would have never guessed that someone with your comprehension problems could find it's way to the reply button. good for you.
still, i can't help to think your laughter is somehow related to the fact you didn't understand anything i said. - Feb 03 2007
Wiki-Lyrics

Amarok 1.x Scripts by attendant 191 comments

damm, bugs already =)... there's for sure one at least: to show suggestions for all running scripts, now each one has to declare if it can handle any given url. the default implementation works for most cases but not for giitaayan (i'll recheck the other sites as well to be sure). for now add this method to the Giitaayan class (lyrics_giitaayan.rb):
def Giitaayan.known_url?( url )
return url.index( 'http://s94437128.onlinehome.us/isb/cisb/' ) == 0
end
it works for me now, but i'm not sure it will for you for what you wrote. it seems there's something else wrong... have you replaced the provided version of itrans with your own x86_64 version? (that's what you should do). if so, is there any difference in their usage (or output) compared to the x86 version i should now about?

p.s.: config option never lists the running script with the others, as this is always queried first (and in the past was the one whose suggestions were shown). i'll probably change that in the future and have only one script in charge of managing the sites to query (i just haven't figured out all details of this yet). - Feb 01 2007
FALF Player

Audio Apps by amdfanatyk 118 comments

since you seem to have the (fucking) right to criticize both amarok and qxplayer, it follows that you are paying both teams to develop their projects...
i admit that i have no idea of what's changed with FALF. i certainly don't use this app from svn (i don't use it at all actually) but then again an svn commit doesn't merit an "update" notice (how many apps would pop up as "updated" every day this way?).
you have misinterpreted the rest of my post, i was not "demanding" that you spend more time coding, but that you spend less time bashing other people's work. there's usually no need to pay for that... - Jan 31 2007
FALF Player

Audio Apps by amdfanatyk 118 comments

why on earth does this program keeps popping out on kde-apps every few days as updated when no change at all has been made. it seems worst to me than having a 1.0x release the first week of the project, and then having 29 pre releases and a few release candidates... i guess it's all about appearances.
perhaps you should concentrate more on coding and less on bashing other projects (amarok and qxplayer comes to mind). - Jan 31 2007
transKode

Audio Apps by attendant 84 comments

Thanks! I included it with very minor modifications. - Jan 31 2007
iTRANS Amarok Script

Amarok 1.x Scripts by cyrus007 15 comments

I made some changes to it, such as adding a (not very good) Devanagari to ITRANS conversion to allow searching lyrics even if the user tags aren't ITRANS encoded. I've done it myself since I could not found any tool to do this for me (for what I see itrans program translates from ITRANS to Hindi scripts, but not the other way around...). If you know any tool to do that conversion, please let me know.
Anyway, I've already included this script in Wiki-Lyrics and will release it with the next version.

Thanks. - Jan 30 2007
Wiki-Lyrics

Amarok 1.x Scripts by attendant 191 comments

do you know the artist and song that produced this error? - Jan 17 2007
Wiki-Lyrics

Amarok 1.x Scripts by attendant 191 comments

1) I found it to be a bit slow in fetching lyrics. Default setting was leos-lyrics with others having lower priority. It would take > 5secs in some cases where default lyrc script takes < 2secs for the same song. Maybe object manipulation / instantiation takes some time for each song.

No, that has to do with the main site (Leos Lyrics) and fallback sites your using (and their loads at that time).
After the script initialization is done (only once, unless you start and stop the script for every song...) the time taken to fetch the lyrics is always the main factor (even if the rest of the algorithms involved were really slow, their impact would still be negligible).
If you want to compare speeds use Lyrc as main site without any fallback sites (you shouldn't see big differences then).

2) I had difficulty in understanding it to extend it to implement something like http://www.kde-apps.org/content/show.php?content=50890
Do you have a template to extend it ?

There's mainly 1 file you should be looking at: lyrics.rb. That file has the functionality common to all the lyrics scripts and even some (not very useful) comments. That should give you some understanding of how things work.
To add support for other site all you need is extend the Lyrics class implementing the missing (or stub) methods (the rest of the magic is already done separately). This is what all the files named lyrics_*.rb do. You should have a look at them and modify the one that suits your needs best (stay away from lyrics_lyriki.rb or lyrics_lyricwiki.rb since they do more complicated things you probably won't need).
If you get that far, all that remains is cloning one of the amarok_*.rb (don't worry, there's not much to change there) and adding the spec file.

Anyway, good luck. I'll try to add a small (but clearer) guide on how to add support for other sites for the next release.
- Jan 15 2007
transKode

Audio Apps by attendant 84 comments

you have to process to messages of the form transcode <input url> <output extension>, such as
transcode file:///home/sergio/input%20file.mp3 mp4

once the script is done transcoding it has to tell amarok where to find the output file with a dcop call (amarok / mediabrowser / transcodingFinished) which takes both the input url and the output url as arguments. in shell you could do
`dcop amarok mediabrowser transcodingFinished file:///home/sergio/input%20file.mp3 file:///home/sergio/output%20file.mp4 `

in case of error, use the same call but give an empty output url.
to see how it's done in transKode take a look at transkode/src/script/transkodescript.cpp file. - Dec 20 2006
Wiki-Lyrics

Amarok 1.x Scripts by attendant 191 comments

I don't have this problem using 2006/11/12 svn. could you provide additional info? - Nov 12 2006
transKode

Audio Apps by attendant 84 comments

I've thought of this but the problem is that transKode implements a (very simple) Amarok interface that's supposed to be generic. It's purpose is to allow other implementations of transcoding plugins (though i don't know of others implementing such interface).
The method described in my previous post is just a hack, anyone can knowingly accept that and bypass the normal behavior. But if anyone could inadvertently change it, then different plugins will encode the same request in different ways, which would probably end up being a mess.
Anyway... given that there're no other transcoding plugins ATM (that I know of...), and that is not in Amarok devs priority to add that sort of configuration, I'll ask them what they think about letting users change that in transKode. - Nov 05 2006
Wiki-Lyrics

Amarok 1.x Scripts by attendant 191 comments

this should be fixed in version 0.8.1.
please, test and report back.

regards - Nov 03 2006
Wiki-Lyrics

Amarok 1.x Scripts by attendant 191 comments

I have some lyrics already saved in my files.
do you mean on the files metadata?

The lyriki script only uploads those that are not on the lyriki server, but that it downloads from other sites. Yet it doesn't add the lyrics which are already saved on my hard disk.
if the lyrics are stored locally somewhere amarok can find them, it (smartly) won't request the lyrics to the running script (or at least that's the case with cached lyrics... i don't know how it handles lyrics in metadata). to work around this, press the refresh button on the lyrics tab or clear the lyrics cached on amarok database.

Any chance of implementing that functionality in a later version? Of course, it should double check if there is only a spelling mistake in order to not add to many doble entries. With this it should be quite sensitive.
you lost me here. i don't understand what you're asking but if it involves spell checking, you might be losing contact with reality :)
- Oct 25 2006
Wiki-Lyrics

Amarok 1.x Scripts by attendant 191 comments

you are probably missing qtruby, ruby-gtk and ruby-tk (you need at least one of those). still, you should be seeing an error message (if you don't see it there's probably a bug). please, try v0.8 and report back. - Oct 23 2006
Wiki-Lyrics

Amarok 1.x Scripts by attendant 191 comments

i'll check this when i can (which won't be until after releasing v0.8) - Oct 12 2006
transKode

Audio Apps by attendant 84 comments

There's some confusion about how things works. First of all the 'Selected Profile' is not the profile Amarok will use to transcode files, it's merely the one that's being viewed/edited (though this is rather confusing... I'll rename it for the next release).
When you use Amarok to automatically transfer files to your media device what happens is that Amarok sends to the script a message with the file to transcode and the desired encode type (output extension). If you always have your file encoded as m4a it's because that's what Amarok requests (I guess it assumes m4a for an iPod). The profile transKode will use is the one named 'amaroK TTMD - [received extension]' (in this case 'amaroK TTMD - m4a'). All of those profiles have a fixed encode type to assure the files are transcoded the way Amarok requested it. The right way to have your files transcoded as mp3 will require to have an option in Amarok that lets you choose the output type (I think this is being worked on but, if not, you may want to fill a feature wish). There's also a not so right way to do it: edit the file %HOME/.kde/share/apps/amarok/scripts-data/transkoderc which contains all the profiles (atm, this is the only way to change the encoding type of the fixed profiles) and change the encode type of the desired profile (though I don't know if Amarok changes the extension back to what it requested). - Sep 16 2006
transKode

Audio Apps by attendant 84 comments

could you please elaborate your question a little more? i don't quite understand your problem... is it related to the Amarok plugin? what exactly are you trying to accomplish? - Sep 14 2006
Wiki-Lyrics

Amarok 1.x Scripts by attendant 191 comments

From what your written it seems the problem is not related to redirect pages but to the fact that this particular page (Blue_Man_Group:The_Complex_(feat._Peter_Moore)) do not follow the "every word in a page title must have it's first letter in uppercase".
In your case for example, the script will first look for Blue_Man_Group:The_Complex_(Feat._Peter_Moore)
which is the best guess the script can make on what the page title must be (note the different capitalization in 'feat.'). That page doesn't exist so the script will fail at finding it (duh!) and attempt to perform a case insensitive search using the wiki search. If any of the returned results matches (case insensitively) the target it will conclude the page exists otherwise it will conclude it doesn't. This works well in most cases but sometimes the wiki search behave strangely such as in this case where searching 'Blue Man Group The Complex (Feat. Peter Moore)' won't shield any result (as a side note, no case variation of that string returned any result in my tests...).
Hopefully this illustrates why it's important for every word in a title page to be capitalized. - Sep 11 2006
transKode

Audio Apps by attendant 84 comments

just curious, how would the konqueror io slave work (from a user pov)?
btw, i agree that the gui is a little flat atm, if anyone has any ideas on how to improve it i'd like to hear them. - Sep 11 2006
Wiki-Lyrics

Amarok 1.x Scripts by attendant 191 comments

there's already a qt version (and also a gtk one). if you're seeing a tk window it's because you don't have nor qtruby nor ruby-gtk installed. - Sep 07 2006
Wiki-Lyrics

Amarok 1.x Scripts by attendant 191 comments

i thought i had fixed this in the last release... are you using version 0.6.1?
anyway, if you tell me the page that's giving you troubles, i'll take a look at it.

regards - Aug 19 2006
Wiki-Lyrics

Amarok 1.x Scripts by attendant 191 comments

you had not asked me to comply with anything, until know (nor I have refused to anything -yet). anyway, if that was what you wanted (as it is clear now), you should have said so instead of pretending me to do something you didn't have the guts to ask, by using ways of a 13-year-old.
you asked me why the scripts are released the way they are and so I answered (clearly not what you wanted). i'm sorry i didn't read your post between the lines... i usually give people the benefit of the doubt. about why do i bundle a script which conflicts with Lyrc, well, that's simply because i haven't realized that since i always uninstall the scripts i don't use. not answering that was an omission for which i apologize, even though you don't seem to know the difference between an unintentional omission and an intentional one (or you just enjoy abusing the last type).

sergio.

p.s.: i'm done answering this b.s. - Jul 13 2006
Wiki-Lyrics

Amarok 1.x Scripts by attendant 191 comments

mark, don't take this the wrong way, but you either have to work on your reading comprehension skills (since you entirely missed my last post...) or you are just being irespectful to someone taking the time to read and answer your comments. (how about you just start with that?)

sergio. - Jul 12 2006
transKode

Audio Apps by attendant 84 comments

please, do insist with this kind of issues, it's the only way to fix them.
now, about this specific case, speexencencoderdialogbase.cpp is an autogenerated file so adding the include to it wouldn't be a proper solution (the problem is somewhere else).
btw, are you 100% sure it was the speex dialog (its weird because qdecspinbox is a widget not used in that dialog).

regards - Jul 12 2006
transKode

Amarok 1.x Scripts by attendant 126 comments

could you compile the latest version and tell me if it solves your problem?
(http://prdownloads.sourceforge.net/transkode/transkode-0.6b.tar.bz2?download) - Jul 11 2006
Wiki-Lyrics

Amarok 1.x Scripts by attendant 191 comments

Hi Mark. I'm a bit surprised that you ask since you were the last to change the lyrics interface... (remember? did it against my advice?) Anyway... some features depend on which script is running since they are hardcoded in the spec file of that script (such as the 'add missing lyrics' feature or the name of the site displayed in the lyrics browser) so having separate scripts is a necessity (which, additionally, provides the flexibility to do things like 'Lyriki Submiter')
You can run any of the scripts, the site of the running script will allways be the one queried first and, if the lyrics can't be found by any means, will be the one whose suggestions are shown (also note that when a user chooses a suggestion all that the script receives is what's supposed to be a URL, so you have to know ahead which script will be able to parse it -though one could probably just add anything needed as part of that "URL").
Now, what I really don't understand is how using these scripts could be any more confusing than using any other one... from a user POV they work pretty much the same, only difference being that, when configured to do so, they will query other sites as well. - Jul 11 2006
Wiki-Lyrics

Amarok 1.x Scripts by attendant 191 comments

it seems there's a bug in the lyrix.at script... i'll see what i can found.
about showing where the lyrics were fetched from, it's not possible with the current lyrics scripts interface. the site of the currently running script it's always the one displayed.

regards - Jun 14 2006
Wiki-Lyrics

Amarok 1.x Scripts by attendant 191 comments

it's a bug in the terra lyrics script.
please, replace the log_file() method contents with this:
return LOG ? '$HOME/Desktop/lyrics.log' : nil
...or wait til' i upload a fix - Jun 14 2006
Wiki-Lyrics

Amarok 1.x Scripts by attendant 191 comments

your problem should be fixed in v0.4, but let me know if it's not.

regards. - Jun 14 2006
transKode

Audio Apps by attendant 84 comments

someone recently asked me the same... it's not transkode the one who decides to which formats files are transcoded. that logic is entirely handled by amarok, so you should ask the amarok guys how (if?) you can get your files transcoded to mp3. transKode can obviously encode to mp3 (provided that you have LAME installed), but someone has to tell it to do so...
about the whole thing just suddenly stopping, i can't tell what went wrong by what you've written. post any output (if there is such) and maybe i'll be able to help you.

regards - Jun 03 2006
transKode

Amarok 1.x Scripts by attendant 126 comments

thanks for your report.
the int to long replace implied a bit more than though, but it should be fixed know. - May 28 2006
transKode

Amarok 1.x Scripts by attendant 126 comments

you have to press the save profile button and then apply the settings for it to work. - May 19 2006
transKode

Amarok 1.x Scripts by attendant 126 comments

mmm... ask the gcc guys? or is it linus?
seriously... what you ask has nothing to do with this specific program but with os related stuff.
anyway, the provided binary(1) was compiled in a 32bit linux so the answer (for this and any program in this situation) is probably yes(2).

(1)maybe the fact that the package contains a binary executable is not clear enough?
(2)i'm just guessing. - Apr 13 2006
transKode

Audio Apps by attendant 84 comments

fixed - Apr 10 2006
transKode

Amarok 1.x Scripts by attendant 126 comments

that is correct... i realized that the flags related to tags may or may not work depending on the version of faac being used. the problem is that those flags are passed to faac to compensate for taglib not being able to write mp4 metadata and there's nothing you can do to override that behavior...
for now at least, i would tell you to try downloading and compiling faac from cvs.
you're also right about the logging capabilities. atm, you have to uncomment a define in the code (commondefs.h) and recompile to get a log. i will add that as an option for the next version (wich will be released as soon as i have the time to finish it) - Apr 06 2006
Wiki-Lyrics

Amarok 1.x Scripts by attendant 191 comments

this should be fixed in v0.3 but let me know if it's not.

regards. - Mar 11 2006
Wiki-Lyrics

Amarok 1.x Scripts by attendant 191 comments

please, ignore that message...
i'll take a look at what you had send me and see what i can do.

regards - Mar 11 2006
Wiki-Lyrics

Amarok 1.x Scripts by attendant 191 comments

could you send me (or just post here) the artist and title tags _exactly_ as read by amaroK, so i can check what's happening?

regards - Mar 11 2006
Wiki-Lyrics

Amarok 1.x Scripts by attendant 191 comments

are you sure you're running an amarok version with _scriptable_ lyrics support? older versions could only fetch lyrics from Lyrc.com.ar.
what about the atraweb plugin? can you use that one? - Mar 01 2006
Wiki-Lyrics

Amarok 1.x Scripts by attendant 191 comments


1)
Title: "Great Heart"
Artist: "Johnny Clegg & Savuka"
(...)

the problem is that the search engine at lyriki is not very powerful and doesn't return valuable info such as the page category. that means there's no reliable way to tell if a given result corresponds to an artist, album or song page. to compensate for this, the script avoids "searching" for lyrics when possible: the artist and title provided by amaroK are put togheter to form what is supposed to be the song page, then by looking at the result you can tell if the page was actually there or if it was empty. unfortunatelly, for this to work the artist and title given by amaroK need to match the corresponding ones in lyriki site. I'll try to improve the search when i have the time but for now you may do one of the following:
1) if the artist name is 'Johnny Clegg & Savuka' and in the site it shows as 'Johnny Clegg' then you should change the page title to the real name (same goes for the songs under that artist name).
2) if both names are valid, then you should create a page that redirects to the already existing one.


2)
Title: "Cowboy und Indianer (2004)"
Artist: "Michael Wendler"
(...)

words beetween parenthesis can be part of a title so i can't just generally ignore them when performing the search... i could try the search without them if the first search didn't return anything though... again, i'll see it when i can.


And if you do agree with me that lyriki should be default in amaroK, please post here. Maybe we can convince the developers...

there won't be any default lyrics script since there's no way to enforce that (or so i think). still, if you scream loud enough, you may get them to ship lyriki with amarok like the other lyrics scripts :)

regards. - Feb 27 2006