Bembel-B Blog

2009/04/26

Keeping Track of Upcoming Music Releases with Soundamus

One thing I was missing for many many years is a (free) Internet service, that informs you of new music releases for specific artists. I even thought about making such a thing myself. A year ago or so I discovered such a service called soundamus which I highly recommend! One ingenious feature is the integration with one’s Last.fm stats.Last.fm Social Music Revolution

But the artists considered aren’t limited to your Last.fm profile. Other services like Pandora are also supported and you can alternatively manually define which artists you’d like to track.

The resulting list of upcoming releases is available as webpages, an RSS feed and iCal. So you can also integrate that iCal feed into a calendar software like Google Calendar. From my understanding, the data of releases is from Amazon Webservices, so more obscure releases might not be included (but I didn’t notice that so far).

Here are examples for the available data sources for my Last.fm profile:

There are more features and new features are being added. Check out the Last.fm Group for details on that.

My FTPSync.pl Native Windows Build

I needed a Windows command line tool for syncing local files with an FTP server and couldn’t find any lightweight ones. There’s FTPSync.pl for Unix/Linux with a Cygwin build available (seems to be gone now). Instead of using that, I built an EXE of FTPSync.pl with ActivePerl for Windows.

Main reason for not using the Cygwin build is that using different versions of cygwin.dll simultaneously isn’t possible, which could happen easily when for example additionally having a full Cygwin install with running services. Stand alone Cygwin builds need to be shipped with the cygwin.dll which it is linked to.
Also that Cygwin build is outdated.

So, to make short things short, here you can download ftpsync-1.3.01.W32.zip (and my previous build ftpsync-1.2.33.W32.zip).

As far as I remember the build was straight forward. I installed ActivePerl 5.10, added a 3rd party PPM Repository (bribes.org I think) for installing the PAR Packer. Then all I had to do was issuing pp -o ftpsync.pl.exe ftpsync.pl in the directory with the FTPSync.pl sources.
You can reduce the EXE file size using UPX if you need to.
So far the EXE is working without problems.

ChangeLog

[2009-04-27: New build of latest version.]

No More Custom Rockbox Builds No More

Filed under: Album Art,build,Cover Art,e200,e250,patch,Rockbox,SanDisk,Sansa,Sansa e200,software — FrankZabbath @ 17:35

In case anyone would be interested, I won’t do any Sansa e200 Rockbox builds anymore.SanDisk Sansa e200

The official build now has all the functionality I need previously only available through patches. Specifically that’s album art resizing, USB mass storage support and battery charging.

2008/08/25

Auvisio Alarm Station PX-4000: What a failure!

What is an alarm clock good for, if it doesn’t keep the correct time?! Zarro! 0:00!
Auvisio Alarm Station PX-4000
So I decided to get a not too expensive MP3-enabled Radio Alarm Clock and ordered Auvisio Alarm Station PX-4000 from the German mailorder Pearl for 49 EUR. Looks like I bought the last one, because now it’s not available anymore. :] Well, whatever, I’ll continue with my ramblings.
The awaited package arrived on Friday and already on Saturday I knew this piece of plastic and metal is pure rubbish. First I was surprised about the quite rather nice sound quality (even though a bit harsh on the highs), but a few hours later I found the clock to be out of sync some minutes. It’s running about 8 minutes too fast per 24 hours! What a joke!
Another big downside is the inability to set the volume for your MP3 alarm. It will just play at full volume, letting you wake up with an heart attack and waking up the entire house and probably neighbors of half the street too. :) Additionally, the FM radio receiving is pretty bad. Even the strongest channels have a loud hiss and other static.
The manual mentions upgradeable firmware with the software on the CD-ROM. But my package didn’t come with a CD-ROM. In the end I doubt that a firmware upgrade will fix the badly calibrated quartz of the clock.

Conclusion: Don’t buy this thing, as nice as it may appear to be from the specs! Unusable clock, unusable alarm, unusable radio. Not very good for being a radio alarm clock. :P
I didn’t find much on the Internet about this device, only one short review and a magazine review I’d have to pay for. So I’ll return it and try one of Pearls other MP3-enabled radio alarm clocks.

