Archive

Archive for April, 2009

Logitech Squeezecenter Duplicates Songs

April 26th, 2009

I use a Squeezebox to distribute my digital audio at home. I noticed an issue in Squeezecenter, the audio server, that can cause duplicate detection of songs in your library. If you have your Squeezecenter detect and parse your playlists, your playlists must reference your music using the same path structure that you use in Squeezecenter.

For instance, in the shot below, I have Sqeezecenter looking for music under the path s:\completed (a mapped network disk). I also have playlists under s:\playlists.

Settings

At first, I had my playlists referencing the UNC pathname to my music, so that the mapped drive letter wouldn’t be necessary (as it might be different on different computers). Squeezecenter scanned my playlists and found the file references, but because the pathname was different the software assumed the files were different and indexed them as different files. This resulted in duplicates in my library for all music I had in playlists. To solve this, I just changed the playlist paths so that they matched what I had set in Squeezecenter. A new scan of the library and playlists and Squeezecenter correctly recognized the files as being the same and didn’t produce duplicates.

So in your playlist files, change this:

\\storageserver\Completed\Hard Rock\White Zombie\La Sexorcisto – Devil Music Vol. 1\05 White Zombie – Soul-Crusher.mp3

To this:

s:\Completed\Hard Rock\White Zombie\La Sexorcisto – Devil Music Vol. 1\05 White Zombie – Soul-Crusher.mp3

As an aside, it would be nice to set a UNC network path within Squeezecenter, but it doesn’t currently allow it. I believe an older version did allow you to set your library as a UNC path on the network.

  • Share/Bookmark

About

April 22nd, 2009

I’m the type of person who prefers doing things myself. Whether it be code development, bicycle repair, computer repair, car repair, home repair, or even how to barbecue a perfect rack of ribs, if I can do it myself, I do. The internet and its experts have provided me a wealth of information on how to deal with most of the obstacles I’ve encountered. So this blog is an attempt to give back some of what I’ve learned over the years.

  • Share/Bookmark
Author: alex Categories: Misc Tags:

Bugzilla 3.5 Advanced Search Breaks When Bugzilla Reverse Proxied

April 21st, 2009

I recently upgraded my bugzilla installation to 3.5 to find my Eclipse-mylyn integration had broken.

After some traffic inspection and a look at buglist.cgi, I found that new code was added to “clean” advanced bug queries. This code cleans the query, then performs a redirect to the new clean query using the correct bugzilla hostname but using the local webserver port. Because I was proxying traffic to my actual bugzilla server through another server on a different port, this redirect was invalid.

I fixed this by commenting out the following code in buglist.cgi:

1
2
3
4
5
6
7
# If query was POSTed, clean the URL from empty parameters and redirect back to
# itself. This will make advanced search URLs more tolerable.
#if ($cgi->request_method() eq 'POST') {
#    $cgi->clean_search_url();
#    print $cgi->redirect(-url => $cgi->self_url());
#    exit;
#}

I’ll try to actually fix the redirect tomorrow to take advantage of the cleanup.

  • Share/Bookmark
Author: alex Categories: IT Tags: , , ,