 |
hymn Hear Your Music aNywhere
|
| View previous topic :: View next topic |
| Author |
Message |
FutureProof Site Admin

Joined: 10 Jun 2004 Posts: 1013
|
Posted: Tue Aug 10, 2004 5:18 am Post subject: JHymn 0.3 for Mac and Windows -- with binaries! |
|
|
This time, you won't need Xcode or any other programming tools to give JHymn a try.
Here's the Mac app: http://www.geocities.com/futureproof04/JHymn_0_3_mac.zip
Here's the Windows app: (Note: updated to 0.3.1 from first posted version to fix a problem with false errors about needing to install Java)
http://www.geocities.com/futureproof04/JHymn_0_3_1_win.zip
And here's the Xcode project and source files: http://www.geocities.com/futureproof04/JHymn_0_3_mac_source.zip
The current GUIs for both versions look like this:
The main changes I've made are:
- Obviously the biggest change is having a Windows version. As part of that change, both versions can now be internationalized more easily.
- The option to leave .m4p files with .m4p suffixes after unlocking them -- this was needed to get best results on the Windows version if you want to unlock files in place, and have iTunes preserve all playlists and other info for the unlocked files.
- The user still has to enter (apID) (yes, just like that, including the parentheses) into the Preferences' "Unwanted atoms" field, but now, at the very least, 'apID' atoms will be marked 'free' even if they aren't deleted. JHymn will thereafter make special efforts to preserve these particular free atoms, even though other free atoms are routinely deleted or cleared to zeros, until such time as the user requests deletion of 'apID' atoms, which will also result in the deletion of these 'free' atoms as well.
- The "About" dialog has been spruced up a bit.
- A bug was fixed that was preventing the "iTunes Music Library.xml" file from being updated when it should have been.
- Other minor improvements and bug fixes.
Still left to do:
- Better feedback about missing keys, needing to connect your iPod, etc.
- A more detailed error log than the simple error counts that now appear.
- A little tweaking of menus and menu management.
- Some user docs, and maybe some in-program help, such as following the suggestion someone made about explaining the format for the "Unwanted atoms" list right there in the Preferences dialog.
- If I'm feeling really ambitious, hooking up a Java version of FairKeys, to provide an alternative to using an iPod to obtain keys.
- A Unix version -- this is something probably best left to someone else to figure out, but I'll certainly be willing to assist. The tricky part for me is not knowing much about making automated build scripts for such things, which would be needed for building the JNI library part of JHymn.
- Probably a bunch of other stuff that it's too late at night to remember -- I really should be getting some sleep about now!
Last edited by FutureProof on Wed Aug 11, 2004 5:04 pm; edited 2 times in total |
|
| Back to top |
|
 |
Guest
|
Posted: Tue Aug 10, 2004 2:03 pm Post subject: |
|
|
You absolutely rock! This is very nice and solved the problem I was having with previously-Hymned files. Scrubbed away the apId and my previously purchased and Hymned files play on the new iTunes.
Interestingly, I found that JHymn-Win wouldn't scrub my files if I opened the folder, but did so when I selected the files themselves. No big deal for me. |
|
| Back to top |
|
 |
FutureProof Site Admin

Joined: 10 Jun 2004 Posts: 1013
|
Posted: Tue Aug 10, 2004 3:06 pm Post subject: |
|
|
| Anonymous wrote: | | Interestingly, I found that JHymn-Win wouldn't scrub my files if I opened the folder, but did so when I selected the files themselves. No big deal for me. |
Did you check off the .m4a checkbox? That's needed to get JHymn to find .m4a files inside of folders. JHymn disregards the checkboxes for any files that you drag into the file/folder list directly, figuring that regardless of the extension on the file, you wouldn't have put the file in the list if you didn't want JHymn to look at it. |
|
| Back to top |
|
 |
Guest
|
Posted: Tue Aug 10, 2004 3:22 pm Post subject: |
|
|
| Yep...all the file extensions are checked. Sort of weird. In fact, I even renamed them as .m4ps just to see if it would fix the issue, and no go. |
|
| Back to top |
|
 |
FutureProof Site Admin