2008/07/14

My 16th very own custom Rockbox build for Sansa e200

After a few recent failed patch and build attempts, I bring you my latest patched Rockbox build based on yesterdays SVN Revision 18026. I had severe stability issues (crashes, playlists corrupted on shutdown) with my previous build, which seem to have vanished with this one as I can say from my todays tests. As usual you get USB MSC support along with Sansa specific and eyecandy patches.SanDisk Sansa e200

News

Rockbox Wiki states the following major changes:

Source: MajorChanges < Main < TWiki
Address: http://www.rockbox.org/twiki/bin/view/Main/MajorChanges
Date Visited: Sun Jul 13 2008 22:16:41 GMT+0200 (CEST)
DONE 2008-07-07: Added keybox plugin.
2008-06-23: Change the progressbar tags, and remove the left margin tag from the WPS, details in CustomWPS
DONE 2008-06-23: Add conditional viewports to the WPS, details in CustomWPS

What I’ve found new so far:

Updated Patches

  • customlist-20080623.patch
  • multifont-20080630.patch
  • backlight_fading_e200_17915.patch
  • charge_e200_17614.patch

Removed Patches

  • rec_button_080325.patch (build fails)

Download

Patch Log

FS#8799 – User definable list dimensions (custom list for viewports)
patch -p0 < /home/scheff/downloads/customlist-20080623.patch

FS#4733 – Multifont
patch -p0 < /home/scheff/downloads/multifont-20080630.patch
**
Hunk #1 FAILED at 673.
1 out of 1 hunk FAILED — saving rejects to file apps/gui/wps_parser.c.rej
** moved to apps/gui/viewport.c. change there.

FS#5697 – bmp resize patch
patch -p0 < /home/scheff/downloads/albumart-smooth_resize-080415.patch

FS#7661 – Make ID3 info screen more readable
patch -p0 < /home/scheff/downloads/expand_id3_screen_line_width.patch
**
Hunk #3 FAILED at 822.
1 out of 3 hunks FAILED — saving rejects to file apps/screens.c.rej
** no-brainer fix (function parameters changed)

FS#7542 – This patch moves all the playlist creation from the root dir to the PLAYLISTS directory.
patch -p0 < /home/scheff/downloads/playlist_folder-060508.patch

FS#7565 – support for the TPA tag
patch -p1 < /home/scheff/downloads/50-id3TPA.patch

FS#6800 – Sansa e200 backlight behaviour
patch -p0 < /home/scheff/downloads/backlight_fading_e200_17915.patch

FS#6884 – Sansa E200 m3u/m3u8 to pla playlist converter
patch -p0 < /home/scheff/downloads/sansa_playlist_converter_V3.3.diff
** fix plugin_start paramters as with my previous build.

FS#8070 – Sansa battery_bench plugin buffer overflow
patch -p0 < /home/scheff/downloads/batt_bench_v3.patch

FS#8363 – Charger configuration for Sansa e200/c200
patch -p0 < /home/scheff/downloads/charge_e200_17423.diff

FS#7871 – Go to WPS from metadata viewer, pitchscreen and quickscreen for e200
patch -p0 < /home/scheff/downloads/play_to_wps_v2.diff

FS#8768 – Instrument tuner plugin
** implementing and fixing like with my previous build.

Build Log

**
gui/viewport.c: In function ‘viewport_parse_viewport’:
gui/viewport.c:129: error: ‘struct screen’ has no member named ‘width’
gui/viewport.c:130: error: ‘struct screen’ has no member named ‘width’
gui/viewport.c:131: error: ‘struct screen’ has no member named ‘height’
gui/viewport.c:132: error: ‘struct screen’ has no member named ‘height’
make[1]: *** [/home/scheff/src/rockbox-18026/build/apps/gui/viewport.o] Error 1
make: *** [build] Fehler 2
** fix according to tracker comment:

