The third actually downloads all new popdcasts, the main purpose of all this, save it to OFFįor /r %%x in (*.mp3) do move "%%x" \podcasts\ This next one gets us into the command line version, save it as OFF Set path=%systemroot%\system32 %appDir%PyDLL %appDir%Lib %appDir%DLLs Reg.exe add "HKEY_CURRENT_USER\Software\\gPodder" /v GPODDER_HOME /t REG_SZ /d "%appDir?ta" /f This first one is for starting the Windows version of gPodder, save the following into the file ' OFF We had to do this, so gPodder can find all the required Python files, because we have to do this every time we want to use gPodder, we create some batch files. If you open another command prompt, it has its own path value. We overrode the existing path variable, but that's okay, this value is only valid for the current session. Remember above we did set the path variable to %systemroot%\system32 %appDir%\PyDLL %appDir%\Lib %appDir%\DLLs, To exit the command line interface, just: See whether there are any podcasts to download: Now we are in the command line version of gPodder, we can list our subscriptions:Ĭheck for new podcasts ready to be downloaded: In the existing command prompt window, type: You only need them if you want to sync your subscriptions with, not for downloading podcasts. If you used to get your existing subscriptions, open the file 'X:\Apps\gpodder\Data\Settings.json' in a notepad and search for 'password', You'll find your username and password for, replace them with dummy data, you don't want these credentials in clear text in a file on your thumb drive. We are now done with the initial setup, close the program. I had already listened to them all, so selected all and click 'Mark as old': You should then 'Check for new episodes' and download the ones you want. You can manually add URLs or so your subscriptions from. Now you have to set up gPodder for the first time. Select 'no' and in the next dialog select the 'x:\Apps\gPodder\Data' folder. Set path=%systemroot%\system32 %appDir%\PyDLL %appDir%\Lib %appDir%\DLLs Open a command prompt (cmd.exe) and type/copy the following, assuming x: is the drive letter of your USB thumbdrive: We don't want to change the global path variable, but we could also change the path for a command line session. This is usually done by adding the location of the Python files to the Windows 'Path' variable. Because gPodder is written in Python we need to make it work with the Python we just downloaded. We now have all the files we need, but it does not work just like that. Now extract the content of the file 'gpodder-3.x.x-win32.zip' (3 folders, 5 files) to '\Apps\gPodder\'. Open \Apps\gPodder\PyDLL and delete all files but 'python27.dll'įinally create an empty directory 'Data' under '\Apps\gPodder\' this is where we store the configuration and mp3 files. We just used this to get a version of the Python runtime. Now delete the 'gPodderPortable' directory. Navigate to '\Apps\gPodder\gPodderPortable\App\Python' and select all files and cut them (Crtl X, Crtl C), move up to '\Apps\gPodder\' and paste (Crtl V). Run gPodderPortable_3.3.0_Rev_3.paf.exe and as the destination folder, pick 'Apps\gPodder' you just created. In there I create a new directory 'gPodder' On my USB thumb drive, I have a \Apps folder that was many portable apps. Here's what I did to get a one-click portable podcast download solution:ĭownload the gPodder Portable /apps/internet/gpodder_portableĭownload the normal Windows gPodder /downloads GPodder comes with a command line version gpod.exe but that is not working within the PortableApps package. So I used gPodder for a while but it requires at least 4 clicks to download the latest podcasts. I've been using the PortableApps suite for years now, and it comes with two programs ' Juice and gPodder that do download podcasts. Then I would manually download each file and copy it over to my MP3 player.Įven on my home PC I would do the same for a while because I wouldn't install iTunes and tried to avoid installing other media software. So every few days I would go to an internet café check my email and the latest feeds in Google Reader. Because I travel a lot and listen to many podcasts, I need to download them somehow while on the road without having a computer with me. If you want it prettier: switch((ls -r|measure -sum Length).A portable podcast downloader for Windowsįor quite a while I was looking for a portable podcast software for Windows. Furthermore it will likely count symlinks and junctions multiple times so it's at best an upper bound, not the true size (you'll have that problem with any tool, though).Īn alternative is PowerShell: Get-ChildItem -Recurse | Measure-Object -Sum Length So it will get sizes above 2 GiB wrong 1. However, this has several problems because cmd is limited to 32-bit signed integer arithmetic. You can just add up sizes recursively (the following is a batch file): offįor /r %%x in (folder\*) do set /a size =%%~zx
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |