Commit Graph

14 Commits

Author SHA1 Message Date
Xevion
cb5e7e08b1 add comments to sound models
long overdue, probably not really necessary, but it's my own personal requirement
2019-12-25 04:58:58 -06:00
Xevion
518d433172 updated delete method to attempt removal and procede on failure
still need a method to delete random files that get scattered in an attempted "conversion" attempt (these were left around when ffmpeg failed).
also need further excepts based on FileNotExistsError, PermissionError etc.
2019-12-24 23:52:23 -06:00
Xevion
a86e0a7185 remove decode, proper return application/json mimetype, fix url being null
should have put in the url filling a long time ago, I just didn't wanna open up the massive JSON response and locate the key required. also, with this I'll have to clear the databases with new URLs (or maybe I should refresh all metadata?)
2019-12-24 22:49:00 -06:00
Xevion
88b7884e55 status modifications with new validation and JSONifiation methods 2019-12-24 22:10:57 -06:00
Xevion
e0bba950db remove ffmpeg specification
this may be causing an error!
2019-12-24 20:10:31 -06:00
Xevion
af02f90aa3 hard specify ffmpeg, embed thumbnail
thumbnail may create longer wait time for return, ffmpeg may be temporary until droplet is restarted
2019-12-24 19:53:29 -06:00
Xevion
5a5cd155ef simple comment change for YouTubeAudio.download() segment 2019-12-24 19:46:08 -06:00
Xevion
f9bf9ba4b8 add delete function, fix -4 ipv4 argument on second download subprocess opening 2019-12-24 19:43:23 -06:00
Xevion
92442de38d made changes to remove access of youtube API again, moved to output template system without os.rename
hopefully this can avoid the annoying 429 calls 👍
2019-12-24 19:37:34 -06:00
Xevion
fd4ac8896d ipv4 only fix for youtube 429 ratelimiting
probably not gonna work in the long run
2019-12-24 19:22:51 -06:00
Xevion
d6124698af default 0 access count, added mini logging prints, fixed minor fails and mostly ready to implement proxies 2019-12-24 17:01:09 -06:00
Xevion
250b39b462 add access timestamp and count updates with session commits
not sure how well I'm doing the session commits, I need help lol
2019-12-24 03:17:11 -06:00
Xevion
5992b328e4 begin clearing out old sound functions, add downloader function
most of these are untested and definitely very buggy, just moving stuff around for now
2019-12-24 00:55:32 -06:00
Xevion
67593c8f9b moved models into separate sound_models, started creating basic metadata filler functions 2019-12-24 00:51:44 -06:00