Source: FS#8799: User definable list dimensions (custom list for viewports)
Address: http://www.rockbox.org/tracker/task/8799
Date Visited: Sun Jul 13 2008 21:55:46 GMT+0200 (CEST)
Comment by Corey (blackthunder) – Thursday, 03 July 2008, 03:28 GMT+2
I’m having troubling with this patch. it patches okay, but I have build errors with viewport.c ‘struct screen; has no member named ‘width’ and ‘heighth’ lines 129-132
Comment by Travis Tooke (tdtooke) – Thursday, 03 July 2008, 04:36 GMT+2
Change width and height to lcdwidth and lcdheight on those lines.

ChangeLog

[2009-04-26: Fix box.net links.]

2008/05/19

My 15th very own custom Rockbox build for Sansa e200

An updated build based on yesterdays Revision 17577 with my selected patches and USB Mass Storage support. I can’t remember any important changes with this build, except for the ones below.SanDisk Sansa e200

News

  • RockDoom and PictureFlow Plugins are working again (by dropping some patches)
  • Flashlight Plugin was renamed to Lamp (so you can delete the old flashlight.rock in the .rockbox/rocks directory)
  • Instrument Tuner Plugin (called Pitch) has been added this time

Removed Patches

  • doom_scroll3_sync20070915.patch – was crashing rockbox
  • pf_album_title_v3.diff – was crashing rockbox

Updated Patches

  • customlist_vp_v8c.diff
  • multifont_for_customlist-20080515.patch
  • playlist_folder-060508.patch
  • charge_e200_17423.diff

Download

Patch Log

FS#8799 – User definable list dimensions (custom list for viewports)
patch -p0 < /home/scheff/downloads/customlist_vp_v8c.diff

FS#4733 – Multifont
patch -p0 < /home/scheff/downloads/multifont_for_customlist-20080515.patch

FS#5697 – bmp resize patch
patch -p0 < /home/scheff/downloads/albumart-smooth_resize-080415.patch

FS#7661 – Make ID3 info screen more readable
patch -p0 < /home/scheff/downloads/expand_id3_screen_line_width.patch
**
Hunk #3 FAILED at 822.
1 out of 3 hunks FAILED — saving rejects to file apps/screens.c.rej
** no-brainer fix (function parameters changed)

FS#7542 – This patch moves all the playlist creation from the root dir to the PLAYLISTS directory.
patch -p0 < /home/scheff/downloads/playlist_folder-060508.patch

FS#7565 – support for the TPA tag
patch -p1 < /home/scheff/downloads/50-id3TPA.patch

FS#6800 – Sansa e200 backlight behaviour
patch -p0 < /home/scheff/downloads/backlight_fading_e200_17138.patch

FS#6884 – Sansa E200 m3u/m3u8 to pla playlist converter
patch -p0 < /home/scheff/downloads/sansa_playlist_converter_V3.3.diff
**
Hunk #1 FAILED at 1.
1 out of 1 hunk FAILED — saving rejects to file apps/plugins/CATEGORIES.rej
** no-brainer fix
**
playlist_converter.c:405: error: conflicting types for ‘plugin_start’
/home/scheff/src/rockbox-17577/apps/plugin.h:815: error: previous declaration of ‘plugin_start’ was here
make[2]: *** [/home/scheff/src/rockbox-17577/build/apps/plugins/playlist_converter.o] Error 1
** fix plugin_start paramters:

--- apps/plugins/playlist_converter.c.orig	2008-05-19 01:18:32.000000000 +0200
+++ apps/plugins/playlist_converter.c	2008-05-19 01:49:37.000000000 +0200
@@ -401,7 +401,7 @@
 }
 
 /* this is the plugin entry point */