Joined: 10 Jun 2004 Posts: 1013
|
Posted: Tue Aug 10, 2004 4:42 pm Post subject: |
|
|
| Anonymous wrote: | | Yep...all the file extensions are checked. Sort of weird. In fact, I even renamed them as .m4ps just to see if it would fix the issue, and no go. |
There's a process to skip over files that don't need any work done on them -- if files are already scrubbed as much as they need to be, JHymn won't touch them.
Also, unless you add "(apID)" to your unwanted atoms list, old files where 'apID' might have been turned into 'free' won't be touched.
If you've used one of the simple script patches that have been floating around which turn 'apID' or 'geID' into something like 'xxID', then you have to put '(xxID)" into your unwanted atoms list to trigger the scrubbing.
If, however, none of the above apply, and a particular .m4a actually gets scrubbed when you directly add it to the file/folder list, but it doesn't get scrubbed before doing that when it's enclosed in a folder that you've listed, with [x] .m4a checked on, then there's something buggy in my software for me to track down. |
|
| Back to top |
|
 |
friendofhymn Guest
|
Posted: Tue Aug 10, 2004 5:30 pm Post subject: java VM |
|
|
i tried searching the post for an answer, but couldn't get any results returned?
my question is if all I have is the default microsoft windows Java VM in use right now, do I need another version from Sun or IBM to use this?
everytime I run the windows exe file, it warns me that I need a java VM....
sorry if this is a repetitive question. |
|
| Back to top |
|
 |
FutureProof Site Admin

Joined: 10 Jun 2004 Posts: 1013
|
Posted: Tue Aug 10, 2004 5:55 pm Post subject: Re: java VM |
|
|
| friendofhymn wrote: | i tried searching the post for an answer, but couldn't get any results returned?
my question is if all I have is the default microsoft windows Java VM in use right now, do I need another version from Sun or IBM to use this?
everytime I run the windows exe file, it warns me that I need a java VM....
sorry if this is a repetitive question. |
You need to go to java.sun.com and get some real Java.
Specifically, go to http://java.sun.com/j2se/1.4.2/download.html. (If someone knows of a more user-friendly Java download page than this, please let me know.) All you'll need to download is the JRE -- the SDK and other downloads there are for developers. I'd link right to the JRE download, but that specific download page looks like it has one of those bizarre thousand-character generated-on-the-fly URLs that you can depend on if and only if what you're hoping for is a quickly broken web link.
I'll inevitably need to set up a help page for this issue -- it will come up a lot since many people don't have any Java or an up-to-date Java installed. If Mr. Hymn will let me set up a JHymn help page here on www.hymn-project.org, that would be great, otherwise I'll have to put the help page on an annoying ad-filled, pop-up producing Geocities page.
Of course, even if you install Java -- I just found a bug in a tool that I used to make the Windows .exe file wrapper for the Java code. There can be a non-sensical out-of-memory-error behind the scenes when you try to run JHymn.exe, and if this error occurs, the user will confusingly be told that he needs to install a later version of Java, even if that isn't really the case. |
|
| Back to top |
|
 |
friendofhymn Guest
|
Posted: Wed Aug 11, 2004 2:50 pm Post subject: excellent tool |
|
|
i was only able to use the program once (now it keeps telling me I need Java 1.42 to run, but it is installed...)
however, when I did use it, it was flawless. I had almost every option I wanted, thank you for your work.
I did not have a chance to play with it too much, but one thing that would be of interest is to point to the program to binaries like faad.exe and lame.exe and convert your .m4a files to mp3 (and rewriting tags), so that way you can play your songs on non ipod flash players.
it's easy enough to write a script to do this, but if you want to keep your tag info, it becomes more difficult because .wav files don't have any tag info on them....
thanks again for your work, I look foward to future more stable releases. |
|
| Back to top |
|
 |
FutureProof Site Admin

