sleepingsucks

Not so empty folders

Posted in Uncategorized by cdeschenes on May 18, 2011

I find it hard to manage a large amount of folders when programs like Mediamonkey wants to help organize them for you. The problem I run in to the most is with files being left behind and Mediamonkey does not think its a true “empty” folder and will not remove it. The files that seem to hang around the most include the following:

*.jpg
*.jpeg
*.nfo
*.png
*.gif
*.txt
*.nfo
*.tmp
desktop.ini
Thumbs.db
.DS_Store
*.url
*.ini
*.db
*.sfv
*.sfk
*.cue

I’m sure there are more but this is 80% of what gets left behind on our music database. I have attempted to write scripts to monitor for these files and to delete them on the fly but run into permission issues or deletion errors. I have finally found a cool free tool to help in this situation. Its called RED (Remove Empty Directories) and it works great. There is essentially a white & black list of files that constitutes an “empty” folder. You can specify files or extensions to ignore when looking for “empty” folder and it proves to work well. You can also specify folders to skip like “System Volume Information” and “RECYCLER”.

Take some… give some…

Posted in Uncategorized by cdeschenes on May 8, 2011

So you have seen the music server and you are just as amazed as we are on the quantity of artists and albums. We would not have all this if it wasn’t for all the users/friends that have contributed to the cause. When this whole music server idea was just a conversation between friends, we never thought the idea of streaming, commenting, uploading and downloading was possible. With the growing number of members we wanted to touch on the basics of uploading/contributing to the server.

Q: What are the benefits of sharing?

A: Thats an easy one to answer, it benefits all members. Most members do not stream music they already own, they want to be exposed to new music or maybe listen to music they forgot about over time. We also like to view the server as a cloud based backup for your music. In other words, a backup location residing on the internet at a remote location and not on your local computer.

Q: Are there any requirements for uploading?

A: Not really requirements per-say, but more like strong suggestions.

Q: Oh, I see. I ask the questions and you give half the answers… what are these suggestions?

A: Make sure to look at the tutorial page and the software page to get the applications and instructions that will help you to adhere to the suggestions below.

In a perfect world, all music would be encoded/ripped at nothing lower than 256kbs bit-rate and in stereo. Now I know thats hard since not all people music came from original CDs. Some have albums that were give to them by friends, other have ripped there CDs at a lower bit-rate and then traded in their originals. There are many scenarios, but we try to get the best quality we can. We have provided various tools to help with the CD ripping process. The tools that are provided on the software page come with all setting preset to the suggestion mentioned.

ID3 tags [stored information about the artist/album in the MP3 file] are also very important. These tags help organize the collection properly.

Q: I thought that higher bit-rat MP3’s were larger in size that lower bit-rate, will we run out of space on the server?

A: You are right. There is definitely a trade off for quality and hard drive space. This is not a concern for our group at this point since the server has currently 4 terabytes of space and were only using 600 gigabytes of that. so not even a quarter of the drive space has been used. Its easier to ass more hard drives than it is to re-rip music to better quality.

Q: So now that I know all this useless crap, how do I upload some music already?

A: This is the basic work flow.

If you are ripping a CD:

  1. Rip CD with Audiograbber from the software page.
  2. Zip up the “c:\Music” folder
  3. Upload the Zip file to the server.
If you are uploading a album that is already on your computer:
  1. Make a new folder on you desktop and name it the name of the [Artist].
    Example: If i’m going to upload the album “Sounds of light when they dim” by “Slow Dancing Society” I would make a new folder on my desktop called Slow Dancing Society
  2. Make a folder inside the created folder from step 1 and name that [Year] – [Album].
    Example: I will now have a folder called Slow Dancing Society with a folder inside of it called 2006 – Sounds of light when they dim.
  3. Place all the MP3 from the album you want to upload into the [Year] – [Album] folder.
    Example: You should now have a folder structure like this, using my example ( a / represents a folder)
    Slow Dancing Society / 2006 – Sound of Lights When Dim / 01 – title of song.mp3
  4. ZIp up the [Artist] folder.
    Example: Once Ziped up I will have a file called “Slow Dancing Society.Zip”

Finding new music

Posted in Uncategorized by cdeschenes on May 8, 2011

I wanted to jot down a quick tutorial on how I find new music. This is by no means a fail safe way but it has served me well.

I start by going to Last.fm or allmusic.com and looking up a band I really like.

On Allmusic.com you will notice on the “Overview” tab of an artist will have a “similar Artist” section. This uses a partnership of genres, styles and moods. I find that this seems to be the best way to recommend music and I do find bands/songs with the same “moody” properties.