-enum plugin_status plugin_start(struct plugin_api* api, void* parameter)
+enum plugin_status plugin_start(const struct plugin_api* api, const void* parameter)
 {
 
     rb = api;

FS#8070 – Sansa battery_bench plugin buffer overflow
patch -p0 < /home/scheff/downloads/batt_bench_v3.patch

FS#8363 – Charger configuration for Sansa e200/c200
patch -p0 < /home/scheff/downloads/charge_e200_17423.diff

FS#5555 – Record Button Configuration
patch -p0 < /home/scheff/downloads/rec_button_080325.patch
**
Hunk #1 FAILED at 1149.
1 out of 1 hunk FAILED — saving rejects to file apps/settings_list.c.rej
** Simply put the rejected code-block before CHOICE_SETTING. Eventually the new Study Mode will not be covered?

FS#7871 – Go to WPS from metadata viewer, pitchscreen and quickscreen for e200
patch -p0 < /home/scheff/downloads/play_to_wps_v2.diff

FS#8768 – Instrument tuner plugin
Following the HowTo at http://www.rockbox.org/twiki/bin/view/Main/HowtoWritePlugins
cp -p /home/scheff/downloads/pitch.c.080418-stevetuc apps/plugins/pitch.c
add pitch to apps/plugins/SOURCES and apps/plugins/CATEGORIES:

--- apps/plugins/CATEGORIES.orig	2008-05-19 01:19:04.000000000 +0200
+++ apps/plugins/CATEGORIES	2008-05-19 01:29:54.000000000 +0200
@@ -50,6 +50,7 @@
 pacbox,games
 pegbox,games
 pictureflow,demos
+pitch,apps
 plasma,demos
 playlist_converter,viewers
 pong,games
--- apps/plugins/SOURCES.orig	2008-05-19 01:18:32.000000000 +0200
+++ apps/plugins/SOURCES	2008-05-19 01:29:28.000000000 +0200
@@ -8,6 +8,7 @@
 jackpot.c
 logo.c
 mosaique.c
+pitch.c
 properties.c
 random_folder_advance_config.c
 rockblox.c

**
pitch.c:501: error: conflicting types for ‘plugin_start’
/home/scheff/src/rockbox-17577/apps/plugin.h:815: error: previous declaration of ‘plugin_start’ was here
make[2]: *** [/home/scheff/src/rockbox-17577/build/apps/plugins/pitch.o] Error 1
rm /home/scheff/src/rockbox-17577/build/apps/plugins/dict.elf /home/scheff/src/rockbox-17577/build/apps/plugins/credits.elf /home/scheff/src/rockbox-17577/build/apps/plugins/firmware_flash.elf /home/scheff/src/rockbox-17577/build/apps/plugins/chessclock.elf /home/scheff/src/rockbox-17577/build/apps/plugins/jackpot.elf /home/scheff/src/rockbox-17577/build/apps/plugins/logo.elf /home/scheff/src/rockbox-17577/build/apps/plugins/cube.elf /home/scheff/src/rockbox-17577/build/apps/plugins/battery_bench.elf /home/scheff/src/rockbox-17577/build/apps/plugins/mosaique.elf
make[1]: *** [rocks] Error 2
** fix plugin_start paramters:

--- apps/plugins/pitch.c.orig	2008-04-24 17:59:35.000000000 +0200
+++ apps/plugins/pitch.c	2008-05-19 01:46:23.000000000 +0200
@@ -497,7 +497,7 @@
 }
 #endif
 
