Mostrando entradas con la etiqueta mp3. Mostrar todas las entradas
Mostrando entradas con la etiqueta mp3. Mostrar todas las entradas

lunes, 9 de agosto de 2010

Song download plugin available!

I haven't made much commits this weekend, but a lot of new features were added. How? Easy, but before I tell you how, I should say that plugins are just wrapper for libs. So, there is no need to actually understand a lot of python to make a plugin.
Said that, after finishing the urbandictionary lib, I spent a day or so teaching andresmcid some basic python and how plugins, configsystem and pluginsystem work, and he made both urbandicionary plugin and mp3-goear plugin.
I gave him SVN permissions, so you can even check his commits :)
And this is how both plugins look like:




I made some work on how plugins access their config. Before the actual change, accessing an item from a config was a real PITA. Config was saved as list with sublists, so you could perfectly have something like config[0][1][2][0][4]. Pretty scary for noobs, right? But now accessing an item is just as easy as everything else in Jake-PyQT4. You just need to call the config system this way: configsystem.value(config, 'plaintextcolor') and you'll get the value for the default color of plain text. I told you! A piece of a cake :p

Some options were added to main config, and also some bugs were fixed.
And finally, project status in sourceforge was changed from Alpha to Beta.
I'd really like to keep the good commit-rythm and make a stable release by the end of month. Of course, Not all plugins are going to be available, nor much skins, but that release will aim to a stable base release. Once that stability is reached, no major changes will be made to internal structure. This way we'll be able to start working only on plugins and skins.

Currently, I'm working on a filestube library, and once finished, andresmcid will make another plugin, so, just have a look from time to time to this page and you'll know it.

I'll write again this weeked. Until then, have a good time!

Bye!


sábado, 7 de agosto de 2010

What a waste of time...

This is a quick update. SVN hasn't seen too much commits this week because I was trying to make something with those tabs. I was trying to resize the rect of the QTabBar that handles the tabs in order to fix that "bug" that's there right now. You can see it if you move a tab to one side. Do you see how the tab gets cutted? That's what I have been trying to fix, but without luck...
The code is still there, committed, but commented. Maybe I'll try to do it again some when in the future, or maybe not.

Because of lack of new cool stuff, I decided to implement better the text cursor. Now it works just like a real console :)

Nothing more for today, but I'll try to finish the urban dictionary plugin and start working on those mp3 plugins that I promised. I'll write next week.

Have a good time until then!

Bye!

lunes, 2 de agosto de 2010

Not that hard after all

In my last post I said that I was having a lot of problems with QTextBrowser implementation because of images size and poor HTML support in general. Well, I was wrong!
After sending a few mails to Roberto Alsina (Lateral Opinion) I managed to display images with custom width and height, without needing to subclass more functions nor using QWebView. Thanks fo the help!

Once done that, I thought it would be cool to fix google-maps-streetview plugin, so I did it, and that's how it looks like:


But that wasn't enough. I was having a lot of free time, so I did a full commits party! Right away from commit 57 to commit 85! Almost 30 commits in one day!
Starting with 57. There was an error in all plugins that support *-more command. They were showing wrong results/current page number/result number.
Next important commit was the range 64-66 in which I implemented Jake-PyQT4 config dialog. I also added another skin. They both look this way:


Some small bug fixes, related with how I was managing prompt and cursor text, configuration parsing/saving, qss coding style, plugins typos, etc.

Commit 81 is interesting because of the focus-on-first-run bug described in my last post.

I should thanks to andresmcid for being such a good beta-tester and reporting bugs instantly via MSN. Thanks!

Also, thanks to nanotube (creator of pyHook) for promising making a release compatible with Python 2.7. Thanks!

Also, thanks to mgrant (creator of python-xlib) for promising making a release fixing some bugs and some annoying output messages. Thanks!

What now?
I'll be probably working on mp3 plugins. But first I'll level up a little bit my skills using Beautiful Soup. Once I think I'm done, I'll start making plugins for goear and filestube. Once I'm done with those, I'll add more.

I don't know when I'll post, but don't expect it too late. (or subscribe via RSS)

Bye!