You are here

ipodder Juice

21 posts / 0 new
Last post
Anonymous (not verified)
ipodder Juice

I think it would be great to have Juice (ipodder.sourceforge.net) converted to a portable app. I installed the program to my hard drive, then copied the folder to my flash drive and the software does run, but the settings are not retained (feeds, target folder, etc.) I think someone could do this fairly easily, but I'm not the one. I don't have a clue what to do. It is open-source, so modification shouldn't be a problem.

justin
Offline
Last seen: 13 years 3 days ago
Developer
Joined: 2005-12-24 15:41
probably

I don't see any reason why it couldn't be, it's licensed under the GPL.

-Justin

Ryan McCue
Ryan McCue's picture
Offline
Last seen: 15 years 2 months ago
Joined: 2006-01-06 21:27
Challenge?

Do you dare challenge the mighty power of "NSIS" Pardon
:lol:
Will try to adapt soon
----
R McCue

"If you're not part of the solution, you're part of the precipitate."

jkbeeline (not verified)
Sounds good!

My idea was to be able to run Juice from a flash mp3 player and specify a target folder within the flash drive to save podcasts to. I have Podcatcher on a Stick, but it does not allow for configuration like that. Juice allows me to specify a target folder and choose which podcasts I want to download. The problem is being able to save settings to a changing drive letter. Good luck.

Ryan McCue
Ryan McCue's picture
Offline
Last seen: 15 years 2 months ago
Joined: 2006-01-06 21:27
Developing now

Developing now
Also its now just Juice without the Ipodder
----
R McCue

"If you're not part of the solution, you're part of the precipitate."

justin
Offline
Last seen: 13 years 3 days ago
Developer
Joined: 2005-12-24 15:41
awesome

I can't wait to see this!

-Justin

Ryan McCue
Ryan McCue's picture
Offline
Last seen: 15 years 2 months ago
Joined: 2006-01-06 21:27
Developing when I have the time

