In Progress

XBMC adjust volume for media based on key/value in txt file

Small addition to XBMC linux VERSION [url removed, login to view]

We want XBMC to be able to read key/value pairs from a txt file. Keys correspond to a file name (with extension & without path). Values correspond to a factor in which Volume must be adjusted.

Example (txt content):

my_movie.avi=0.8

a_song.mp3=0.3

The expected result is that each time XBMC plays [url removed, login to view] the volume is multiplied by a factor of 0.8 (if volume is set at 100%, then it will be reduced to 80%). When playing [url removed, login to view] the volume will be multiplied by a factor of 0.3.

After the file is played, the volume must return to it's original value.

This feature must be active in every possible scenario capable of triggering the reproduction of a file: single file reproduction, music list reproduction, video list reproduction, etc. If there is a function involved in the start of the reproduction of any kind of file type and from any source that would be a good place to add code.

When no key/value pair is found for a specific file, then volume must not change.

More specific requirements:

- txt file must be read when XBMC loads and key/value pairs must be stored in an array for later use (including the moment when XBMC starts playing a file and searches for a key/value pair for that specific file)

- the path to the txt must be configurable by editing [url removed, login to view] file bundled with XBMC (if no path is given, then XBMC must ignore this new feature).

Good documentation must be provided (extract of how the feature was implemented, a more detailed description, diagrams, diff over files changed, description of how to test, documentation of method, classes and attributes and clear and useful comments inside code).

Skills: C++ Programming

See more: change volume xbmc, xbmc adjust volume, xbmc adjust mp3 volume, xbmc change volume, xbmc linux adjust volume, xbmc key file, xbmc set volume, xbmc read txt file, keys adjust volume xbmc, test scenario, specific media, set pairs, return path, programming function keys, programming comments, pair programming video, pair programming, original programming, good programming music, function programming, cplusplus set, cplusplus array, clear array, xbmc volume mp3, xbmc mp3 volume

About the Employer:
( 1 review ) Vina del Mar, Chile

Project ID: #1289094

Awarded to:

Netkunte

Hi, I am interested in the project. Regards, Netkunte

$235 USD in 4 days
(3 Reviews)
4.0

4 freelancers are bidding on average $236 for this job

steveRadbert

HELLO SIR PLEASE CHECK PMB

$250 USD in 4 days
(0 Reviews)
0.0
martinore

PLEASE CHECK PMB

$240 USD in 4 days
(0 Reviews)
0.0
kevinorange14

HELLO SIR PLEASE CHECK PMB

$220 USD in 4 days
(0 Reviews)
0.0