Showing posts with label c. Show all posts
Showing posts with label c. Show all posts

Tuesday, July 3, 2012

drg to sbg

After releasing version 1.2.11 I thought my job was done, wasn't planning to improve it in any way, until I received an email with a bug report. My first thought was "wait, people are still using this?" and it seems they do. The project has close to 5k downloads in total and after 3 days of releasing 1.2.12 the download count was already at 19.

Since people are still using it, I'll try to do my best to improve it, this is my TODO list (for version 2.0):

  • Migrate to git (I like git a lot)
  • Drop ChangeLog (git log will provide that)
  • Change version schema (2 digits instead of 3)
  • Allows raw output (I use a small function to parse the original output to be SBaGen friendly)
  • Allow dumping the image (every drg file has an image)
  • Drop openssl dependency (currently only used for base64 decoding, seems overkill)
  • Build drg (if you have an image, description and SBaGen code, you can make your own .drg file)
I have to give special thanks to Loïc H. for providing me with a nice set of Unofficial doses to test. Merci beaucoup, mon ami

Friday, June 15, 2012

Music and tags

After a long search for a tool that allows me to modify music file's tags in a text interface I decided to do my own. The main reason was that I couldn't find anyone that I liked and command line tools (there's a lot of them) didn't make it.

My requirements are simple, I need a tool that I can use over ssh to organize and modify the tags in my music files. X11 forwarding and VNCs are not an option since my client (Efika MX Smartbook) is limited and I can't stand the delay.

I decided to make it in C, for no particular reason other than it is my favorite programming language. But, I have to admit, if you ever consider doing GUI programming you should use an object orientated programming language. Every major GUI toolkit is using it. Oh, but what about gtk+? you may ask, well, gtk+ uses C, but they realized the need for OOP and build their own object-oriented framework for C, called GObject and gtk+ is build on top of that.

It will use ncurses and TagLib, hence the name nctagger.

That said, my code is still unusable, it is so basic that I haven't even pushed anything to github. I'm sure I will publish something eventually, but well you know, "my new job's a hassle and kids have the flu"