![]() |
SCTC
the soundcloud.com terminal client
|
Basic configuration of SCTC (compile time). More...
Go to the source code of this file.
Macros | |
| #define | BOOKMARK_FILE ".bookmarks.jspf" |
| #define | SERVER_PORT 443 |
| #define | SERVER_NAME "api.soundcloud.com" |
| #define | USERLIST_FOLDER "custom_lists" |
| #define | USERLIST_EXT ".jspf" |
| #define | MAX_LISTS 16 |
| #define | MAX_REDIRECT_STEPS 20 |
| The maximum number of allowed HTTP redirects. More... | |
| #define | CACHE_DEFAULT_PATH "./cache/" |
| The default cache path. More... | |
| #define | CACHE_STREAM_FOLDER "streams" |
| Folder holding the cached streams. More... | |
| #define | CACHE_STREAM_EXT ".mp3" |
| The file extension used for caching lists. More... | |
| #define | CACHE_LIST_FOLDER "lists" |
| Folder holding the cached lists. More... | |
| #define | CACHE_LIST_EXT ".jspf" |
| The file extension used for caching lists. More... | |
| #define | CLIENTID "848ee866ea93c21373f6a8b61772b412" |
| The soundcloud.com API key. More... | |
| #define | CERT_BRAIN_FOLDER "./remembered_certs/" |
| Folder containing the fingerprints of the certificates used by the servers in one of the previous connections. More... | |
| #define | BENCH_START(ID) |
| #define | BENCH_STOP(ID, DESC) |
Basic configuration of SCTC (compile time).
| #define BENCH_START | ( | ID | ) |
| #define BENCH_STOP | ( | ID, | |
| DESC | |||
| ) |
| #define BOOKMARK_FILE ".bookmarks.jspf" |
| #define CACHE_DEFAULT_PATH "./cache/" |
The default cache path.
Keep in mind: this is a default value, which can be modified by the user. Do not use this constant directly.
| #define CACHE_LIST_EXT ".jspf" |
The file extension used for caching lists.
As we use JSPF as format, we'll just use .jspf as extension.
| #define CACHE_LIST_FOLDER "lists" |
Folder holding the cached lists.
The folder specified here is relative to the config option cache_path
| #define CACHE_STREAM_EXT ".mp3" |
The file extension used for caching lists.
As MP3 is the format provided by soundcloud.com and we directly save cache the data from the server, we use .mp3 too.
| #define CACHE_STREAM_FOLDER "streams" |
Folder holding the cached streams.
| #define CERT_BRAIN_FOLDER "./remembered_certs/" |
Folder containing the fingerprints of the certificates used by the servers in one of the previous connections.
| #define CLIENTID "848ee866ea93c21373f6a8b61772b412" |
The soundcloud.com API key.
This key is required to access api.soundcloud.com and is appended to every request sent.
| #define MAX_LISTS 16 |
| #define MAX_REDIRECT_STEPS 20 |
The maximum number of allowed HTTP redirects.
| #define SERVER_NAME "api.soundcloud.com" |
| #define SERVER_PORT 443 |
| #define USERLIST_EXT ".jspf" |
| #define USERLIST_FOLDER "custom_lists" |
1.8.9.1