-enum plugin_status plugin_start(struct plugin_api* api, void* parameter)
+enum plugin_status plugin_start(const struct plugin_api* api, const void* parameter)
 {
   (void)parameter;
   rb=api;

2008/04/24

My 14th very own custom Rockbox build for Sansa e200

This build is based on revision 17238. I made it to keep up with the latest codebase and patches and to try a few new patches too. Unfortunately two of those new patches don’t seem to work, more exactly doom and pictureflow plugins will crash in this build. Additionally the Instrument Tuner Plugin I wanted to include didn’t make it into the build. I also made 3 new fonts in sizes 8 to 13 px out of the new Windows Vista TTFs.SanDisk Sansa e200

  • flashlight plugin
  • various optimizations: wma and nsf codec,
  • skipping tracks,
  • viewports,
  • themes with bitmap strips

New Patches

Updated Patches

  • albumart-smooth_resize-080415.patch
  • playlist_folder.patch (I renamed it to playlist_folder-080418-vmh.patch)
  • [backlight_fading_e200_17138.patch]
  • batt_bench_v3.patch
  • charge_e200_17131.diff

Removed Patches

  • bootloader_boost.patch (committed)

Download

Patch Log

FS#8799 – User definable list dimensions (custom list for viewports)
patch -p0 < /home/scheff/downloads/customlist_vp_v8b.diff
**
Hunk #1 FAILED at 40.
1 out of 7 hunks FAILED — saving rejects to file apps/gui/bitmap/list.c.rej
** no-brainer

FS#4733 – Multifont
patch -p0 < /home/scheff/downloads/multifont_for_customlist-20080403.patch
**
Hunk #1 FAILED at 46.
1 out of 10 hunks FAILED — saving rejects to file firmware/font.c.rej
Hunk #1 FAILED at 23.
1 out of 4 hunks FAILED — saving rejects to file firmware/font_cache.c.rej
** no-brainer

FS#5697 – bmp resize patch
patch -p0 < /home/scheff/downloads/albumart-smooth_resize-080415.patch

FS#7661 – Make ID3 info screen more readable
patch -p0 < /home/scheff/downloads/expand_id3_screen_line_width.patch
**
Hunk #3 FAILED at 1225.
1 out of 3 hunks FAILED — saving rejects to file apps/screens.c.rej
** no-brainer fix (function parameters changed)

FS#7542 – This patch moves all the playlist creation from the root dir to the PLAYLISTS directory.
patch -p0 < /home/scheff/downloads/playlist_folder-080418-vmh.patch

FS#7565 – support for the TPA tag
patch -p1 < /home/scheff/downloads/50-id3TPA.patch

FS#6800 – Sansa e200 backlight behaviour
patch -p0 < /home/scheff/downloads/backlight-thread-fading_r16180M-080128.patch
**
Hunk #2 FAILED at 36.
1 out of 4 hunks FAILED — saving rejects to file firmware/target/arm/sandisk/backlight-c200_e200.c.rej
** Oops! Should have used the recent patch from the tracker.. :) DCDC15 identifier is now called AS3514_DCDC15. Fix manually.

FS#6884 – Sansa E200 m3u/m3u8 to pla playlist converter
patch -p0 < /home/scheff/downloads/sansa_playlist_converter_V3.3.diff
**
Hunk #1 FAILED at 1.
1 out of 1 hunk FAILED — saving rejects to file apps/plugins/CATEGORIES.rej
** no-brainer fix

FS#8070 – Sansa battery_bench plugin buffer overflow
patch -p0 < /home/scheff/downloads/batt_bench_v3.patch

FS#8363 – Charger configuration for Sansa e200/c200
patch -p0 < /home/scheff/downloads/charge_e200_17131.diff

FS#8768 – Instrument tuner plugin
cp -p /home/scheff/downloads/pitch.c.080418-stevetuc apps/plugins/pitch.c
** Missing! Copying wasn’t enough to get it into the build.. should investigate next time!

FS#5555 – Record Button Configuration
patch -p0 < /home/scheff/downloads/rec_button_080325.patch

FS#5153 – Doom Scrollwheel Patch
patch -p0 < /home/scheff/downloads/doom_scroll3_sync20070915.patch
** Not Working! Crashes Rockbox as soon as Scroll Wheel is used in the Doom Plugin.

FS#7871 – Go to WPS from metadata viewer, pitchscreen and quickscreen for e200
patch -p0 < /home/scheff/downloads/play_to_wps_v2.diff

FS#8335 – album title config & small improvements for PictureFlow
patch -p0 < /home/scheff/downloads/pf_album_title_v3.diff
**
Hunk #2 FAILED at 1535.
1 out of 10 hunks FAILED — saving rejects to file apps/plugins/pictureflow.c.rej
** no-brainer
**
CC pictureflow.c
pictureflow.c: In function ‘album_name_menu’:
pictureflow.c:1544: error: too few arguments to function ‘rb->do_menu’
make[2]: *** [/home/scheff/src/rockbox-17238/build/apps/plugins/pictureflow.o] Error 1
** Simply extended function parameters by guessing from other occourances from “rb->do_menu(&album_name_menu,&selection);” to “rb->do_menu(&album_name_menu,&selection,NULL,false);”)
** Not Working! Crashes Rockbox on Picture Flow startup while initializing the Album Art.

2008/04/09

My 13th very own custom Rockbox build for Sansa e200

