2009-08-18, 13:56
Hi,
Firstly, I'd like to say great work on XBMC.
I'm currently running XBMC on a Acer Aspire Revo on Ubuntu, works fantastic. But one thing I found out is that converting Fanart / Thumbs etc to Bitmap really speeds things up on these devices, especially if your using custom backgrounds or the Aeon Stark skin. In fact not converting to Bmps on the Revo just makes the interface feel really sluggish and unworkable.
So I thought I'd have a go at creating some bash scripts to do all of this automatically. eg. Whenever scrapping for Movie Info, XBMC will usually retrieve JPG's etc, so having to say load up Gimp or similar find the tbn's that are Jpegs/Pngs would be a pain each time. So after doing lots of scrapping you could run this 1 script to make sure everything is using Bmps.
My idea is just to have a simple bash script say called XBMCBmpSpeedup.sh, that then goes and checks every tbn file and if there JPG/PNG then converts them to BMP.
So far I've got it to doing single directories, my next step is to make it recursively check all directories.
So my question is, am I re-inventing the wheel here. If not I'll continue developing the script and make it available for everyone.
One note of caution, I'm a bit of a Linux noob, so my Bash script might not be the prettiest/or the most elegant.
Firstly, I'd like to say great work on XBMC.
I'm currently running XBMC on a Acer Aspire Revo on Ubuntu, works fantastic. But one thing I found out is that converting Fanart / Thumbs etc to Bitmap really speeds things up on these devices, especially if your using custom backgrounds or the Aeon Stark skin. In fact not converting to Bmps on the Revo just makes the interface feel really sluggish and unworkable.
So I thought I'd have a go at creating some bash scripts to do all of this automatically. eg. Whenever scrapping for Movie Info, XBMC will usually retrieve JPG's etc, so having to say load up Gimp or similar find the tbn's that are Jpegs/Pngs would be a pain each time. So after doing lots of scrapping you could run this 1 script to make sure everything is using Bmps.
My idea is just to have a simple bash script say called XBMCBmpSpeedup.sh, that then goes and checks every tbn file and if there JPG/PNG then converts them to BMP.
So far I've got it to doing single directories, my next step is to make it recursively check all directories.
So my question is, am I re-inventing the wheel here. If not I'll continue developing the script and make it available for everyone.
One note of caution, I'm a bit of a Linux noob, so my Bash script might not be the prettiest/or the most elegant.