whicken
Teacher

Location: California
Posts: 287
My Collection
|
Posted: June 9, 2007 10:43:07 pm
* This is a follow up from my other post here: http://www.mycomicpile.com/forum/viewtopic.php?t=2767I've updated my "compressed format" report utility to generate files for iPod. You can save your whole collection as notes, and check out what you have while you're in the comic store - no more printing pages of notes, and carrying them around. I can give the jar file to anyone who wants it, and knows how to use Java (see the other post for details) - I'm open to feature requests as well. As a reminder, you need to be able to export your collection as TAB delimited. If necessary, you may need to send Doughboy money.. just do it, it's for a good cause.  To create iPod notes, pass "-ipod folder", where "folder" is the name of the folder where you want the files to go (you will get one per pile by default, with an overview). All the files will be created in the target folder. Copy them all to the "notes" folder on your ipod, and you're good to go (they show up under "Extras" on the iPod menu). If you have other notes on your iPod already, you may want to put them in a MCP folder. The first file, called overview.txt, is a good place to start browsing. the other options mostly work as well: -bypublisher will do a publisher centric view instead. Note that the program is not checking the 4K limit - if you have an exceptionally large pile, the notes may be too big. If this is a problem, I can add more checks later. You can email me at whicken (at) gmail (dot) com if you want a copy of the jar file. Wendell Last edited June 9, 2007 11:55:09 pm
|
rwp42
Collector in Training

Location: Los Angeles, CA, USA
Posts: 22
My Collection
|
Posted: June 9, 2007 10:54:22 pm
This is the single most useful utility ever written in the entire history of humankind. Thank you, whicken!
-RwP42
|
whicken
Teacher

Location: California
Posts: 287
My Collection
|
Posted: June 9, 2007 11:57:20 pm
Tip: From the iPod settings, you can add a link to Notes to the top level menu of your iPod, for quicker access.
|
whicken
Teacher

Location: California
Posts: 287
My Collection
|
Posted: June 10, 2007 8:38:40 pm
Thanks to RwP for some spanking good feature requests, I've got a new version which works even better.
Seriously, if you have an iPod, this is unbelievably useful. Check it out. (Is there a better place to post this than the "General Questions" forum, where it might get missed?)
Wendell
|
bazooka_joe
Collector in Training
moderator 
Location: Repentigny, quebec, canada
Posts: 1248
My Collection
|
Posted: June 11, 2007 9:07:02 am
Would be great .... if I had a Ipod .... would it work on a Samsung ?
|
whicken
Teacher

Location: California
Posts: 287
My Collection
|
Posted: June 11, 2007 9:44:39 am
It's just generating text files, so if your Samsung can view text files, that would work. But you wouldn't get some of the extra niceties of the menus or links between piles, you could just take the earlier version with the compressed output and store it as a single file on your player.
|
rwp42
Collector in Training

