Comments (11)
Alright, are you planning on doing something docker-wise? Maybe even give it a quick and dirty webUI?
That would be astronomical!
I have plans for a qt, commandline interface as well as http API too !
from onthespot.
I would also like this feature. Configs could potentially be done in a config file or through arguments entered with command which would allow for full automation. Being able to have this run on a set schedule would help the hands-off functionality of my media server.
An example could be onthespot.py -nogui -config.txt -link=spotifylink
and in the config.txt would be lines like:
[email protected]
password1=123456
max_download_workers=1
parsing_account_sn=1
etc
etc
which would use the provided commands to download that Spotify link. If you don't want to use the config file, you could just run the command like:
onethespot.py -nogui [email protected] -etc -etc
You could add addition accounts with account#, password# or something of the likes. They could potentially also be hashed in some way so they aren't stored in plain text.
One thing I would like to see is a setting to remove songs that aren't in your playlist. Can just be a simple toggle that checks the songs downloaded from the songs in the playlist, compares them with the songs that are currently stored on disk and removes the ones that do not belong. This could have issues if the songs are downloaded like author/album/song.mp3
but I'm sure there is an effective way to figure this out.
from onthespot.
I plan on doing this but it may take some time for refactoring and new code for cli support. Since the threads for downloading and all other depend on QThread an elegant cli can be difficult. CLI with same featureset of GUI can get some limitation like cli instance downloaing 'now playing' from desktop session and another instance downloading a playlist will almost fail.
I have some alternate plans to achieve automation and scripting with onthespot, maybe we can discuss how it should go on discord ?
from onthespot.
Discord link is currently invalid
from onthespot.
Discord link is currently invalid
I have updated it in readme ! Can you try now ?
from onthespot.
Yup, it works now.
from onthespot.
Hey,
I'd love to have a simple CLI functionality aswell. I want to run this on my server so that my PC doesn't need to be turned on while downloading.
Any chance i can get the testcode aswell? :-D
from onthespot.
Hey,
I'd love to have a simple CLI functionality aswell. I want to run this on my server so that my PC doesn't need to be turned on while downloading.
Any chance i can get the testcode aswell? :-D
A better rewrite of this project is planned and will probably add support for multiple user interface types. It will take a few weeks for me to start the rewrite as i'm currently busy due to academic works !
Sorry, i didn't get what you mean by testcode tho !
from onthespot.
Alright, are you planning on doing something docker-wise? Maybe even give it a quick and dirty webUI?
That would be astronomical!
from onthespot.
Fantastic, thank you! :-)
from onthespot.
@casualsnek - Hey mate! Just wanted to stop by and ask if you have a eta for the rework? Or "atleast" for the CLI mode?
from onthespot.
Related Issues (20)
- [Feature] Metadata options HOT 3
- Metadata Failed HOT 2
- [Feature] Copy a complete progress table
- [BUG] download stuck at 99% but failed HOT 4
- AIFF missing Metadata
- Facebook account login? HOT 1
- [BUG]Instability when using more than two worker threads.
- [Feature] Minor QOL Improvements
- [BUG] build from source - qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found HOT 3
- [BUG] Get metadata failed HOT 18
- [BUG] Nothing in progress bar along with an error HOT 1
- Playlist "error"
- [BUG] HOT 1
- issues with save path when using ' on windows. Final conversion from ogg to mp3 fails due to output string error to ffmpeg.
- Playlist download does not reflect recent changes in the playlist HOT 1
- Download failed !!!
- [BUG] Files all fail at 99% HOT 2
- Download Location Changes HOT 4
- Metadata Fetching Failing Causing Fetch Failure HOT 3
- [BUG]Unbound Local Error cannot access local variable 'enqueue_part_cfg' HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from onthespot.