So this is my latest build based on revision 17055. With my previous build I had a few crashes (black screen, still powered on until battery drain) and “data abort”. Also had the “normal” duplicates in database after updating to my last build. Now the View Ports Custom List Patch is included (again?). I also simply removed two less important patches, one being the cause for wrong parameter count in function ‘is_backlight_on’ when I tried to build with those.SanDisk Sansa e200

Update

Darn! I forgot to enable USB in the Makefile. Sorry for this inconvinience. Downloads are now with USB enabled.

News

  • new(?) game pegbox
  • many default themes now using new stripped bitmaps (included in “full zip”)
  • smooth resize committed
  • fixes for Sansa OF USB detection
  • fixes for WMA codec
  • multi-core tweaks

New Patches

  • customlist_vp_v8b.diff
  • multifont_for_customlist-20080403.patch

Updated Patches

  • albumart-smooth_resize-080407.patch

Removed Patches

Download

Patch Log

FS#8799 – User definable list dimensions (custom list for viewports)
patch -p0 < /home/scheff/downloads/customlist_vp_v8b.diff

FS#4733 – Multifont
patch -p0 < /home/scheff/downloads/multifont_for_customlist-20080403.patch

FS#5697 – bmp resize patch
patch -p0 < /home/scheff/downloads/albumart-smooth_resize-080407.patch

FS#7661 – Make ID3 info screen more readable
patch -p0 < /home/scheff/downloads/expand_id3_screen_line_width.patch
**
Hunk #3 FAILED at 1225.
1 out of 3 hunks FAILED — saving rejects to file apps/screens.c.rej
** no-brainer fix (function parameters changed)

FS#7542 – This patch moves all the playlist creation from the root dir to the PLAYLISTS directory.
patch -p0 < /home/scheff/downloads/playlist_folder.patch

FS#7565 – support for the TPA tag
patch -p1 < /home/scheff/downloads/50-id3TPA.patch

FS#6800 – Sansa e200 backlight behaviour
patch -p0 < /home/scheff/downloads/backlight-thread-fading_r16180M-080128.patch

FS#6884 – Sansa E200 m3u/m3u8 to pla playlist converter
patch -p0 < /home/scheff/downloads/sansa_playlist_converter_V3.3.diff
**
Hunk #1 FAILED at 1.
1 out of 1 hunk FAILED — saving rejects to file apps/plugins/CATEGORIES.rej
** no-brainer fix

FS#8070 – Sansa battery_bench plugin buffer overflow
patch -p0 < /home/scheff/downloads/sansa_batt_bench.patch

FS#8363 – Charger configuration for Sansa e200/c200
patch -p0 < /home/scheff/downloads/charge_e200_16657.diff

FS#8642 – Improve boot time on Sansa
patch -p0 < /home/scheff/downloads/bootloader_boost.patch

ChangeLog

[2008-04-12: Initial build accidently was without USB support.]
[2008-04-24: Use categories instead of tags.]

2008/03/30

My 12th very own custom Rockbox build for Sansa e200

Just another patched Rockbox based on this evening’s SVN Revision 16892. The svn commit r16817 fixes loading the OF, which prevents the system freeze I got when plugging in USB in OF using my previous patched bootloader build! Album Art maximum dimensions are now again restricted to the display width. I don’t think anything else important has changed since my last build.SanDisk Sansa e200

Updated Patches

  • multifont-20080322a.patch
  • albumart-smooth_resize-080325.patch

Removed Patches

  • viewports-wps-v3.diff (viewports-wps-v4.1.diff got committed into svn)

Download

Patch Log

FS#4733 – Multifont
patch -p0 < /home/scheff/downloads/multifont-20080322a.patch

FS#8308 – Port of a imlib2 based smooth scaling algorithm for bitmaps
patch -p1 < /home/scheff/downloads/smooth_resize.patch

FS#5697 – bmp resize patch
patch -p0 < /home/scheff/downloads/albumart-smooth_resize-080325.patch

FS#8523 – Disable WPS updating when the backlight is off.
patch -p0 < /home/scheff/downloads/wps-2.patch