Location: Los Angeles, CA, USA
Posts: 22
My Collection
|
Posted: June 11, 2007 10:38:02 am
If you collect comics (and if you are reading this, odds are very high that you do), and you have an iPod, you MUST have this program. 'nuff said.
-RwP42
|
bazooka_joe
Collector in Training
moderator 
Location: Repentigny, quebec, canada
Posts: 1248
My Collection
|
Posted: June 11, 2007 11:17:58 am
I'm going to check if it works on my Samsung and get back to you.
|
joshschr
Wise Beyond the Years
moderator 
Location: Barnesville, MN
Posts: 2027
My Collection
|
Posted: June 15, 2007 8:01:34 am
Ok, I'm going to need the dummies version of how to use the program. I've downloaded the program, and exported my inventory to my desktop. I understand how to use the command line, but I have a few questions: Where do the program and my tab delimited file need to live? Do I need to have my iPod synced when I run the program? Where does the output file go when I run the program? Do I use the program to name the output file? I only know the most BASIC (Beginner's All Purpose...) things about programming and running stuff from the command line. I'm not sure what you mean by "Pass '-ipod folder'". Is that part of the "java -cp Comic util.jar Comic util [options] file.txt " command, or something you do separately? I'm really looking forward to using this. I think I just need a couple tips to understand how to use it. "1500 years ago, everybody knew the Earth was the center of the Universe. 500 years ago, everybody knew that the Earth was flat... and 15 minutes ago, you knew people were alone on this planet. Think about what you'll know tomorrow." - Agent K, Men in BlackThe truth is somewhere between the Bible and Shakespeare. There is nothing new under the sun, but there are more things on Heaven and Earth than are dreamt of in your philosophy, Horatio. Find answers to CBR FAQs on my profile!
|
whicken
Teacher

Location: California
Posts: 287
My Collection
|
Posted: June 15, 2007 8:51:01 am
[quote:33a62e78b9="joshschr"] Where do the program and my tab delimited file need to live? Do I need to have my iPod synced when I run the program? Where does the output file go when I run the program? Do I use the program to name the output file? [/quote:33a62e78b9]
The easiest way to run it is to make a new directory, let's call it c:\mcp. Copy the Jar file and your export file there. In the command prompt, make that the current directory like this:
cd c:\mcp
Then, you would run
java -cp Comicutil.jar Comicutil -bypile -ipod=notes pile_export.txt
This will create a folder called "notes" in the current directory. (So the path will be "c:\mcp\notes". You can copy all the files in this folder to the Notes directory on your iPod, and then they will be visible. In this case, your iPod does not need to be connected when you run Comicutil.
You can also put the files whereever you want if you use full paths. Here's an example of that:
java -cp c:\thejarfilepath\Comicutil.jar Comicutil -bypile -ipod=f:\ipod_folder\notes c:\downloads\pile_export.txt
Two other most likely options are are interested in currently:
-bypublisher sorts by publisher instead of by pile -years adds year information to the series (it's hidden by default, just volume info appears so more fits on screen)
Using the original example, sorting by publisher and showing years would look like this:
java -cp Comicutil.jar Comicutil -years -bypublisher -ipod=notes pile_export.txt
In my case, I use -expand -nohide... Also, you can run multiple views, and store them all on your iPod by creating a folder structure there. But those are advanced options - once you get the basics working, I can show how those work if you are interested.
|
joshschr
Wise Beyond the Years
moderator 
Location: Barnesville, MN
Posts: 2027
My Collection
|
Posted: June 15, 2007 9:55:00 am
That's more like it! A semester of Fortran is the only real exposure I've had to using the MS-DOS prompt. I was an apple guy until 1999, when I realized engineers operate almost exclusively on PC's. I'm still paying for that. I should be able to do what I need to with your new instructions. Thanks! "1500 years ago, everybody knew the Earth was the center of the Universe. 500 years ago, everybody knew that the Earth was flat... and 15 minutes ago, you knew people were alone on this planet. Think about what you'll know tomorrow." - Agent K, Men in BlackThe truth is somewhere between the Bible and Shakespeare. There is nothing new under the sun, but there are more things on Heaven and Earth than are dreamt of in your philosophy, Horatio. Find answers to CBR FAQs on my profile!
|
whicken
Teacher

Location: California
Posts: 287
My Collection
|
Posted: June 15, 2007 3:14:15 pm
This code was all written on my MacBook Pro - with the release of OS X, lots of engineers are moving in that direction, although with the Unix prompt. 
|
joshschr
Wise Beyond the Years
moderator 
Location: Barnesville, MN
Posts: 2027
My Collection
|
Posted: June 15, 2007 3:40:27 pm
 =D> :smt023 :smt038 :smt044 After a lot of trial and error :smt024 , I figured out what I needed to do. I'm so very happy! :smt040 java - cp Comic util.jar Comic util -collection -ipod notes pile.export.txt It's apparently case sensitive and you need to get the dashes and underbars in the right place, obviously. This is super cool, and I may now be able to convince my brother to get a computer, iPod, and internet connection. Also, it helps to use the COMMAND PROMPT instead of the Run program thing in the start menu.  "1500 years ago, everybody knew the Earth was the center of the Universe. 500 years ago, everybody knew that the Earth was flat... and 15 minutes ago, you knew people were alone on this planet. Think about what you'll know tomorrow." - Agent K, Men in BlackThe truth is somewhere between the Bible and Shakespeare. There is nothing new under the sun, but there are more things on Heaven and Earth than are dreamt of in your philosophy, Horatio. Find answers to CBR FAQs on my profile!
|
whicken
Teacher

Location: California
Posts: 287
My Collection
|
Posted: June 15, 2007 6:53:16 pm
Awesome, glad you got it working. I'll be adding some more features over the weekend probably, including an "all comics" view, divided out alphabetically.
If you have feature requests, let me know - no guarantees, but if they are easy or useful, there's a reasonable chance I'll squeeze them in.
|
rwp42
Collector in Training

Location: Los Angeles, CA, USA
Posts: 22
My Collection
|
Posted: June 15, 2007 7:02:01 pm
An "all comics" view would be the most used view on my iPod. I'll buy you some chocolate if you get that working.
-RwP42
|
whicken
Teacher

Location: California
Posts: 287
My Collection
|
Posted: June 15, 2007 7:13:00 pm
You mean when, of course.  I'll probably work on it tonight. I'm also hoping to get my scanner working, so I can start doing covers.
|
joshschr
Wise Beyond the Years
moderator 
Location: Barnesville, MN
Posts: 2027
My Collection
|
Posted: June 15, 2007 9:58:57 pm
If you could have it load the covers for my want list, that would be hand-diddly dandy. I have a hard time remembering which Infinite Crisis, Justice League, Civil war, and other covers I'm looking for. Hey, you offered  . Seriously, this is a huge step beyond printing out my piles and want list on ugh, paper, which was momentous in its own right. I'm usually listening to tunes at cons on my ipod anyway, so it's nice to have my lists on it. Vielen dank, and I'll think of more doable features in the future. "1500 years ago, everybody knew the Earth was the center of the Universe. 500 years ago, everybody knew that the Earth was flat... and 15 minutes ago, you knew people were alone on this planet. Think about what you'll know tomorrow." - Agent K, Men in BlackThe truth is somewhere between the Bible and Shakespeare. There is nothing new under the sun, but there are more things on Heaven and Earth than are dreamt of in your philosophy, Horatio. Find answers to CBR FAQs on my profile!
|
whicken
Teacher

Location: California
Posts: 287
My Collection
|
Posted: June 15, 2007 10:09:05 pm
That's an awesome idea. I'll have to see if the ipod supports images.
Also, I might need some support/permission from Doughboy for the images.
I'd also like to know how many issues in a series, to make the -holes reports more useful!
I've got rwp's FR implemented, just one more issue to resolve and I'll make another "release".
|
whicken
Teacher

Location: California
Posts: 287
My Collection
|
Posted: June 15, 2007 10:53:28 pm
Ok, iPod notes supports .jpg files. How about it Doughboy, can we get an "Export Want List" images feature? If you want to talk to me about some options, you can email me.
|
whicken
Teacher

Location: California
Posts: 287
My Collection
|
Posted: June 16, 2007 10:55:40 pm
I've fixed the 4k limit, so you get multiple pages as necessary - this only happens if you have around 600 issues in a single pile, but no worries, because it's working now. Also, I added RwP's "All Comics", sorted out alphabetically, feature (and I used that report in the comic store today checking whether I had a certain TPB or not, so it's already come in useful).
|
dough boy
Man behind the curtain

Location: Kansas City
Posts: 6295
My Collection
|
Posted: June 17, 2007 9:29:03 pm
Please provide more information as to what you are looking for as far as the image export. Favorite Quote: Your metaphor is cutting into my cankles.Hunting for (mainly reprints/variants) - Please help! - See My Profile
|
whicken
Teacher

Location: California
Posts: 287
My Collection
|
Posted: June 17, 2007 10:11:36 pm
Well, I understand you want to protect the MCP assets. From my point of view, the easiest interface to build mashups on (like the iPod reports), would be something like this: - Add a column to the export lists, "Image". The value of this would be the database index for the image (or a unique key that can be used like that) - Add a REST style HTTP method to retrieve the images. Something like http://www.mycomicpile.com/api/1.0/image?id=1234If you want to lock things down a bit more, maybe you could do a simple login auth, so users can only access images which they have either uploaded, or have active in one of their piles. I think the iPod reports would be more useful if they could do the exports programatically, again with some kind of auth. I haven't checked how hard that would be to spoof, but I only want to write "MCP Friendly" tools, so I wouldn't do that unless you were ok with it.
|
whicken
Teacher

Location: California
Posts: 287
My Collection
|
Posted: June 18, 2007 11:26:30 pm
RwP came up with another cool twist...
If you create a plain text file with comics that are going to be coming out that you will want to buy (using the same format as MCP exports), then you can use the Comicutil file to generate reports of upcoming issues, just as if they were stored on MCP. It's a bit extra work, but the results are pretty impressive.
|
rwp42
Collector in Training

Location: Los Angeles, CA, USA
Posts: 22
My Collection
|
Posted: June 19, 2007 10:43:58 am
The initial entry is a bit of work, but after that it is just maintenance. The usefulness of having 'future' issues also in my iPod is beyond words -- esp. when it is combined with the complete catalog of my collection. Awesome stuff.
-RwP
|