<commit_before>var OMXPlayer = require('./lib/omxplayer');

var configuration = {

};

var omxplayer = new OMXPlayer(configuration);
omxplayer.start("movie.mkv");

var omxPlayerService = omxplayer._sessionBus.getService('org.mpris.MediaPlayer2.omxplayer');
console.log("Omx player service=", omxPlayerService);

omxplayer._sessionBus.listNames(function(error, list) {
	if (error) {
		console.error("Get interface error:", error);
		return;
	}
	console.log("Omx player listNames=", list);

});

omxPlayerService.getObject('/org/mpris/MediaPlayer2', function(error, omxPlayerNotificationsInterface) {
	if (error) {
		console.error("Get interface error:", error);
		return;
	}<commit_msg>First tests<commit_after>var OMXPlayer = require('./lib/omxplayer');

var configuration = {

};

var omxplayer = new OMXPlayer(configuration);
omxplayer.start("movie.mkv");

var omxPlayerService = omxplayer._sessionBus.getService('org.mpris.MediaPlayer2.omxplayer');
console.log("Omx player service=", omxPlayerService);

omxplayer._sessionBus.listNames(function(error, list) {
	if (error) {
		console.error("Get interface error:", error);
		return;
	}
	console.log("Omx player listNames=", list);

});

omxPlayerService.getInterface('/org/mpris/MediaPlayer2', function(error, omxPlayerNotificationsInterface) {
	if (error) {
		console.error("Get interface error:", error);
		return;
	}
{'fraction_non_alphanumeric': 0.1487964989059081, 'fraction_numerical': 0.0029175784099197666, 'mean_word_length': 6.376344086021505, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '269468', 'n_tokens_mistral': 462, 'n_tokens_neox': 450, 'n_words': 81}