Skip to content

Commit

Permalink
plugin-superman: bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
gojigeje committed Feb 25, 2015
1 parent 0fe4c47 commit 2c24434
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions plugin/superman.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,11 @@

# aksi_array+=("twit_superman")

playlist="https://www.youtube.com/playlist?list=PLMf7VY8La5RFIeOyIZ5IOm68WVb7c2dyT"
linkFile="temp/superman.links"
touch "temp/superman.vid.new" "temp/superman.vid.old"
setup() {
playlist="https://www.youtube.com/playlist?list=PLMf7VY8La5RFIeOyIZ5IOm68WVb7c2dyT"
linkFile="temp/superman.links"
touch "temp/superman.vid.new" "temp/superman.vid.old"
}

getlinks() {
echo "> Refreshing playlist.. ($playlist)"
Expand Down Expand Up @@ -113,6 +115,7 @@ updateplaylist() {
# main function
twit_superman_main() {

setup
getlinks
compare
getinfo
Expand Down

0 comments on commit 2c24434

Please sign in to comment.