| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
| |
It's possible to have some streams in the playlist that are not
available at the moment the user double-clicks the row or presses the
Play button, for example because they are in a Pen Drive.
So, this patch checks for the availability of the stream before start
playing it and avoiding gstreamer to fail.
Signed-off-by: Manuel Kaufmann <humitos@gmail.com>
|
|
|
|
|
|
|
|
| |
When the 'play' signal is emitted, we ask for the duration of the
stream until we get it. Then, we set it into the label and stop the
GObject.timeout_add.
Signed-off-by: Manuel Kaufmann <humitos@gmail.com>
|
|
|
|
|
|
|
|
|
| |
When the user starts draging the seeker Jukebox will really re-seek
past 250 miliseconds in the same value. This allows to re-seek the
stream faster because the proccessing is done just when it's really
necessary.
Signed-off-by: Manuel Kaufmann <humitos@gmail.com>
|
|
|
|
|
|
|
|
|
|
| |
When there is no streams in the playlist we set the sensitive to False
for all the control buttons on the toolbar.
If one stream is added Play button is enabled and will play the first
stream of the playlist.
Signed-off-by: Manuel Kaufmann <humitos@gmail.com>
|
|
|
|
|
|
|
|
| |
When the user starts a new instance of Jukebox the 'No media' message
is shown with a button to 'Choose media files' that opens the Object
Chooser.
Signed-off-by: Manuel Kaufmann <humitos@gmail.com>
|
|
|
|
|
|
|
| |
All the methods related to Controls class on the JukeboxActivity were
moved to the Controls class.
Signed-off-by: Manuel Kaufmann <humitos@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
| |
Use signals ('play-index' for example) to communicate between the main
window and the playlist.
Save and Load playlists and Add track methods are reduced in
complexity.
Signed-off-by: Manuel Kaufmann <humitos@gmail.com>
Reviewed-by: Gonzalo Odiard <gonzalo@laptop.org>
|
|
- Put each class in a different .py file
- Rename jukeboxactivity.py to activity.py to make this more standard
Signed-off-by: Manuel Kaufmann <humitos@gmail.com>
Reviewed-by: Gonzalo Odiard <gonzalo@laptop.org>
|