FS#7661 – Make ID3 info screen more readable
patch -p0 < /home/scheff/downloads/expand_id3_screen_line_width.patch
**
Hunk #3 FAILED at 1224.
1 out of 3 hunks FAILED — saving rejects to file apps/screens.c.rej
** no-brainer fix (function parameters changed)

FS#7542 – This patch moves all the playlist creation from the root dir to the PLAYLISTS directory.
patch -p0 < /home/scheff/downloads/playlist_folder.patch

FS#7565 – support for the TPA tag
patch -p1 < /home/scheff/downloads/50-id3TPA.patch

FS#6800 – Sansa e200 backlight behaviour
patch -p0 < /home/scheff/downloads/backlight-thread-fading_r16180M-080128.patch

FS#4988 – Optionally keep backlight on while plugins are running
patch -p0 < /home/scheff/downloads/plugin-backlight_070303.patch
**
Hunk #1 FAILED at 390.
1 out of 1 hunk FAILED — saving rejects to file apps/settings.h.rej
** no-brainer fix

FS#6884 – Sansa E200 m3u/m3u8 to pla playlist converter
patch -p0 < /home/scheff/downloads/sansa_playlist_converter_V3.3.diff
**
Hunk #1 FAILED at 1.
1 out of 1 hunk FAILED — saving rejects to file apps/plugins/CATEGORIES.rej
** no-brainer fix

FS#8070 – Sansa battery_bench plugin buffer overflow
patch -p0 < /home/scheff/downloads/sansa_batt_bench.patch

FS#8363 – Charger configuration for Sansa e200/c200
patch -p0 < /home/scheff/downloads/charge_e200_16657.diff

FS#8642 – Improve boot time on Sansa
patch -p0 < /home/scheff/downloads/bootloader_boost.patch

ChangeLog

[2009-04-26: Fix box.net links.]

2008/03/26

Neo Diggler Actions I Find Useful

Neo Diggler is a Firefox Add-on that lets you define and run actions based on your current URL, like jumping to parent folders. It’s the successor of Diggler compatible with newer browser versions. It’s a very useful Add-on, I’d say. I’ll provide some actions I hacked together over the time. I guess there’s be much room for improvement, but they are indeed working real nice for me.Firefox 2

Reload the current page from CoralCDN.

Name: CoralCDN
Matching Regular Expression: ^http://(.+)$
Show Action as Menu Entry: no
Action: http://$h.nyud.net$p

Opens the BugMeNot entries for the current domain in another window. Doesn’t work in Windows.

Name: BugMeNot
Matching Regular Expression: ^(.+)$
Show Action as Menu Entry: no
Action: javascript:window.open("http://www.bugmenot.com/view/$h", "$h"); javascript:window.reload();

Loads the current page with an www subdomain (http://some.example.com/foobar.php becomes http://www.example.com/foobar.php).

Name: www Subdomain
Matching Regular Expression: ^(.+//)([\d\w]+\.|)(.+)$
Show Action as Menu Entry: yes
Action: $1www.$3

Loads the current page’s base address with a www subdomain (http://some.example.com/dig/around/here.html becomes http://www.example.com/).

Name: www Subdomain Index
Regular Expression: ^(.+//)([\d\w]+\.|)([\d\w\.]+\.[\w]+/)(.*)$
Show Action as Menu Entry: yes
Action: $1www.$3

Loads a current http page as https (ssl).

Name: https
Regular Expression: ^http([^s].+)$
Show Action as Menu Entry: yes
Action: https$1

Click the left thumbnail to see how these actions appear in Neo Digglers context menu next to the Firefox address bar.

A great help when building Regular Expressions is KDE’s kregexpeditor, part of kdeutils. You can visually compose and analyse your regexes and match them against desired text.
And well, while this regex might seem like black magic at first (and second ;) sight, and it can be kind of mind boggling oftentimes, it’s really worth learning it! The syntax is being used in so many places (tools, programming languages) and will come very handy for parsing and substituting texts.

ChangeLog

[2008-03-30: Fix https action. BugMeNot not working in Windows.]

Next Page »

The Rubric Theme Blog at WordPress.com.

Follow

Get every new post delivered to your Inbox.