This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import time | |
import requests | |
import json | |
class DownloadStationAPI(): | |
def __init__(self, host=None, username=None, password=None): | |
self.name = 'DownloadStation' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
A0kxKAAlUUX6RFTRKCSlU0iKV6KqZhG5paraJaoow0TqGIWWQfIMRU0TlWtEZRuSfEORcRR0jqhqnajCQVRpoSo9RMJEJNVFSm0U5SOqGIlEJyG1kqiCmUS5icJOFf1ENFTEUgQ9JU0FropkK1GlvhJVclZUEdaKKqK3okp3RVX2Sn8pMBiiw0qLUXpMyWSELgubKfqsUqNROa2wmqhCr1UVsxXdVmE34TdouKocF1VUy6GeIzWd6jqq2q6S7wiMV4Xzqmi9qtJ+CNdYUCWuL7uYLqgu9mGu5QXVEMvOKFuvxuMLPEJYUVDlYtyc9zTKl1/lBjHQggIe7HrfKjeIgRbyDm5YM/pWCQbRuZ5y9SoHBcQF1RDLzihbr1ctPsYhHPAd4rGzJ6pKzyiosnP8/i4mFlQx/4B8OuAVuG+9muf8oJ0uqF6DHuyYw58F1RDLzuhbr1ePIcaxX0F1CNpXWFFQDbHsjL716rHfsKCgC6rDguKAfDrgFbhvdVhQ0OM3eqLk6vUqXww38R5BF1T5YnhB9Zv7DFxQteDBrg8LFlQ9Hs7HUeWV2YSgSo/f6Ilirj6hadLhPVHpehUH7UEsqD6gadLhPY3MclWPh/NxVFXeKXT1CU2TDu/5R6Xr9eq32J8FVWiac4goqIZYdkbfKj1+oyeKql6v16t4B/FY/BOYLqhegx7smMOfVfSZ8BKCPFFl1/ohYvj1rdLfWkPcPY31KnF9PR5OF1RnmG5x6wVVAVmIiYHpvvUqHjfnFrdeUBWQhZgYmO5br34rYhoLqiGWnUHsWyUYROd6MsvPVR2voL/FIbxvvV7FO4jHir0DF1QxnEH3rVf5g+W7Q0EXVEMsO6NvvV5l96YLqhbkC8+gcB2/0dOIqlqQLzyDwqsU3B7f3iIQSGofFCA/NdXhccjiiplB4Tp+o6cRVR0ehyyumBkUXqXg9vj2FoFAUvugAPmpqVe5QQzAd4jHzr5V4tIcCxcT6YLqh6EZND2goAuqIZadkWBoBk0PKOiy9arD |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
robocopy E:\SOURCE /e C:\DESTINATION /MIR /NP /LOG:transfert.txt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
::Will sort files into category structure from a CSV file structured as so: | |
::000cb3c6.wav,ROS,REAL LATE PART 3 11/29/14,,HOT/PRosenberg,11/30/14,04/16/42,0,0,2119288 | |
::FILENAME,CAT,TITLE,ARTIST,TRIVIA,STARTDATE,ENDDATE,CUEIN,INTRO,EOM | |
::SET THE DESTINATION PATH AND THE PATH TO THE CSV FILE | |
SET BASEDIR=D:\ | |
SET SORTCSV=%BASEDIR%\rename.csv | |
SET SRCEDIR=CONV | |
SET DESTDIR=RENM | |
:: | |
::008110105.WAV,DA,0000,BUT |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
setlocal enabledelayedexpansion | |
SET PATHA=F:\SOURCE | |
SET PATHB=F:\DESTINATION | |
SET CALLS=XXXX | |
SET /A Counter1=1 | |
SET /A Counter2=9999 | |
ECHO STARTING STATION %CALLS% | |
TIMEOUT 5 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CD F:\ENTWIC\RENM\COM | |
Dir /B>f:\ENTWIC\Dir.txt | |
FindStr /R [0-9]*[2-9].[Ww][Aa][Vv] f:\ENTWIC\Dir.txt>f:\ENTWIC\multicuts.txt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
type converter.log | findstr successful>success.csv |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set newline to ASCII character 10 | |
set availableFormat to "\\033[0;37m" | |
set awayFormat to "\\033[0;30m" | |
set idleFormat to "\\033[0;30m" | |
set offlineFormat to "\\033[0;30m" | |
set unknownFormat to "\\033[0;30m" | |
set resetFormat to "\\033[0;30m" | |
set ownName to "****YOURNAME****" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set RdioArtworkFolder to ((path to home folder) as text) & "Pictures:Rdio:" as alias | |
set ArtworkFromRdio to ((path to home folder) as text) & "Pictures:Rdio:FromRdio:albumArt.tiff" as alias | |
set RdioArtwork to ((path to home folder) as text) & "Pictures:Rdio Artwork:FromRdio:albumArt.tiff" | |
set RdioBackground to ((path to home folder) as text) & "Pictures:Rdio Artwork:FromRdio:black_background.png" | |
set DefaultArtwork to ((path to home folder) as text) & "Pictures:RdioArtwork:Default:albumArt.tiff" | |
set DefaultBackground to ((path to home folder) as text) & "Pictures:Rdio:Default:transparent_background.png" | |
set displayArtwork to ((path to home folder) as text) & "Pictures:Rdio:albumArt.tiff" | |
set displayBackground to ((path to home folder) as text) & "Pictures:Rdio:background.png" | |
set FromRdioFolder to ((path to home folder) as text) & "Pictures:Rdio:FromRdio:" | |
set ArtworkFromRdio to FromRdioFolder & "albumArt.tiff" as alias |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on ApplicationIsRunning(appName) | |
tell application "System Events" to set appNameIsRunning to (name of processes) contains "Rdio" | |
return appNameIsRunning | |
end ApplicationIsRunning | |
on np() | |
if ApplicationIsRunning("Rdio") then | |
tell application "Rdio" | |
set artist_name to get artist of current track | |
end tell |
NewerOlder