is a more suitable title
I`ve got a lot on my plate at the moment
----
R McCue

"If you're not part of the solution, you're part of the precipitate."

jkbeeline (not verified)
Is there an easy way to do this?

I'm not a programmer, but what would it take to redirect the saved podcast target folder and program settings to a portable drive? This seems like it should be fairly simple and I am fed up with trying to use Podcatcher on a Stick.

Thox
Offline
Last seen: 18 years 3 months ago
Joined: 2006-02-09 06:46
Related thread

See also: Portable Podcatcher thread.

justin
Offline
Last seen: 13 years 3 days ago
Developer
Joined: 2005-12-24 15:41
Juice

Does someone want to take up that project? I started it on PortaSoft www.portasoft.org but I haven't messed with it. Perhaps Deuce could do it with his little USERPROFILE trick that got Portable Psi (also on Portasoft) to write to its application directory.

-Justin

John T. Haller
John T. Haller's picture
Online
Last seen: 28 min 57 sec ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
USERPROFILE

Actually, that would be the USERPROFILE setting I used to use for a few different portable apps and now recommend against. It's a pretty easy call in NSIS:

System::Call 'Kernel32::SetEnvironmentVariableA(t, t) i("USERPROFILE", "$EXEDIR\$USERPROFILEDIRECTORY").r0'

I used to use in in Portable Gaim 1.5 Beta 1 and another app (I think OO.o) but I stopped using it months ago. I recommend against it unless *absolutely* necessary as, on some systems, it redirects not only the app you're wrapping, but eveery other app on the system you run after that. This can cause loss of data, failure to safe eject the key, etc. A reboot will fix the issue, but it's better to avoid it from the start.

Sometimes, the impossible can become possible, if you're awesome!

justin
Offline
Last seen: 13 years 3 days ago
Developer
Joined: 2005-12-24 15:41
mhm

Yea, I know that it does that sometimes, but there was no other way with the Psi client. It wrote all its configuration to C:\Documents and Settings\User, so there was no other way. I did think about asking the people of Psi if they could have it save in the app directory by default in another release, but I haven't gotten around to that.

-Justin

John T. Haller
John T. Haller's picture
Online
Last seen: 28 min 57 sec ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Just tried it

Since Juice instantiates iTunes, as expected, iTunes then gets stuck running partially from that altered USERPROFILE path. You'll be presented with your iTunes license agreement (if it's installed) soon after starting Juice and then it will run within that directory, creating cookies directories (since it instatiates IE), an Apple Computer directory, etc. So, although you can point Juice to a new path by using USERPROFILE, it's a bad idea.

I had started a version of Juice a while back and just updated it to try the USERPROFILE trick (which failed). I can release the code if anyone would like to see it, but it's really the same as previous apps... nothing too new and exciting.

Sometimes, the impossible can become possible, if you're awesome!

justin
Offline
Last seen: 13 years 3 days ago
Developer
Joined: 2005-12-24 15:41
oh

Wow okay, well that won't work then. Thanks for the info!

-Justin

Deuce
Offline
Last seen: 14 years 2 months ago
Developer
Joined: 2005-12-24 16:32
Yeah I saw this as well...

I found the Userprofile switch thing online somewhere, I actually had no idea that you used it.

And Yes, I did notice that it does do that sort of thing with certain programs, but I noticed that it is usually those that use IE or its folders in one way or another, as you said a couple of threads below.

I tested it with PortablePsi, and it does not have this problem, it only wraps the psidata folder from the program itself. Why it works with this and not others has to be the way a programmer builds it. I can't think of any other reason.

But I try to make it as foolproof as possible, and when I find that it doesn't span out as I would like I usually leave it out and find another way. Such as just copying it out and back into the profile directory.

Again, sorry John, I had no idea you used it before, as I don't use Gaim, I never looked at the code. Smile

***********************************
Deuce   {The Core}
"Portable Software: Just the beginning..."

Deuce
Portable Software: Just the beginning.

John T. Haller
John T. Haller's picture
Online
Last seen: 28 min 57 sec ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Heh

I wasn't claiming I invented it :-). The concept of using USERPROFILE was suggested by someone else and then I looked it up for NSIS.

The way it affects things is that I'd, say, set it in the Portable Juice launcher. So, it would be changed for that app. Then that launcher launchers Juice, so it would be using that same USERPROFILE. Then Juice, on startup, starts iTunes, which *also* gets the USERPROFILE... which we don't want. Basically, any app that directly calls another will be using that USERPROFILE. Now, with Psi, it seems that may not be an issue.

However, there are some computers on which, even if your portablized app doesn't call other apps, it starts to affect them. This may be due to using some component or something we're not sure of... but it does happen. And it does happen quite a bit... far more than expected. Just wanted to be sure you're aware.

Sometimes, the impossible can become possible, if you're awesome!

Tuxmouraille
Offline
Last seen: 15 years 6 months ago
Joined: 2006-03-03 12:31
PortableJuice

I have made one PortableJuice, it's great, but I haven't server to distribute. Can you help me?

John T. Haller
John T. Haller's picture
Online
Last seen: 28 min 57 sec ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Issues?

If you've solved some of the issues above, I'd like to chat about hosting it here. Please drop me a note.

Sometimes, the impossible can become possible, if you're awesome!

Tuxmouraille
Offline
Last seen: 15 years 6 months ago
Joined: 2006-03-03 12:31
To make it, I have use

To make it, I have use this:
System::Call 'Kernel32::SetEnvironmentVariableA(t, t) i("APPDATA", "$EXEDIR\$APPDATADIRECTORY").r0'

and also other fonctions to solve all issues above.

Tuxmouraille
Offline
Last seen: 15 years 6 months ago
Joined: 2006-03-03 12:31
How to download PortableJuice.
Tuxmouraille
Offline
Last seen: 15 years 6 months ago
Joined: 2006-03-03 12:31
New web site!

Now you can download final build from our official web site at:
http://www.framakey.org/Portables/Index

Topic locked