Deprecated: Assigning the return value of new by reference is deprecated in /home/life/stringfellow/public_html/synfinity/wordpress/wp-settings.php on line 472

Deprecated: Assigning the return value of new by reference is deprecated in /home/life/stringfellow/public_html/synfinity/wordpress/wp-settings.php on line 487

Deprecated: Assigning the return value of new by reference is deprecated in /home/life/stringfellow/public_html/synfinity/wordpress/wp-settings.php on line 494

Deprecated: Assigning the return value of new by reference is deprecated in /home/life/stringfellow/public_html/synfinity/wordpress/wp-settings.php on line 530

Deprecated: Assigning the return value of new by reference is deprecated in /home/life/stringfellow/public_html/synfinity/wordpress/wp-includes/cache.php on line 103

Deprecated: Assigning the return value of new by reference is deprecated in /home/life/stringfellow/public_html/synfinity/wordpress/wp-includes/query.php on line 21

Deprecated: Assigning the return value of new by reference is deprecated in /home/life/stringfellow/public_html/synfinity/wordpress/wp-includes/theme.php on line 623
stringfellow’s thread » Linux

Archive for the ‘Linux’ Category

iPod Rip

Wednesday, April 16th, 2008

I just remembered this…
When I was skiing I wanted some of Nicki’s music from his iPod (which he didn’t have on his lappy).
iPodRip (the App) failed, so I was a bit stuck…

COMMAND LINE TO THE RESCUE!

Horrid, but it works:

cd /Volumes/Some\ iPod/
for f in `grep -R -H -a -m1 -o THING . | egrep -o “.*m[p|4][a|3]“`; do b=`basename $f`; echo cp $f /Some/Path/On/Computer/$b; done;

Where THING is some string that will exist somewhere in the ID3 tags of the files you want!

Slooowwww too. But it works. :-)

iSingGTK

Wednesday, December 13th, 2006

Ok, here’s the first release of iSing for Linux. It’s not as complete as the OS X version (for obvious reasons) but it can tag stuff and send the data to the site. If you fancy using it/improving it please do so, but send the modified source back to me please so I can add it to the next release.

If anyone _does_ fancy improving it, the most essential feature at the moment is probably colouring the marked text in the main textview. That and building the artist->track tree in the browser. (Shouldnt be too hard… ?!)

here it is:

http://ising.synfinity.net/static/release/iSingGTK.tar.gz

Its Python with GTK so needs pygtk. and python 2.4+

Cocoa vs. GTK

Tuesday, December 12th, 2006

A quick comparison; How to get the text from a TextView (NSTextView or gtkTextView)

GTK

self.uploadHistory.get_buffer().get_text(self.uploadHistory.get_buffer().get_start_iter(),self.uploadHistory.get_buffer().get_end_iter())

Cocoa

self.uploadHistory.string()

Now tell me again why we love linux so much?

NB: For the pernickity among you, yes I DO know that Linux != GTK, however it’s a fine representation of how much more difficult and unnescessarily verbose everything seems to be in Linux, and how simple and intuitive it seems to be in OS X)

iSingGTK

Monday, December 11th, 2006

I thought seeing as python is so wonderful and the various GUI wrappers for it are also pretty great that I’d port iSing to GTK…

…It’s going well! Almost finished in fact and I only started working on it at about 2pm today. It is not, of course, nearly as sexy as the Cocoa version, but it does mean that it can be used on Linux.

Currently it will work with Rhythmbox, but if anyone uses any other music programs and would like to provide an interface to it which can query basic info (artist, title, rating if poss, lyrics) and set the lyrics, that would be awesome. It doesn’t HAVE to set or get the lyrics, these can be stored elsewhere but it would be cool to do this (my version currently doesnt).

If anyone is interested in helping out I have the project in svn so it can be poked :)

I will also be moving all the iSing guff to http://ising.synfinity.net (kindly hosted by Dave) where we shall be making shiny shiny pages for perusing lyrics and so on.

Cai is also working on a .NET version of iSing, so soon we might have the complete set!

:D