Joined: 10 Jun 2004 Posts: 1013
|
Posted: Wed Aug 11, 2004 3:25 pm Post subject: Re: excellent tool |
|
|
| friendofhymn wrote: | | i was only able to use the program once (now it keeps telling me I need Java 1.42 to run, but it is installed...) |
This appears to be a bug in something called JexePack, a program that I'm using to package my Java JAR file, and the DLL it needs, into one nice, neat Windows .exe file.
I'm requesting a large maximum heap size -- not demanding, just requesting! -- in a way that works just fine from a command prompt invocation like this:
java -jar JHymn.jar -Xmx1536m
This shouldn't place any immediate memory demands on the system -- all this says is "Let me grow to 1.5G if I really, really want too."
For some reason, however, the JexePack .exe wrapper is sometimes causing an out-of-memory error because of this request, and then expressing that error to the user in a confusing way -- incorrectly informing the user that the right version of Java isn't available. I've contacted the author of JexePack, and he helped me get this far in understanding what's going wrong, but he hasn't gotten back to me with a work-around or a fix yet.
My own current work-around is simply to request a smaller maximum heap size. I'll try to post a new version of the Windows binary later today with this work-around if there's no better solution.
As for converting to other formats like .mp3 and all of that... I'm not sure I want to get into that. For myself, the major reason for unlocking .m4p files was so that I can get rid of DRM restrictions without loss of sound quality. Any time you convert from one lossy audio format to another, however, you lose at least some sound quality -- a digital form of generational loss -- just like you lose sound quality if you burn a protected AAC file to CD and re-import the track back to AAC. |
|
| Back to top |
|
 |
FutureProof Site Admin

Joined: 10 Jun 2004 Posts: 1013
|
Posted: Wed Aug 11, 2004 5:09 pm Post subject: Re: JHymn 0.3 for Mac and Windows -- with binaries! |
|
|
There's a new 0.3.1 minor bug fix for the Windows version of JHymn:
http://www.geocities.com/futureproof04/JHymn_0_3_1_win.zip
This fixes (or at least should greatly reduce the incidence of) a problem where JHymn.exe might falsely tell users that they needed to install Java, or a later version of Java, when this was not true.
While I feel fairly confident about the work-around I'm using here, a true fix will require an update of a tool that I'm using to package Java programs as Windows .exe files. I've spoken to the author and he's aware of the problem, but I have no idea if a fix will be coming or not. |
|
| Back to top |
|
 |
control freak Guest
|
Posted: Thu Aug 12, 2004 4:32 am Post subject: FutureProof thanks to you and hymn i am freee FREEEE :-> |
|
|
ok just had a quick check out of jhymn it looks damned good to me - solid interface etc - i will test it lots and let you know the results via this forum
once again - on first view and check ... looks nice, looks solid  |
|
| Back to top |
|
 |
Guest
|
Posted: Thu Aug 12, 2004 5:40 am Post subject: |
|
|
WOW.. great job.. there is one problem though.. if you have it "unprotect" and scrub a DRM'd file and have it change the ext from .m4p to .m4a it is not updating the iTunes Library as it should. After running the program through my library every protected file that was converted and changed to .m4a was not associated in the library.. when clicking on the song in iTunes it would prompt me to search for the file.. it was in the same folder, just a .m4a ext,-- still a bug though.
This is on the Windows version.. I set the program up to delete the protected file one it had been backed up. |
|
| Back to top |
|
 |
FutureProof Site Admin

Joined: 10 Jun 2004 Posts: 1013
|
Posted: Thu Aug 12, 2004 10:55 am Post subject: |
|
|
| Anonymous wrote: | WOW.. great job.. there is one problem though.. if you have it "unprotect" and scrub a DRM'd file and have it change the ext from .m4p to .m4a it is not updating the iTunes Library as it should. After running the program through my library every protected file that was converted and changed to .m4a was not associated in the library.. when clicking on the song in iTunes it would prompt me to search for the file.. it was in the same folder, just a .m4a ext,-- still a bug though.
This is on the Windows version.. I set the program up to delete the protected file one it had been backed up. |
If you check out this thread, JHymn for Windows dilemma -- changing file extensions, you'll see the explanation for the above issue.
I suppose that until I can make the Windows version work as well as the Mac version in regard to handling file extension changes, I should pop up a warning dialog, suggesting the option of keeping .m4p as the extension after the .m4p has been unlocked. |
|
| Back to top |
|
 |
Guest
|
Posted: Thu Aug 12, 2004 1:41 pm Post subject: |
|
|
| sorry... guess i should have done some research. keep up the great work |
|
| Back to top |
|
 |
friendofhymn Guest
|
Posted: Thu Aug 12, 2004 1:48 pm Post subject: fast service! |
|
|
excellent, program works everytime, thanks for making the new binary.
I like to keep my m4p and m4a's in different folders, i love how jhymn keeps all the subfolders of artist/album
(but maybe someone would just want a flat directory?)
keep up the good work. |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|