Menu
Main Menu
Talk
Get Daily
Search
Member's Online
User Name
Password
Faster access to a website
Reply
Page 2 of 2
|
Prev
|
1
2
|
lma
| #
11
| 2012-07-19, 12:25 |
Report
Yeah, your script is not in unix format. You need to remove the carriage returns at the end of every line.
Edit
|
Forward
|
Quote
|
Quick Reply
|
Thanks
The Following User Says Thank You to lma For This Useful Post:
Addison
Addison
| #
12
| 2012-07-19, 12:27 |
Report
Okay. Will do. Thank you!
Edit
|
Forward
|
Quote
|
Quick Reply
|
Thanks
Addison
| #
13
| 2012-07-19, 14:16 |
Report
I went ahead and deleted lines 2 and 3.
bash -x /usr/bin/juicer
/usr/bin/juicer: line 25: syntax error: unexpected end of file
sh -x /usr/bin/juicer
/usr/bin/juicer: line 25: syntax error: end of file unexpected (expecting "then")
juicer guster
: bad interpreter: No such file or directory
I now am using bash4.
I still have a /bin/bash file so I don't understand what I'm missing here.
Edit
|
Forward
|
Quote
|
Quick Reply
|
Thanks
lma
| #
14
| 2012-07-19, 14:20 |
Report
You are barking up the wrong tree. Your bash is fine, and even the busybox shell will do. The problem is that your script is corrupted, and you need to fix it to have unix line endings. On every line, not just the top.
Edit
|
Forward
|
Quote
|
Quick Reply
|
Thanks
The Following User Says Thank You to lma For This Useful Post:
Addison
Addison
| #
15
| 2012-07-20, 03:41 |
Report
You were right lma.
fromdos -d /media/mmc1/juicer
I hope more good things will come from this script, but it's a super great start for such an early release.
Now, how to stop it from downloading every Guster song in existence? *lol*
Edit
|
Forward
|
Quote
|
Quick Reply
|
Thanks
Addison
| #
16
| 2012-07-20, 23:32 |
Report
Here's the file again, only working this time.
juicer.txt
Remove the .txt extension and make it executable.
Would anyone here like to pretty this up a bit?
The songs need to have .mp3 added to them.
killall wget should stop it's massive downloading.
But mostly, like that goear script, show what's available and be able to choose a song rather than having juicer download every single search result.
Oh, and maybe have it download to a specific folder as well.
If you ever want to find a song, this will not only get it for you, but will also get the best recording of it. Usually at 320 kbps.
This script is version 0.1.
Someone please release a 0.2 of it.
Edit
|
Forward
|
Quote
|
Quick Reply
|
Thanks
Page 2 of 2 |
Prev
|
1
2
|
vBulletin® Version 3.8.8
Normal
Logout