DriveCast Syncher client installation readme
============================================
Here are the source files to create a DriveCast client synchronizer, optimized
to work in a linux command-line environment.
The external libs required to compile DriveCast Syncher are:
- libcurl3-openssl-dev
- libxml2-dev
The soucers are just made by 3 files. To compile them use the commands:
g++ -Wall -c downloader.c
g++ -Wall -I. -I/usr/include/libxml2 -c engine_osl.c
g++ -Wall -pthread -o DriveCastSyncher engine_osl.o downloader.o -L/usr/lib -lcurl -lxml2
Once DriveCast Syncher is compiled, some folder must be created:
If starting point is home folder ( ~ ), and DriveCastUSB is saved in ~, do:
mkdir DriveCast
mkdir DriveCast/Programs
mkdir DriveCast/Programs/CastInfo
cp DriveCastSyncher DriveCast/Programs
Now put your DriveCast RSS URL inside a feed.info file
To get DriveCast RSS URL just login with your account to DriveCast site
http://drivecast.eu
Once logged, look at top right and you will see 3 voices:
<your account name>, RSS, Exit
Just click on RSS link and copy it (it should be something like
http://drivecast.eu/rss/rss.php?D=x=ccUGkzNWThz4cBx310RLYjzfakdGz2FLNuxHbINm0jVLNsUJDMiFGdzhjRHJmZ -
this URL doesn't exist, it's only a syntax example).
To insert the RSS feed URL in feed.info you can do:
echo http://drivecast.eu/rss/rss.php?D=x=ccUGkzNWThz4cBx310RLYjzNakdGz2FLNuxHbINm0jVLNsUJDMiFGdzhjRHJmZ > DriveCast/Programs/CastInfo/feed.info
To run the synchronization program start it as:
DriveCast/Programs/DriveCastSyncher
DriveCastSyncher doesn't print to STDOUT any output.
Media files downloaded from DriveCastSyncher are in (assuming the starting path from ~):
DriveCast/MyMedia/Library
To change Media directory name, just mod lines 21 and 22 in engine_osl.h file:
22. #define MYMEDIA_DIR_CONST "../MyMedia"
23. #define MY_AUDIO_DIR_CONST "../MyMedia/Library"
For more info, please contact: drivecast@drivecast.eu