bashpodder HOWTO?

Hey drop us a line about the show. Feel free to ask questions, provide feedback and criticism, or just ramble on about anything your little heart desires.

Moderators: snarkout, Patrick, dann

Post Reply
User avatar
treehead
Posts: 159
Joined: Wed Aug 17, 2005 3:20 pm
Location: detroit metro, usa

bashpodder HOWTO?

Post by treehead » Sat Nov 26, 2005 5:59 pm

;ok, call me a newb, but i am at a loss as to the "proper" way to install and/or configure bashpodder.

;i understand that i will have to schedule bashpodder to run by configuring it in a crontab (i can RTM for that), what i don't know is where to place the script (and its associated files) or where it will place the downloaded files and whether i can change that.

;is there any "official" documentation on how bashpodder works, how to configure it, etc? if not, i would like to figure this out and write some.

;treehead
"It is a widely accepted notion among painters
that it does not matter what one paints, as long as
it is well painted. This is the essence of
academicism. There is no such thing as a good
painting about nothing." --Mark Rothko

User avatar
Chess
Posts: 386
Joined: Thu Nov 17, 2005 2:06 pm
Location: Raleigh, NC
Contact:

Post by Chess » Sat Nov 26, 2005 8:44 pm

I have not played with Linc's script yet (but will soon) but I seem to recall the last time I looked at it that there is a data directory variable or something within the script. You may want to look through the script itself because I think that's where you set it. Just change it whatever you want. As for where to save it, I would just save the script in your home directory and then have cron run it every so often.
Chess Griffin

User avatar
treehead
Posts: 159
Joined: Wed Aug 17, 2005 3:20 pm
Location: detroit metro, usa

datadir

Post by treehead » Sat Nov 26, 2005 10:42 pm

Chess wrote:...I looked at it that there is a data directory variable or something within the script....
;yeah, i saw that variable:

Code: Select all

# datadir is the directory you want podcasts saved to:
datadir=$(date +%Y-%m-%d)
...which would appear to dynamically create a new directory every time the script runs, which i don't want. i would assume that i can just make this static if i want to. actually, i'd like to have a separate directory for every podcast, where they can accumulate with each successive download.
Chess wrote:As for where to save it, I would just save the script in your home directory and then have cron run it every so often.
;i was wondering if there's a "standard" directory to house shell scripts in slackware (or any linux in general).

;treehead
"It is a widely accepted notion among painters
that it does not matter what one paints, as long as
it is well painted. This is the essence of
academicism. There is no such thing as a good
painting about nothing." --Mark Rothko

User avatar
Linc
Site Admin
Posts: 345
Joined: Mon Apr 26, 2004 11:54 pm
Contact:

Re: datadir

Post by Linc » Mon Nov 28, 2005 1:15 pm

treehead wrote:actually, i'd like to have a separate directory for every podcast, where they can accumulate with each successive download.
There are a whole bunch of people that have made that change. You can find their modified versions of the script with that change and a lot of other ideas as well at: http://linc.homeunix.org:8080/scripts/b ... ntributed/

;i was wondering if there's a "standard" directory to house shell scripts in slackware (or any linux in general).
;treehead[/quote]
Well, the standard (which not many people actually use anymore) is to create a "bin" directory under your home directory and use that to store the scripts you created.
-Linc Fessenden

In the Beginning there was nothing, which exploded - Yeah right...

User avatar
treehead
Posts: 159
Joined: Wed Aug 17, 2005 3:20 pm
Location: detroit metro, usa

ah-ha...

Post by treehead » Mon Nov 28, 2005 1:55 pm

;gotcha. thanks.

;treehead
"It is a widely accepted notion among painters
that it does not matter what one paints, as long as
it is well painted. This is the essence of
academicism. There is no such thing as a good
painting about nothing." --Mark Rothko

User avatar
dann
Site Admin
Posts: 1132
Joined: Mon Apr 26, 2004 10:55 pm
Location: Hampton, Va, USA
Contact:

Post by dann » Tue Nov 29, 2005 9:11 pm

First line in Bashpoder how-to:

Download and install Penguin TV - Why trush unreliable scripts?

Ha ha, in your face Linc!

Post Reply