summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2008-08-21There's some plugins we just don't want to use, like the gst-ffmpeg FLVBastien Nocera4-1/+22
2008-08-21 Bastien Nocera <hadess@hadess.net> * src/backend/bacon-video-widget-gst-missing-plugins.h: * src/backend/bacon-video-widget-gst-missing-plugins.c (bacon_video_widget_gst_missing_plugins_blacklist): There's some plugins we just don't want to use, like the gst-ffmpeg FLV demuxer (doesn't seek), so blacklist it * src/backend/bacon-video-widget-gst-0.10.c (bacon_video_widget_init): Call the function above to blacklist the ffmpeg FLV demuxer * src/plugins/youtube/youtube.py: No need to check for the FLV demuxer by hand, we killed the crappy one already, launches the plugin install helper when it's missing (Closes: #534419) svn path=/trunk/; revision=5591
2008-08-21Allow passing an offset for the backward/forward seeking, through the urlBastien Nocera3-11/+54
2008-08-21 Bastien Nocera <hadess@hadess.net> * src/totem.c (totem_action_remote): Allow passing an offset for the backward/forward seeking, through the url parameter * src/plugins/lirc/totem-lirc.c (totem_lirc_get_url), (totem_lirc_to_command), (totem_lirc_read_code): Parse seek_backward and seek_forward and allow users to append a seek offset, meaning you can configure different keys for different seeking lengths * src/plugins/lirc/totem_lirc_default: document the above (Closes: #470672) svn path=/trunk/; revision=5590
2008-08-21Add support for the stop remote control key, will stop the playback and goBastien Nocera5-4/+26
2008-08-21 Bastien Nocera <hadess@hadess.net> * src/plugins/lirc/totem-lirc.c (totem_lirc_to_command): * src/plugins/lirc/totem_lirc_default: * src/totem.c (totem_action_remote): * src/totem.h: Add support for the stop remote control key, will stop the playback and go back to the beginning of the playlist (as the stop button on a CD player would do) * src/backend/bacon-video-widget-gst-0.10.c (got_time_tick), (bacon_video_widget_stop): Don't print out warnings when trying to stop a stream but nothing is opened See http://bugzilla.gnome.org/show_bug.cgi?id=470672#c3 svn path=/trunk/; revision=5589
2008-08-20Yay for GCC warnings, fix possible crash when no cover images are found inBastien Nocera1-1/+1
2008-08-20 Bastien Nocera <hadess@hadess.net> * src/backend/bacon-video-widget-gst-0.10.c (bacon_video_widget_get_best_image): Yay for GCC warnings, fix possible crash when no cover images are found in the stream, and GCC doesn't initialise cover_value to NULL for us (Closes: #548628) svn path=/trunk/; revision=5585
2008-08-20Don't add to the array after having got the pdataBastien Nocera1-1/+2
2008-08-20 Bastien Nocera <hadess@hadess.net> * src/totem-dvb-setup.c (totem_dvb_setup_device): Don't add to the array after having got the pdata svn path=/trunk/; revision=5583
2008-08-20g_file_get_uri() might lose arguments for some MRLs, so don't use it, andBastien Nocera2-8/+3
2008-08-20 Bastien Nocera <hadess@hadess.net> * src/backend/bacon-video-widget-gst-0.10.c (bacon_video_widget_open_with_subtitle): * src/backend/bacon-video-widget-xine.c (bacon_video_widget_open_with_subtitle): g_file_get_uri() might lose arguments for some MRLs, so don't use it, and just copy the MRL itself instead (Closes: #545864) svn path=/trunk/; revision=5582
2008-08-19Remove code that supports older versions of GTK+Bastien Nocera1-28/+0
2008-08-19 Bastien Nocera <hadess@hadess.net> * browser-plugin/totem-plugin-viewer.c (totem_embedded_launch_player): * src/totem-statusbar.c (totem_statusbar_class_init): Remove code that supports older versions of GTK+ svn path=/trunk/; revision=5581
2008-08-19Only mark the actual printed string for translation, not the whole pythonTheppitak Karoonboonyanan1-2/+3
2008-08-19 Theppitak Karoonboonyanan <thep@linux.thai.net> * src/plugins/pythonconsole/pythonconsole.py (show_console): Only mark the actual printed string for translation, not the whole python statement for eval (Closes: #548004) svn path=/trunk/; revision=5572
2008-08-18Add ATSC support for gstreamer dvb.Zaheer Abbas Merali1-1/+4
* src/backend/bacon-video-widget-gst-0.10.c: Add ATSC support for gstreamer dvb. svn path=/trunk/; revision=5568
2008-08-18When we have a streaming title, pass it on using the TITLE_CHANGE signal.Bastien Nocera1-1/+11
2008-08-18 Bastien Nocera <hadess@hadess.net> * src/backend/bacon-video-widget-gst-0.10.c (bvw_bus_message_cb): When we have a streaming title, pass it on using the TITLE_CHANGE signal. Fixes stream title not updating for soma.fm streams (Closes: #471233) svn path=/trunk/; revision=5567
2008-08-18Listen to got-metadata and title-change signalsBastien Nocera1-1/+28
2008-08-18 Bastien Nocera <hadess@hadess.net> * src/backend/bvw-test.c (on_got_metadata), (on_title_changed), (main): Listen to got-metadata and title-change signals svn path=/trunk/; revision=5566
2008-08-18Unset GValues after having used them, to make sure they get cleaned up,Bastien Nocera7-4/+14
2008-08-18 Bastien Nocera <hadess@hadess.net> * src/plugins/ontop/totem-ontop.c (update_from_state): * src/plugins/tracker/totem-tracker-widget.c (totem_tracker_widget_set_property): * src/totem-cell-renderer-video.c (totem_cell_renderer_video_set_property): * src/totem-sidebar.c (cb_resize): * src/totem-video-indexer.c (totem_print_string), (totem_print_int): * src/totem-video-thumbnailer.c (has_audio), (on_got_metadata_event): * src/totem.c (totem_get_nice_name_for_stream), (show_controls): Unset GValues after having used them, to make sure they get cleaned up, fixes a few memleaks, Use g_value_dup_* functions when necessary svn path=/trunk/; revision=5565
2008-08-18Only seek for session restore once we've opened the file, and we know it'sBastien Nocera2-14/+14
2008-08-18 Bastien Nocera <hadess@hadess.net> * src/totem-session.c (totem_session_restore): * src/totem.c (update_mrl_label), (on_error_event), (update_seekable): Only seek for session restore once we've opened the file, and we know it's seekable, fixes restoring playlists from the session, including seeking (Closes: #434936) svn path=/trunk/; revision=5564
2008-08-18update GTK+ req remove unneeded gnome includeBastien Nocera3-17/+4
2008-08-18 Bastien Nocera <hadess@hadess.net> * configure.in: update GTK+ req * src/totem-audio-preview.c: remove unneeded gnome include * src/totem-menu.c (totem_ui_manager_setup): * src/totem.c (totem_action_show_help): Use a newer GTK+ to launch the help, and don't require libgnomeui for that, based on patch from Philip Withnall <philip@tecnocode.co.uk> (Closes: #514384) svn path=/trunk/; revision=5563
2008-08-18Add _can_deinterlace function to the backendsBastien Nocera4-0/+15
2008-08-18 Bastien Nocera <hadess@hadess.net> * src/backend/bacon-video-widget-gst-0.10.c (bacon_video_widget_can_deinterlace): * src/backend/bacon-video-widget-xine.c (bacon_video_widget_can_deinterlace): * src/backend/bacon-video-widget.h: Add _can_deinterlace function to the backends * src/totem.c (totem_callback_connect): Only show the deinterlacing menu item if the backend supports it (Helps: #491627) svn path=/trunk/; revision=5562
2008-08-17Add a totem_get_current_mrl function and expose it in the Python bindings.Philip Withnall2-0/+7
2008-08-17 Philip Withnall <philip@tecnocode.co.uk> * bindings/python/totem.defs: * src/totem-object.c: (totem_get_current_mrl): * src/totem.h: Add a totem_get_current_mrl function and expose it in the Python bindings. Necessary for the Totem plugin for Conduit. (Closes: #459505) svn path=/trunk/; revision=5561
2008-08-14Always call totem_add_subtitle with the path of the currently playingBastien Nocera2-18/+40
2008-08-14 Bastien Nocera <hadess@hadess.net> * src/totem-playlist.c (playlist_select_subtitle_action_callback), (playlist_copy_location_action_callback): Always call totem_add_subtitle with the path of the currently playing movie * src/totem-uri.c (totem_add_subtitle): When passed a path, still use the last open path to be in, but also add a shortcut to the currently playing movie, so you can easily access it to open a subtitle (Closes: #545984) svn path=/trunk/; revision=5552
2008-08-13Patch from Eric Piel <e.a.b.piel@tudelft.nl> to stop the throbber fromBastien Nocera1-1/+5
2008-08-13 Bastien Nocera <hadess@hadess.net> * src/plugins/youtube/youtube.py: Patch from Eric Piel <e.a.b.piel@tudelft.nl> to stop the throbber from eating CPU when pulsing (Closes: #546742) svn path=/trunk/; revision=5550
2008-08-12 Based on patch by: Robin Stocker <robin at nibor org>Tim-Philipp Müller1-66/+27
* src/backend/bacon-video-widget-gst-0.10.c: (bacon_video_widget_get_zoom), (bvw_get_color_balance_channel), (bacon_video_widget_get_video_property), (bacon_video_widget_set_video_property):: Refactor common code into bvw_get_color_balance_channel function. (Closes: #547003) svn path=/trunk/; revision=5548
2008-08-07 Patch by: David Schleef <ds@schleef.org>Tim-Philipp Müller1-4/+8
* src/backend/bacon-video-widget-gst-0.10.c: (bacon_video_widget_get_video_property), (bacon_video_widget_set_video_property):: Fix rounding errors when converting colorbalance values to/from a different value range. Should fix drift in colour balance. (Closes: #545566, #537889) svn path=/trunk/; revision=5539
2008-07-30Also fail to load if we're missing a data fileBastien Nocera1-7/+6
2008-07-30 Bastien Nocera <hadess@hadess.net> * src/plugins/lirc/totem-lirc.c (impl_activate): Also fail to load if we're missing a data file svn path=/trunk/; revision=5530
2008-07-30Update lirc plugin to read from a default configuration file, and not failBastien Nocera3-6/+192
2008-07-30 Bastien Nocera <hadess@hadess.net> * data/lirc_example: * src/plugins/lirc/Makefile.am: * src/plugins/lirc/totem-lirc.c (impl_activate): * src/plugins/lirc/totem_lirc_default: Update lirc plugin to read from a default configuration file, and not fail when there's no user configuration. This allows Totem to work out-of-the-box on the majority of remotes as setup by gnome-lirc-properties svn path=/trunk/; revision=5529
2008-07-30Patch from Andrés de Barbará <adebarbara@gmail.com> to add a PythonBastien Nocera4-0/+479
2008-07-30 Bastien Nocera <hadess@hadess.net> * configure.in: * src/plugins/pythonconsole/Makefile.am: * src/plugins/pythonconsole/console.py: * src/plugins/pythonconsole/pythonconsole.py: * src/plugins/pythonconsole/pythonconsole.totem-plugin.in: * totem.spec.in: Patch from Andrés de Barbará <adebarbara@gmail.com> to add a Python console to Totem (Closes: #542470) svn path=/trunk/; revision=5528
2008-07-29Add support for a helper script in $(libexecdir)/totem-dvb-scanner thatBastien Nocera4-1/+196
2008-07-29 Bastien Nocera <hadess@hadess.net> * src/Makefile.am: * src/totem-dvb-setup.c (totem_dvb_setup_helper), (child_watch_func), (totem_dvb_setup_device): * src/totem-dvb-setup.h: * src/totem.c (totem_dvb_setup_result), (totem_action_load_media): Add support for a helper script in $(libexecdir)/totem-dvb-scanner that would scan for channels on the specified adapter when loading the channels list fails svn path=/trunk/; revision=5527
2008-07-29Look for the thumbnail in the normal and large thumbnails, not twice inBastien Nocera1-1/+2
2008-07-29 Bastien Nocera <hadess@hadess.net> * src/plugins/thumbnail/totem-thumbnail.c (update_from_state): Look for the thumbnail in the normal and large thumbnails, not twice in the normal ones, spotted by Robin Stocker <robin@nibor.org> svn path=/trunk/; revision=5526
2008-07-17Apply the zoom level even if there's no stream yet Make sure that we useBastien Nocera2-2/+10
2008-07-17 Bastien Nocera <hadess@hadess.net> * src/backend/bacon-video-widget-xine.c (bacon_video_widget_realize), (bacon_video_widget_set_zoom): Apply the zoom level even if there's no stream yet * src/totem.c (totem_action_zoom_reset): Make sure that we use the zoom constants rather than some hard coded numbers svn path=/trunk/; revision=5511
2008-07-14Fix a crasher when GtkBuilder interface files are missing (Closes:Bastien Nocera1-2/+14
2008-07-14 Bastien Nocera <hadess@hadess.net> * src/totem-interface.c (totem_interface_load), (totem_interface_load_with_full_path): Fix a crasher when GtkBuilder interface files are missing (Closes: #542446) svn path=/trunk/; revision=5506
2008-07-14Patch from Götz Waschk <waschk@mandriva.org> to fix the build with nvtvBastien Nocera1-1/+4
2008-07-14 Bastien Nocera <hadess@hadess.net> * src/backend/Makefile.am: Patch from Götz Waschk <waschk@mandriva.org> to fix the build with nvtv enabled (Closes: #541546) svn path=/trunk/; revision=5505
2008-07-09Resolve the video URI of YouTube videos when loading search results,Philip Withnall1-24/+14
2008-07-09 Philip Withnall <philip@tecnocode.co.uk> * src/plugins/youtube/youtube.py: Resolve the video URI of YouTube videos when loading search results, rather than when playing them to ensure URIs added to the playlist are correct. (Closes: #541916) svn path=/trunk/; revision=5501
2008-06-27Kill bacon_video_widget_can_play and get errors directly from _get_mrls().Bastien Nocera4-259/+275
2008-06-27 Bastien Nocera <hadess@hadess.net> * src/backend/bacon-video-widget.h: Kill bacon_video_widget_can_play and get errors directly from _get_mrls(). * src/backend/bacon-video-widget-gst-0.10.c (bacon_video_widget_get_channels_file), (bacon_video_widget_get_dvd_mrls), (bacon_video_widget_get_dvb_mrls), (bacon_video_widget_get_mrls): * src/backend/bacon-video-widget-xine.c (xine_try_error), (bacon_video_widget_get_mrls): Better errors when a device isn't present, channels file is missing, or the device is busy * src/totem.c (totem_action_load_media): Changes for the above (Closes: #539319) svn path=/trunk/; revision=5493
2008-06-27Add accelerator to the Select text subtitle... text Mark Search YoutubeGabor Kelemen1-1/+1
2008-06-27 Gabor Kelemen <kelemeng@gnome.hu> * data/playlist.ui: Add accelerator to the Select text subtitle... text * src/plugins/youtube/youtube.ui: Mark Search Youtube button's tooltip for translation (Closes: #539004) svn path=/trunk/; revision=5492
2008-06-20Ask xine-lib to not remember the last DVB channel used, so we don't haveBastien Nocera3-6/+29
2008-06-20 Bastien Nocera <hadess@hadess.net> * src/backend/bacon-video-widget-xine.c (setup_config), (xine_event_message), (bacon_video_widget_get_mrls): Ask xine-lib to not remember the last DVB channel used, so we don't have to skip one when copying the MRLs, prepare for better error message when getting the list of MRLs for DVB * src/totem-playlist.c (totem_playlist_mrl_to_title): Another label work-around for DVB MRLs, just like the DVD one * src/totem.c (totem_action_set_mrl_with_warning), (totem_action_open_files_list), (totem_action_remote), (on_eos_event): When calling play_pause_set_label() make sure the right enum is used (fixes playlist and play button showing the wrong status), Only call "_load_media()" for DVB, it will automatically start playing if it's successful, Print out a decent error message when receiving an EOS from DVB, it can only happen when losing the signal svn path=/trunk/; revision=5486
2008-06-20Some Vala compilation fixes (Closes: #539170)Bastien Nocera1-1/+1
2008-06-20 Bastien Nocera <hadess@hadess.net> * src/plugins/sample-vala/Makefile.am: Some Vala compilation fixes (Closes: #539170) svn path=/trunk/; revision=5484
2008-06-19Don't use deprecated gtktype type and macros. Bug #539168.Christian Persch6-30/+30
svn path=/trunk/; revision=5483
2008-06-18'+' and '-' on their own can now be used to go to the next/previous track,Bastien Nocera4-15/+20
2008-06-18 Bastien Nocera <hadess@hadess.net> * README: * src/totem.c (totem_action_open_files_list), (totem_action_remote), (totem_action_handle_key_press): '+' and '-' on their own can now be used to go to the next/previous track, Force playback when using DVB, otherwise playback won't autostart * src/backend/bacon-video-widget-gst-0.10.c (bacon_video_widget_get_metadata): Fix warning when fetching cover art * src/backend/bacon-video-widget-xine.c (xine_event_message), (bacon_video_widget_get_metadata): As above, and also try to give a better error message when TV signal is lost * src/totem-video-thumbnailer.c: Always have --g-fatal-warnings enabled svn path=/trunk/; revision=5474
2008-06-16Fix warning when trying to get the cover, which xine-lib doesn't supportBastien Nocera1-0/+1
2008-06-16 Bastien Nocera <hadess@hadess.net> * src/backend/bacon-video-widget-xine.c (bacon_video_widget_get_metadata): Fix warning when trying to get the cover, which xine-lib doesn't support svn path=/trunk/; revision=5471
2008-06-15Don't say we can't support DVB: just because we're missing a simpleBastien Nocera1-10/+11
2008-06-15 Bastien Nocera <hadess@hadess.net> * src/backend/bacon-video-widget-xine.c (bacon_video_widget_init), (bacon_video_widget_get_mrls): Don't say we can't support DVB: just because we're missing a simple channels.conf, it might appear before we try to use DVB, Set the device as expected when supporting multiple DVB adapters svn path=/trunk/; revision=5470
2008-06-10Require gstreamer-tag as wellBastien Nocera4-18/+159
2008-06-10 Bastien Nocera <hadess@hadess.net> * configure.in: Require gstreamer-tag as well * src/backend/bacon-video-widget.h: * src/backend/bacon-video-widget-gst-0.10.c (bacon_video_widget_get_metadata_pixbuf), (bacon_video_widget_get_best_image), (bacon_video_widget_get_metadata): Add code to read covers from video and audio files, through the tags * src/backend/bacon-video-widget-xine.c (bacon_video_widget_get_metadata): Implement stubs of the above * src/totem-video-thumbnailer.c (capture_interesting_frame), (capture_frame_at_time), (has_audio), (on_got_metadata_event), (main): Implement saving the cover of a video/audio file (Closes: #318748) svn path=/trunk/; revision=5462
2008-06-10Use ~/.local/share/totem/plugins/ for user-pluginsBastien Nocera3-4/+24
2008-06-10 Bastien Nocera <hadess@hadess.net> * src/plugins/totem-plugin.c (totem_get_plugin_paths): * src/totem-uri.c (totem_ensure_dir), (totem_dot_dir), (totem_data_dot_dir): * src/totem-uri.h: Use ~/.local/share/totem/plugins/ for user-plugins svn path=/trunk/; revision=5459
2008-06-10Kill some more stuff on plugin exitBastien Nocera1-2/+23
2008-06-10 Bastien Nocera <hadess@hadess.net> * src/plugins/mythtv/totem-mythtv.c (totem_mythtv_plugin_finalize), (impl_deactivate): Kill some more stuff on plugin exit svn path=/trunk/; revision=5458
2008-06-09Remove already done TODO items Even when giosrc is available, use theBastien Nocera1-10/+7
2008-06-09 Bastien Nocera <hadess@hadess.net> * browser-plugin/TODO: Remove already done TODO items * src/backend/bacon-video-widget-gst-0.10.c (bacon_video_widget_open_with_subtitle): Even when giosrc is available, use the local filename if it's available, works around early giosrc bugs svn path=/trunk/; revision=5452
2008-06-02Don't remove encodings that can't pass through ASCII, as UTF-16 and UTF-32Bastien Nocera1-137/+86
2008-06-02 Bastien Nocera <hadess@hadess.net> * src/totem-subtitle-encoding.c (subtitle_encoding_init), (subtitle_encoding_get_charset), (subtitle_encoding_create_store): Don't remove encodings that can't pass through ASCII, as UTF-16 and UTF-32 certainly won't pass through, spotted by Christian Persch <chpe@gnome.org> (Closes: #535823) svn path=/trunk/; revision=5448
2008-05-31Fix the return value of the delete-event handler. Bug #535952.Christian Persch1-1/+3
svn path=/trunk/; revision=5443
2008-05-30Bug 520629 – deCOMtaminate pluginsChristian Persch1-1/+0
svn path=/trunk/; revision=5441
2008-05-29Remove unused, and unneeded GConf setting for "sidebar_shown", spotted byBastien Nocera1-4/+0
2008-05-29 Bastien Nocera <hadess@hadess.net> * src/totem-sidebar.c (totem_sidebar_toggle): Remove unused, and unneeded GConf setting for "sidebar_shown", spotted by azurief on IRC svn path=/trunk/; revision=5440
2008-05-26Add video/x-flv as a support mime-typeBastien Nocera4-30/+3
2008-05-26 Bastien Nocera <hadess@hadess.net> * data/mime-type-list.txt: Add video/x-flv as a support mime-type * src/totem-menu.c (about_action_callback): Remove "GNOME" vs. "GTK+" backends * src/totem-video-indexer.c (main): * src/totem-video-thumbnailer.c (main): * src/totem.c (main): Remove calls to gnome_authentication_manager_init (), as we don't use gnome-vfs anymore (Closes: #534824) svn path=/trunk/; revision=5433
2008-05-25Use higher-resolution YouTube videos when the user's connection speed isPhilip Withnall1-5/+15
2008-05-25 Philip Withnall <pwithnall@svn.gnome.org> * src/plugins/youtube/youtube.py: Use higher-resolution YouTube videos when the user's connection speed is suitably high. (Closes: #521536) svn path=/trunk/; revision=5431
2008-05-25Revert bits that shouldn't have been committedBastien Nocera1-4/+3
svn path=/trunk/; revision=5430
2008-05-25Remove unused variables, spotted by Philip WithnallBastien Nocera2-4/+5
2008-05-25 Bastien Nocera <hadess@hadess.net> * src/totem.c (on_playlist_change_name): Remove unused variables, spotted by Philip Withnall <pwithnall@svn.gnome.org> svn path=/trunk/; revision=5428
2008-05-24Monitor all the "native" files that get added to the playlist, andBastien Nocera1-21/+90
2008-05-24 Bastien Nocera <hadess@hadess.net> * src/totem-playlist.c (init_treeview), (totem_playlist_compare_with_monitor), (totem_playlist_file_changed), (totem_playlist_init), (totem_playlist_add_one_mrl), (totem_playlist_clear_with_compare), (totem_playlist_compare_with_mount), (totem_playlist_clear_with_g_mount): Monitor all the "native" files that get added to the playlist, and automatically remove the files that get deleted (Closes: #497996) svn path=/trunk/; revision=5426