PIONEERS Lenny Is Back!

mbellot

Active Member
Joined
Dec 15, 2008
Messages
406
Reaction score
187
But as the caption at the bottom says... "still runs". :D

Updating would be much less painful if there was a way to migrate things like trunks, extensions, in and outbound routes... But I know that comes with it's own pile of problems, which is why it's generally not possible.

I've been slowly adding the config info to my VB PIAF-Green system with the hopes of doing a config backup and restore to the real system (new HD with a fresh Green install waiting, the old Gold HD standing by when it all goes very wrong).
 

visionlogic

Guru? Nope
Joined
Oct 11, 2009
Messages
117
Reaction score
33
I've installed Lenny Encore ( http://nerdvittles.com/?p=6762 ) on my Incredible Pi. In doing some testing after setting up convert2mp3.sh and running it I get this error:

Code:
/root/convert2mp3.sh: line 13: /usr/local/bin/mime-construct: No such file or directory

SSH'ing into the Pi and checking "/usr/local/bin" confirms no such file.

I know next to nothing regarding linux and its various permutations. Is there an existing "mime-construct" that I can grab and place in "/usr/local/bin" in order to fix this error on the Pi?

Thanks

EDIT 1: After some searching, I used "sudo apt-get install mime-construct" to install from raspian. Now the script converts wav to mp3. However, no email is sent when I run the script. The only error is that the "--from" switch is unknown by mime-construct. Any ideas?


EDIT 2: Going back through this thread and using a change posted by Trimline2 at the top of page 4, and then using info about "mime-construct" and its switches found at http://search.cpan.org/~rosch/mime-construct/mime-construct , I made some changes to convert2mp3.sh as follows and it's working perfectly. Just thought I share my minuscule achievement with anyone else that might be playing with the Incredible Pi.

Code:
#!/bin/bash
# name of this script: convert2mp3.sh
# wav to mp3 and email the results to:
 
email="[email protected]"
subj="Lenny Recording $(date)"
 
cd /tmp/Lenny
for i in *.wav; do
if [ -e "$i" ]; then
file=`basename "$i" .wav`
lame -h -b 64 "$i" "$file.mp3"
rm "$file.wav"
/usr/bin/mime-construct --file-auto "$file.mp3" --to $email --subject "$subj"
rm "$file.mp3"
fi
done
 
# end of script
 

marks

New Member
Joined
Sep 3, 2010
Messages
22
Reaction score
4
I can't seem to get the ducks happening, is the recording missing?
for me the ducks are the highlight..


mark
 

wardmundy

Nerd Uno
Joined
Oct 12, 2007
Messages
19,201
Reaction score
5,220
Yeah. I saw that, and Brian sent me an email last night as well.

For the record, here was our original message thread in which Brian used the same email address as last night.
I've covered up our actual email addresses ONLY. Gotta love Gmail. :)

BvfG_uSCYAAYW8_.jpg:large
 

Mango

www.toao.net
Joined
Aug 10, 2013
Messages
46
Reaction score
13
He must just have a lot on his mind and forgot about your conversation from last year. Happens to all of us.

 

wardmundy

Nerd Uno
Joined
Oct 12, 2007
Messages
19,201
Reaction score
5,220
tm1000: I appreciate your interpretation. I've considered that as well after someone else mentioned much the same thing. The only problem I have with that is the authorization was to use "those materials" whether you choose my interpretation or yours. Regardless of the choice, the Lenny side of the conversation was part of those recordings. In fact, it was all I happened to have. If I give you permission to use a recording, that would enable you to use portions of the recording as you see fit so long as the excerpts do not lead to confusion or a misinterpretation of the original work. That obviously is not the situation here.

Brian may have understood the request just as you have. While that is certainly possible, it's worth noting that others including yourself subsequently asked for the same thing which clearly put him on notice albeit after the fact. Despite the notice from others that there could be confusion, I never heard from Brian again until last night after the Reddit discussion. It's also worth noting that Brian only had the right to authorize use of the Lenny-side of the conversation in the first place since he was never the other party being recorded. Hopefully, this is merely an academic discussion since I've been led to believe that Brian now appears to be taking steps to "officially" license the recordings.

Finally, let me note that I obviously don't share your (legal) conclusion as to whether an email authorization can constitute a license. My legal opinion is that it most certainly can and, in fact, it did in this case. Otherwise, we wouldn't have produced the reworked Lenny application for Asterisk in the first place.
 

wardmundy

Nerd Uno
Joined
Oct 12, 2007
Messages
19,201
Reaction score
5,220
I've written to Brian for clarification on the permission issue. I'll let everyone know when I get a response.

I'm not a Reddit regular so this is all news to me as it is to many of you. Something prompted the love letters last night obviously, and I've asked Brian for an explanation of that, too. Because he wrote the ItsLenny app, I assumed Brian owned the materials. After all, he is in the open source business 24x7. His response saying it was OK to distribute the materials certainly confirmed ownership as far as I was concerned. You don't lend folks the car unless you own it. :auto:

As to the "Good Ole Ward lifted the files" comment on Reddit, let me clarify. All of the Lenny pieces were posted by someone (presumably not "Jay's friend") on DSL Reports. I downloaded the files. That same day I sent the email to Brian that I've posted above. Looks like it's time to crank up the Way Back Machine. :walkman:
 

Members online

No members online now.

Forum statistics

Threads
25,810
Messages
167,754
Members
19,240
Latest member
nikko
Get 3CX - Absolutely Free!

Link up your team and customers Phone System Live Chat Video Conferencing

Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.
Top