I made minor changes to /usr/lib64/exaile/xl/{main.py,xldbus.py}.
Now i can seek foward and backward N seconds from current position, with a command line option.
exaile --scrollseek 10 (goes 10 seconds forward)
exaile --scrollseek -13 (goes back 13 seconds)
I added the new version of the file I made as attachment (exa.tar), below also the diffs.
I made minor changes to /usr/lib64/ exaile/ xl/{main. py,xldbus. py}.
Now i can seek foward and backward N seconds from current position, with a command line option.
exaile --scrollseek 10 (goes 10 seconds forward)
exaile --scrollseek -13 (goes back 13 seconds)
I added the new version of the file I made as attachment (exa.tar), below also the diffs.
[diff xldbus]
commandline $ diff xldbus.py backup/xldbus.py
85c85 method( 'org.exaile. Exaile' ,'i') PLAYER. seek(player. PLAYER. get_time( ) + value)
< 'CurrentProgress', 'GetVolume', 'Query', 'ScrollSeek']:
---
> 'CurrentProgress', 'GetVolume', 'Query']:
116,117c116
< 'Add',
< 'ScrollSeek'
---
> 'Add'
147d145
<
279,286d276
<
< @dbus.service.
< def ScrollSeek(self, value):
< """
< Seeks to the current_position + value.
< """
< from xl import player
< player.
[/diff xldbus]
[diff main]
commandline $ diff main.py backup/main.py
383,385d382 option( '--scrollseek' , dest="ScrollSeek",
< group.add_
< action='store', type="int", metavar=_('N'),
< help=_('Seeks to current_position + N seconds'))
[/diff main]