Lets take an example of the band Hammock. This band has a great ethereal, underwater sound to it and I find it very useful to relax and also read to. I would love to find a few other bands that have these same styles/tones.

  1. I go to http://allmusic.com and do a search for Hammock.
  2. Look under Similar Artists and pick one. Lets go with the band Belong since I never heard of them.
  3. I click on the band name Belong and take a look at the “Discography” tab. Here you can take a peek at and listen different albums from the artist and see if any spark some intrest. I’m digging the 2011 album Common Era.
  4. I now go to http://google.com and in the search field I type ” site:mediafire.com Belong Common Era ” without the quotes.
  5. When Goole gives me my results I noticed that 4 of the results were archive (RAR, ZIP) files and the others were documents (PDF, DOC) files. We obviously want the archives since it will contain the full album that we are looking for.
  6. If you click on the Google results for each ZIP or RAR file you will see the file size. This is important since the file size is a good indicator if the sound quality will be good or not. I always check each link before I commit to downloading one. I want to make sure I get the largest in size.
What if there are none or just a couple results?
Change what your searching for. Its going to be a little bit of a learning curve but here are some tips.
If I’m searching for Hammocks 2011 EP Longest Year, here are some search patters I would use.
  • site:mediafire.com hammock 2011
  • site:mediafire.com hammock year
  • site:mediafire.com longest year
  • site:mediafire.com hammock EP

Not all of these will give you different results, but… you may find more results from one over the other. Why? simply because people name the files differently when they upload them to mediafire.com. Also, if I uploaded the file called Hammock_2011_Logest_Year.rar it will most likely get taken down for copyright infringement.

I get great enjoyment finding new genres/bands to listen to and to share with others. I hope these ramblings help someone find more music that brings them such enjoyment like it does me.

How to remove DRM from sony ebooks

Posted in Uncategorized by cdeschenes on May 7, 2011
  1. Install Adobe Flash Player
    Code:
    http://get.adobe.com/flashplayer/
  2. Install Adobe Digital Editions (ADE)
    Code:
    http://www.adobe.com/products/digitaleditions/
  3. Authorize your copy of Adobe Digital Editions.
  4. Install Python
  5. Install PyCrypto
  6. Download ineptkey.pyw and ineptepub.pyw and put them into one directory.
  7. Run ineptkey.pyw. It will find the key and write it to hard disk as “ADEPTKEY.DER ” in the same directory where ineptkey.pyw is.
  8. Run ineptepub.pyw
    A dialog windows with three parameters will pop up :

    • Key file ADEPTKEY.DER (filled automatically if the ADEPTKEY.DER-file and ineptepub.pyw reside in the same directory)
      If not, click on the “…” button and select a file.
    • Input file
      Click on the “…” button to choose your EPUB ebook. You’ll find it in “My Documents\My Digital Editions”.
      If you just can’t find the EPUB ebook, open Adobe Digital Editions and find the path in the properties of the ebook.
    • Output file
      Click on the “…” and enter a filename.
  9. Open your newly created DRM-free EPUB file with your favorite application (on whatever device you like)

Download Key-retrieval script 

ineptkey.pyw version 5:

Code:
http://pastie.org/1030386

ineptkey.pyw 4.3:

Code:
http://pastebin.com/f6ffa029

Download ineptepub.pyw:

ineptepub.pyw version 5.2

Code:
http://pastie.org/1032773

ineptepub.pyw version 2

Code:
http://wiki.xkyle.com/Epub_Decrypter

Download aineptepub.pyw version 4.1

Code:
http://pastebin.com/f4a7c338a

How to remove DRM protection from your B&N EPUBs

Posted in Uncategorized by cdeschenes on May 7, 2011

Snagged this from another source. Wanted to make an archive of it..

How to remove DRM protection from your B&N ADEPT EPUB files

  1. Download
    • Download Barnes and Noble Desktop Reader
    • Download Python (use Python x32 on Windows x64)
    • Download PyCrypto (Compatible with your Python version)
    • Download DRM removal scripts: ignoblekeygen, ignobleepub
  2. Install
    • Install B&N Desktop Reader
    • Install Python THEN PyCrypto
  3. Download DRM protected EPUB books from B&N
  4. Generate your B&N EPUB key
    1. Go to Barnes and noble website.
    2. Log in and click on “My account”.
    3. On the right click “Manage credit cards”.The name under the credit card # will be he name used with ignoblekeygen
    4. Open ignoblekeygen
    5. Paste that name into the field name.
    6. For credit card number use your full 16-digit card number that you have set as the Barnes and Noble default credit card (no spaces). The last few digit of this card are shown above name…
    7. Click generate and you should have your B&N EPUB key (bnepubkey.b64)
    8. If you get “Key cannot be null string” check over your name and cc settings.
  5. Decrypt EPUB
    1. Open ignobleepub
    2. For key open your previously generated (bnepubkey.b64)
    3. For input file go to (My documents/My Barnes and Noble ebooks/My email/) and choose your DRM protected epub file.
    4. Choose an output name and add the .epub extension.
    5. Click Decrypt