├── Copying.txt ├── Copying_BSD.txt ├── Copying_libmaia.txt ├── Copying_openssl.txt ├── Install.txt ├── Mac ├── create_plist.pro ├── installer_background.png ├── installer_background.xcf ├── main.cpp └── smplayer-document.icns ├── Makefile ├── OBS └── Makefile ├── Portable_Edition.txt ├── README.md ├── Readme.txt ├── Release_notes.md ├── build_os2.cmd ├── clean_windows.cmd ├── clean_windows2.cmd ├── compile_all.cmd ├── compile_appimage.sh ├── compile_mac.sh ├── compile_windows.cmd ├── compile_windows2.cmd ├── compile_windows_portable.cmd ├── create_deb.sh ├── create_dmg,sh ├── create_rpm.sh ├── debian-orig ├── README ├── README.Debian ├── changelog-orig ├── compat ├── control ├── copyright ├── dirs ├── docs ├── menu ├── patches │ └── series ├── rules ├── source │ ├── format │ └── local-options └── watch ├── docs ├── cs │ └── gpl.html ├── de │ └── gpl.html ├── en │ └── gpl.html ├── es │ └── gpl.html ├── fr │ └── gpl.html ├── hu │ └── gpl.html ├── it │ └── gpl.html ├── ja │ └── gpl.html ├── nl │ └── gpl.html ├── ro │ └── gpl.html ├── ru │ └── gpl.html └── zh_CN │ └── gpl.html ├── dxlist ├── README.txt ├── directx │ └── README.txt ├── dxlist.pro └── main.cpp ├── get_svn_revision.sh ├── get_version.sh ├── getrev.cmd ├── getrev2.cmd ├── icons ├── smplayer.svg ├── smplayer_icon128.png ├── smplayer_icon16.png ├── smplayer_icon192.png ├── smplayer_icon22.png ├── smplayer_icon256.png ├── smplayer_icon32.png ├── smplayer_icon512.png └── smplayer_icon64.png ├── install_appdata.sh ├── man └── smplayer.1 ├── old-docs ├── Changelog ├── Finding_subtitles.txt ├── Not_so_obvious_things.txt ├── Release_notes.txt ├── Watching_TV.txt └── dvdmenus.txt ├── os2 ├── liesmich.os2 ├── lisezmoi.os2 ├── readme.os2 ├── smplayer.ico ├── smplayer_closed.ICO └── smplayer_open.ICO ├── qt-translations ├── qt_eu.qm ├── qt_eu.ts ├── qt_ja.qm ├── qt_ja.ts ├── qtbase_es.qm └── qtbase_es.ts ├── setup ├── license.txt ├── sample.avi ├── scripts │ ├── install_smplayer2.cmd │ └── make_pkgs.cmd ├── smplayer-orange-installer.ico ├── smplayer-orange-uninstaller.ico ├── smplayer-orange-wizard-un.bmp ├── smplayer-orange-wizard.bmp ├── smplayer.nsi └── translations │ ├── albanian.nsh │ ├── amharic.nsh │ ├── arabic.nsh │ ├── basque.nsh │ ├── bulgarian.nsh │ ├── catalan.nsh │ ├── croatian.nsh │ ├── czech.nsh │ ├── danish.nsh │ ├── dutch.nsh │ ├── english.nsh │ ├── farsi.nsh │ ├── finnish.nsh │ ├── french.nsh │ ├── galician.nsh │ ├── german.nsh │ ├── greek.nsh │ ├── hebrew.nsh │ ├── hungarian.nsh │ ├── indonesian.nsh │ ├── italian.nsh │ ├── japanese.nsh │ ├── korean.nsh │ ├── malay.nsh │ ├── norwegian_nb.nsh │ ├── norwegian_nn.nsh │ ├── po_files │ ├── .tx │ │ └── config │ ├── Makefile │ ├── albanian.po │ ├── amharic.po │ ├── arabic.po │ ├── basque.po │ ├── bulgarian.po │ ├── catalan.po │ ├── croatian.po │ ├── czech.po │ ├── danish.po │ ├── dutch.po │ ├── english.pot │ ├── farsi.po │ ├── finnish.po │ ├── french.po │ ├── galician.po │ ├── german.po │ ├── greek.po │ ├── hebrew.po │ ├── hungarian.po │ ├── indonesian.po │ ├── italian.po │ ├── japanese.po │ ├── korean.po │ ├── malay.po │ ├── norwegian_nb.po │ ├── norwegian_nn.po │ ├── polish.po │ ├── portuguese.po │ ├── portuguesebrazil.po │ ├── romanian.po │ ├── russian.po │ ├── serbian.po │ ├── simpchinese.po │ ├── slovak.po │ ├── slovenian.po │ ├── spanish.po │ ├── thai.po │ ├── tradchinese.po │ ├── turkish.po │ ├── ukrainian.po │ └── vietnamese.po │ ├── polish.nsh │ ├── portuguese.nsh │ ├── portuguesebrazil.nsh │ ├── romanian.nsh │ ├── russian.nsh │ ├── serbian.nsh │ ├── simpchinese.nsh │ ├── slovak.nsh │ ├── slovenian.nsh │ ├── spanish.nsh │ ├── thai.nsh │ ├── tradchinese.nsh │ ├── turkish.nsh │ ├── ukrainian.nsh │ └── vietnamese.nsh ├── smplayer.appdata.xml ├── smplayer.desktop ├── smplayer.spec ├── smplayer_enqueue.desktop ├── src ├── H2O.qrc ├── H2O │ ├── README.txt │ ├── add_bookmark.png │ ├── arrow-down.png │ ├── audio_channels.png │ ├── audio_equalizer.png │ ├── audio_filters.png │ ├── bluray.png │ ├── bluray_drive.png │ ├── bookmarks.png │ ├── cdda.png │ ├── cdrom_drive.png │ ├── chapter.png │ ├── check_mark.png │ ├── check_mark_disabled.png │ ├── check_updates.png │ ├── cl_help.png │ ├── close.png │ ├── compact.png │ ├── copy.png │ ├── delete.png │ ├── donate.png │ ├── down.png │ ├── download_subs.png │ ├── dvd.png │ ├── dvd_drive.png │ ├── equalizer.png │ ├── exit.png │ ├── faq.png │ ├── favorite-add.png │ ├── favorite-folder.png │ ├── favorite.png │ ├── find.png │ ├── flip.png │ ├── forward10m.png │ ├── forward10s.png │ ├── forward1m.png │ ├── fullscreen.png │ ├── guide.png │ ├── info.png │ ├── infofile.css │ ├── input_devices.png │ ├── keyboard.png │ ├── minus.png │ ├── mirror.png │ ├── monitor.png │ ├── mouse.png │ ├── mute.png │ ├── next.png │ ├── ontop.png │ ├── open.png │ ├── open_disc.png │ ├── open_favorites.png │ ├── open_playlist.png │ ├── open_radio.png │ ├── open_tv.png │ ├── openfolder.png │ ├── osd.png │ ├── pause.png │ ├── play.png │ ├── play_pause.png │ ├── playlist.png │ ├── plus.png │ ├── pref_advanced.png │ ├── pref_associations.png │ ├── pref_devices.png │ ├── pref_general.png │ ├── pref_gui.png │ ├── pref_network.png │ ├── pref_performance.png │ ├── pref_playlist.png │ ├── pref_subtitles.png │ ├── pref_tv.png │ ├── pref_updates.png │ ├── prefs.png │ ├── previous.png │ ├── recents.png │ ├── record.png │ ├── rewind10m.png │ ├── rewind10s.png │ ├── rewind1m.png │ ├── rotate.png │ ├── save.png │ ├── screenshot.png │ ├── screenshots.png │ ├── send_audio.png │ ├── send_to_screen.png │ ├── show_config.png │ ├── speed.png │ ├── stereo_mode.png │ ├── stop.png │ ├── style.qss │ ├── tabletmode.css │ ├── title.png │ ├── toolbars.png │ ├── trash.png │ ├── unload.png │ ├── up.png │ ├── update_youtube.png │ ├── url.png │ ├── url_big.png │ ├── vcd.png │ ├── video_filters.png │ ├── video_preview.png │ ├── video_size.png │ ├── video_track.png │ ├── volume.png │ └── zoom.png ├── about.cpp ├── about.h ├── about.ui ├── actionseditor.cpp ├── actionseditor.h ├── assstyles.cpp ├── assstyles.h ├── audioequalizer.cpp ├── audioequalizer.h ├── audioequalizerlist.cpp ├── audioequalizerlist.h ├── autohidewidget.cpp ├── autohidewidget.h ├── basegui.cpp ├── basegui.h ├── baseguiplus.cpp ├── baseguiplus.h ├── bookmarkdialog.cpp ├── bookmarkdialog.h ├── bookmarkdialog.ui ├── chapters.cpp ├── chapters.h ├── chromecast.cpp ├── chromecast.h ├── cleanconfig.cpp ├── cleanconfig.h ├── clhelp.cpp ├── clhelp.h ├── colorutils.cpp ├── colorutils.h ├── config.h ├── connectionbase.cpp ├── connectionbase.h ├── connectioncv.cpp ├── connectioncv.h ├── connectionshm.cpp ├── connectionshm.h ├── constants.h ├── core.cpp ├── core.h ├── default-theme │ ├── 2.xcf │ ├── a_marker.png │ ├── add_bookmark.png │ ├── angle.png │ ├── aspect.png │ ├── audio_channels.png │ ├── audio_equalizer.png │ ├── audio_filters.png │ ├── audio_track.png │ ├── b_marker.png │ ├── background.png │ ├── bluray.png │ ├── bluray_drive.png │ ├── bola.xcf │ ├── bookmarks.png │ ├── brightness.png │ ├── buffering.gif │ ├── cast.png │ ├── cdda.png │ ├── cdrom_drive.png │ ├── chapter.png │ ├── check_updates.png │ ├── chromecast.png │ ├── cl_help.png │ ├── clear_left.png │ ├── close.png │ ├── compact.png │ ├── conflict.png │ ├── contrast.png │ ├── contributors.png │ ├── copy.png │ ├── crash.png │ ├── delete.png │ ├── donate.png │ ├── donate_big.png │ ├── down.png │ ├── download.png │ ├── download_subs.png │ ├── dvd.png │ ├── dvd_drive.png │ ├── dvd_hd.png │ ├── empty_icon.png │ ├── equalizer.png │ ├── exit.png │ ├── faq.png │ ├── favorite-add.png │ ├── favorite-folder.png │ ├── favorite.png │ ├── find.png │ ├── flecha.xcf │ ├── flip.png │ ├── folder_open.png │ ├── forward10m.png │ ├── forward10s.png │ ├── forward1m.png │ ├── fullscreen.png │ ├── gamma.png │ ├── guide.png │ ├── hue.png │ ├── info.png │ ├── input_devices.png │ ├── instance1.png │ ├── instance2.png │ ├── keyboard.png │ ├── license.png │ ├── logo.png │ ├── logs.png │ ├── minus.png │ ├── mirror.png │ ├── monitor.png │ ├── mouse.png │ ├── mute.png │ ├── next.png │ ├── next_aspect.png │ ├── ok.png │ ├── ontop.png │ ├── open.png │ ├── open_disc.png │ ├── open_favorites.png │ ├── open_playlist.png │ ├── open_radio.png │ ├── open_tv.png │ ├── openfolder.png │ ├── osd.png │ ├── pause.png │ ├── paypal.png │ ├── pl_loading.gif │ ├── play.png │ ├── play_pause.png │ ├── playlist.png │ ├── plus.png │ ├── pref_advanced.png │ ├── pref_associations.png │ ├── pref_devices.png │ ├── pref_general.png │ ├── pref_gui.png │ ├── pref_network.png │ ├── pref_performance.png │ ├── pref_playlist.png │ ├── pref_subtitles.png │ ├── pref_tv.png │ ├── pref_updates.png │ ├── prefs.png │ ├── previous.png │ ├── qt.png │ ├── quick_access_menu.png │ ├── recents.png │ ├── record.png │ ├── refresh.png │ ├── repeat.png │ ├── resize_window.png │ ├── rewind10m.png │ ├── rewind10s.png │ ├── rewind1m.png │ ├── rotate.png │ ├── saturation.png │ ├── save.png │ ├── screenshot.png │ ├── screenshots.png │ ├── secondary_sub.png │ ├── send_audio.png │ ├── send_to_screen.png │ ├── share.png │ ├── show_config.png │ ├── shuffle.png │ ├── shutdown.png │ ├── social_facebook.png │ ├── social_twitter.png │ ├── speaker.png │ ├── speed.png │ ├── stereo3d.png │ ├── stereo_mode.png │ ├── stop.png │ ├── style.qss │ ├── sub.png │ ├── tablet_mode.png │ ├── tabletmode.css │ ├── title.png │ ├── toolbars.png │ ├── translators.png │ ├── trash.png │ ├── tubebrowser.png │ ├── type_audio.png │ ├── type_bluray.png │ ├── type_cdda.png │ ├── type_dvd.png │ ├── type_tv.png │ ├── type_unknown.png │ ├── type_url.png │ ├── type_vcd.png │ ├── type_video.png │ ├── unload.png │ ├── up.png │ ├── update_youtube.png │ ├── url.png │ ├── url_big.png │ ├── vcd.png │ ├── video_filters.png │ ├── video_preview.png │ ├── video_size.png │ ├── video_track.png │ ├── volume.png │ └── warning.png ├── defaultgui.cpp ├── defaultgui.h ├── desktopinfo.cpp ├── desktopinfo.h ├── deviceinfo.cpp ├── deviceinfo.h ├── deviceinfo_pulse.cpp ├── discname.cpp ├── discname.h ├── editabletoolbar.cpp ├── editabletoolbar.h ├── eqslider.cpp ├── eqslider.h ├── eqslider.ui ├── errordialog.cpp ├── errordialog.h ├── errordialog.ui ├── extensions.cpp ├── extensions.h ├── favoriteeditor.cpp ├── favoriteeditor.h ├── favoriteeditor.ui ├── favorites.cpp ├── favorites.h ├── filechooser.cpp ├── filechooser.h ├── filedialog.cpp ├── filedialog.h ├── filehash.cpp ├── filehash.h ├── filepropertiesdialog.cpp ├── filepropertiesdialog.h ├── filepropertiesdialog.ui ├── filesettings.cpp ├── filesettings.h ├── filesettingsbase.cpp ├── filesettingsbase.h ├── filesettingshash.cpp ├── filesettingshash.h ├── filters.cpp ├── filters.h ├── findsubtitles │ ├── filedownloader │ │ ├── filedownloader.cpp │ │ ├── filedownloader.h │ │ ├── filedownloader.pro │ │ └── main.cpp │ ├── findsubtitles.pro │ ├── findsubtitlesconfigdialog.cpp │ ├── findsubtitlesconfigdialog.h │ ├── findsubtitlesconfigdialog.ui │ ├── findsubtitleswindow.cpp │ ├── findsubtitleswindow.h │ ├── findsubtitleswindow.ui │ ├── fixsubs.cpp │ ├── fixsubs.h │ ├── main.cpp │ ├── osclient.cpp │ ├── osclient.h │ ├── osparser.cpp │ ├── osparser.h │ ├── qrestapi │ │ ├── qGirderAPI.cpp │ │ ├── qGirderAPI.h │ │ ├── qRestAPI.cpp │ │ ├── qRestAPI.h │ │ ├── qRestAPI_Export.h │ │ ├── qRestAPI_p.h │ │ ├── qRestResult.cpp │ │ └── qRestResult.h │ ├── subchooserdialog.cpp │ ├── subchooserdialog.h │ └── subchooserdialog.ui ├── fontcache.cpp ├── fontcache.h ├── global.cpp ├── global.h ├── globalshortcuts │ ├── globalshortcuts.cpp │ ├── globalshortcuts.h │ ├── globalshortcuts_linux.cpp │ ├── globalshortcuts_win.cpp │ ├── globalshortcutsdialog.cpp │ ├── globalshortcutsdialog.h │ └── globalshortcutsdialog.ui ├── glsl.qrc ├── glsl │ └── hdrcolorconversion-330.glsl ├── guiconfig.h ├── hdpisupport.cpp ├── hdpisupport.h ├── helper.cpp ├── helper.h ├── icons.qrc ├── images.cpp ├── images.h ├── infofile.cpp ├── infofile.h ├── infoprovider.cpp ├── infoprovider.h ├── inforeader.cpp ├── inforeader.h ├── inforeadermplayer.cpp ├── inforeadermplayer.h ├── inforeadermpv.cpp ├── inforeadermpv.h ├── infowindow.cpp ├── infowindow.h ├── infowindow.ui ├── input.conf ├── inputbookmark.cpp ├── inputbookmark.h ├── inputbookmark.ui ├── inputdvddirectory.cpp ├── inputdvddirectory.h ├── inputdvddirectory.ui ├── inputmplayerversion.cpp ├── inputmplayerversion.h ├── inputmplayerversion.ui ├── inputurl.cpp ├── inputurl.h ├── inputurl.ui ├── languages.cpp ├── languages.h ├── languages │ ├── list.txt │ ├── main.cpp │ └── process_list.pro ├── lineedit_with_icon.cpp ├── lineedit_with_icon.h ├── links.h ├── logwindow.cpp ├── logwindow.h ├── logwindow.ui ├── main.cpp ├── mconnection.h ├── mconnection.mm ├── mediadata.cpp ├── mediadata.h ├── mediasettings.cpp ├── mediasettings.h ├── minigui.cpp ├── minigui.h ├── mpcgui │ ├── mpc_mono.png │ ├── mpc_stereo.png │ ├── mpc_toolbar.png │ ├── mpcgui.cpp │ ├── mpcgui.h │ ├── mpcstyles.cpp │ └── mpcstyles.h ├── mplayeroptions.cpp ├── mplayerprocess.cpp ├── mplayerprocess.h ├── mplayerversion.cpp ├── mplayerversion.h ├── mplayerwindow.cpp ├── mplayerwindow.h ├── mpris2 │ ├── mediaplayer2.cpp │ ├── mediaplayer2.h │ ├── mediaplayer2player.cpp │ ├── mediaplayer2player.h │ ├── mpris2.cpp │ └── mpris2.h ├── mpvoptions.cpp ├── mpvprocess.cpp ├── mpvprocess.h ├── multilineinputdialog.cpp ├── multilineinputdialog.h ├── multilineinputdialog.ui ├── myaction.cpp ├── myaction.h ├── myactiongroup.cpp ├── myactiongroup.h ├── myapplication.cpp ├── myapplication.h ├── mycombobox.cpp ├── mycombobox.h ├── mylineedit.cpp ├── mylineedit.h ├── myprocess.cpp ├── myprocess.h ├── myscroller.cpp ├── myscroller.h ├── myslider.cpp ├── myslider.h ├── mytablewidget.cpp ├── mytablewidget.h ├── old │ ├── floatingwidget.cpp │ ├── floatingwidget.h │ ├── images.cpp │ ├── images.h │ ├── mpvprocess.cpp │ ├── mpvprocess.h │ ├── videoequalizer.cpp │ └── videoequalizer.h ├── openglrenderer.cpp ├── openglrenderer.h ├── paths.cpp ├── paths.h ├── playerid.cpp ├── playerid.h ├── playerprocess.cpp ├── playerprocess.h ├── playlist.cpp ├── playlist.h ├── playlistdock.cpp ├── playlistdock.h ├── powersaving.cpp ├── powersaving.h ├── powersaving_mac.cpp ├── powersaving_mac.h ├── prefadvanced.cpp ├── prefadvanced.h ├── prefadvanced.ui ├── prefassociations.cpp ├── prefassociations.h ├── prefassociations.ui ├── prefdrives.cpp ├── prefdrives.h ├── prefdrives.ui ├── preferences.cpp ├── preferences.h ├── preferencesdialog.cpp ├── preferencesdialog.h ├── preferencesdialog.ui ├── prefgeneral.cpp ├── prefgeneral.h ├── prefgeneral.ui ├── prefinput.cpp ├── prefinput.h ├── prefinput.ui ├── prefinterface.cpp ├── prefinterface.h ├── prefinterface.ui ├── prefnetwork.cpp ├── prefnetwork.h ├── prefnetwork.ui ├── prefperformance.cpp ├── prefperformance.h ├── prefperformance.ui ├── prefplaylist.cpp ├── prefplaylist.h ├── prefplaylist.ui ├── prefsubtitles.cpp ├── prefsubtitles.h ├── prefsubtitles.ui ├── preftv.cpp ├── preftv.h ├── preftv.ui ├── prefupdates.cpp ├── prefupdates.h ├── prefupdates.ui ├── prefwidget.cpp ├── prefwidget.h ├── qrcode │ ├── openwithdevicedialog.cpp │ ├── openwithdevicedialog.h │ ├── openwithdevicedialog.ui │ ├── qrcodegen.c │ ├── qrcodegen.h │ ├── qrcodelabel.cpp │ └── qrcodelabel.h ├── qtcompat.h ├── qtsingleapplication │ ├── QtLockedFile │ ├── QtSingleApplication │ ├── qtlocalpeer.cpp │ ├── qtlocalpeer.h │ ├── qtlockedfile.cpp │ ├── qtlockedfile.h │ ├── qtlockedfile_unix.cpp │ ├── qtlockedfile_win.cpp │ ├── qtsingleapplication.cpp │ ├── qtsingleapplication.h │ ├── qtsingleapplication.pri │ ├── qtsinglecoreapplication.cpp │ ├── qtsinglecoreapplication.h │ └── qtsinglecoreapplication.pri ├── recents.cpp ├── recents.h ├── reminderdialog.cpp ├── reminderdialog.h ├── reminderdialog.ui ├── screenhelper.cpp ├── screenhelper.h ├── screensaver.cpp ├── screensaver.h ├── seekwidget.cpp ├── seekwidget.h ├── seekwidget.ui ├── selectcolorbutton.cpp ├── selectcolorbutton.h ├── sharedata.cpp ├── sharedata.h ├── sharedialog.cpp ├── sharedialog.h ├── sharedialog.ui ├── sharewidget.cpp ├── sharewidget.h ├── shortcutgetter.cpp ├── shortcutgetter.h ├── shortcuts │ ├── default.keys │ ├── euskara.keys │ └── vlc.keys ├── shutdown.cpp ├── shutdown.h ├── shutdowndialog.cpp ├── shutdowndialog.h ├── shutdowndialog.ui ├── skingui │ ├── actiontools.cpp │ ├── actiontools.h │ ├── mediabarpanel.cpp │ ├── mediabarpanel.h │ ├── mediabarpanel.ui │ ├── mediapanel.cpp │ ├── mediapanel.h │ ├── mediapanel.ui │ ├── mybutton.cpp │ ├── mybutton.h │ ├── myicon.cpp │ ├── myicon.h │ ├── panelseeker.cpp │ ├── panelseeker.h │ ├── playcontrol.cpp │ ├── playcontrol.h │ ├── qpropertysetter.cpp │ ├── qpropertysetter.h │ ├── skingui.cpp │ ├── skingui.h │ ├── volumecontrolpanel.cpp │ └── volumecontrolpanel.h ├── smplayer.cpp ├── smplayer.h ├── smplayer.icns ├── smplayer.ico ├── smplayer.pro ├── smplayer.rc ├── smplayer_associations.ico ├── smplayer_os2.rc ├── statewidget.cpp ├── statewidget.h ├── stereo3ddialog.cpp ├── stereo3ddialog.h ├── stereo3ddialog.ui ├── subreader.cpp ├── subreader.h ├── subtracks.cpp ├── subtracks.h ├── timedialog.cpp ├── timedialog.h ├── timedialog.ui ├── timeslider.cpp ├── timeslider.h ├── titletracks.cpp ├── titletracks.h ├── toolbareditor.cpp ├── toolbareditor.h ├── toolbareditor.ui ├── tracks.cpp ├── tracks.h ├── translations │ ├── .tx │ │ └── config │ ├── smplayer_am.ts │ ├── smplayer_ar.ts │ ├── smplayer_ar_SY.ts │ ├── smplayer_bg.ts │ ├── smplayer_ca.ts │ ├── smplayer_cs.ts │ ├── smplayer_da.ts │ ├── smplayer_de.ts │ ├── smplayer_el.ts │ ├── smplayer_en.ts │ ├── smplayer_en_GB.ts │ ├── smplayer_en_US.ts │ ├── smplayer_es.ts │ ├── smplayer_es_ES.ts │ ├── smplayer_et.ts │ ├── smplayer_eu.ts │ ├── smplayer_fa.ts │ ├── smplayer_fi.ts │ ├── smplayer_fr.ts │ ├── smplayer_gl.ts │ ├── smplayer_he_IL.ts │ ├── smplayer_hr.ts │ ├── smplayer_hu.ts │ ├── smplayer_id.ts │ ├── smplayer_it.ts │ ├── smplayer_ja.ts │ ├── smplayer_ka.ts │ ├── smplayer_ko.ts │ ├── smplayer_ku.ts │ ├── smplayer_lt.ts │ ├── smplayer_mk.ts │ ├── smplayer_ms_MY.ts │ ├── smplayer_nb_NO.ts │ ├── smplayer_nl.ts │ ├── smplayer_nn_NO.ts │ ├── smplayer_pl.ts │ ├── smplayer_pt.ts │ ├── smplayer_pt_BR.ts │ ├── smplayer_ro_RO.ts │ ├── smplayer_ru_RU.ts │ ├── smplayer_sk.ts │ ├── smplayer_sl_SI.ts │ ├── smplayer_sq_AL.ts │ ├── smplayer_sr.ts │ ├── smplayer_sv.ts │ ├── smplayer_th.ts │ ├── smplayer_tr.ts │ ├── smplayer_uk_UA.ts │ ├── smplayer_uz.ts │ ├── smplayer_vi_VN.ts │ ├── smplayer_zh_CN.ts │ └── smplayer_zh_TW.ts ├── translator.cpp ├── translator.h ├── tristatecombo.cpp ├── tristatecombo.h ├── tvlist.cpp ├── tvlist.h ├── tvsettings.cpp ├── tvsettings.h ├── updatechecker.cpp ├── updatechecker.h ├── updatecheckerdata.cpp ├── updatecheckerdata.h ├── urlhistory.cpp ├── urlhistory.h ├── vdpauproperties.cpp ├── vdpauproperties.h ├── vdpauproperties.ui ├── version.cpp ├── version.h ├── verticaltext.cpp ├── verticaltext.h ├── videoequalizer.cpp ├── videoequalizer.h ├── videoequalizer.ui ├── videolayer.cpp ├── videolayer.h ├── videolayerrender.cpp ├── videolayerrender.h ├── videopreview │ ├── async.diff │ ├── main.cpp │ ├── videopreview.cpp │ ├── videopreview.h │ ├── videopreview.pro │ ├── videopreviewconfigdialog.cpp │ ├── videopreviewconfigdialog.h │ └── videopreviewconfigdialog.ui ├── widgetactions.cpp ├── widgetactions.h ├── winfileassoc.cpp ├── winfileassoc.h ├── winscreensaver.cpp ├── winscreensaver.h └── youtube │ ├── codedownloader.cpp │ ├── codedownloader.h │ ├── loadpage.cpp │ ├── loadpage.h │ ├── qt-json │ ├── AUTHORS │ ├── LICENSE │ ├── README.md │ ├── URL.txt │ ├── json.cpp │ ├── json.h │ └── qt-json.pri │ ├── retrieveyoutubeurl.cpp │ └── retrieveyoutubeurl.h └── webserver ├── Makefile ├── Makefile.msc ├── README.txt ├── main.c ├── mongoose.c └── mongoose.h /Copying_libmaia.txt: -------------------------------------------------------------------------------- 1 | This is the license of the maia library (src/findsubtitles/maia): 2 | 3 | Copyright 2010 Sebastian Wiedenroth. All rights reserved. 4 | 5 | Redistribution and use in source and binary forms, with or without modification, are 6 | permitted provided that the following conditions are met: 7 | 8 | 1. Redistributions of source code must retain the above copyright notice, this list of 9 | conditions and the following disclaimer. 10 | 11 | 2. Redistributions in binary form must reproduce the above copyright notice, this list 12 | of conditions and the following disclaimer in the documentation and/or other materials 13 | provided with the distribution. 14 | 15 | THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED 16 | WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND 17 | FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR 18 | CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 19 | CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 20 | SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON 21 | ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 22 | NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF 23 | ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 24 | 25 | The views and conclusions contained in the software and documentation are those of the 26 | authors and should not be interpreted as representing official policies, either expressed 27 | or implied, of the author. 28 | -------------------------------------------------------------------------------- /Mac/create_plist.pro: -------------------------------------------------------------------------------- 1 | HEADERS += ../src/extensions.h ../src/version.h 2 | SOURCES += ../src/extensions.cpp ../src/version.cpp main.cpp 3 | 4 | mac { 5 | CONFIG -= app_bundle 6 | } 7 | -------------------------------------------------------------------------------- /Mac/installer_background.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/Mac/installer_background.png -------------------------------------------------------------------------------- /Mac/installer_background.xcf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/Mac/installer_background.xcf -------------------------------------------------------------------------------- /Mac/smplayer-document.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/Mac/smplayer-document.icns -------------------------------------------------------------------------------- /OBS/Makefile: -------------------------------------------------------------------------------- 1 | # This Makefile creates some files necessary to build 2 | # deb packages at build.opensuse.org 3 | 4 | PACKAGE = smplayer 5 | VERSION = 24.5.0 6 | #DEPENDS = debhelper (>= 5), zlib1g-dev, qtbase5-dev, qt5-qmake, qtscript5-dev, qttools5-dev-tools, qtbase5-private-dev, qtdeclarative5-dev, qt5-default | nano 7 | DEPENDS = debhelper (>= 5), zlib1g-dev, libqt4-dev 8 | 9 | DSC_FILE = $(PACKAGE).dsc 10 | DEBIAN_FILE = debian.tar.gz 11 | 12 | all: $(DEBIAN_FILE) $(DSC_FILE) 13 | 14 | $(DEBIAN_FILE): Makefile 15 | #svn export ../debian-orig debian 16 | -mkdir debian 17 | cp -R ../debian-orig/* debian 18 | mv debian/changelog-orig debian/changelog 19 | tar -cvzf $(DEBIAN_FILE) debian/ 20 | 21 | $(DSC_FILE): Makefile 22 | echo "Format: 1.0" > $(DSC_FILE) 23 | echo "Source: $(PACKAGE)" >> $(DSC_FILE) 24 | echo "Binary: $(PACKAGE)" >> $(DSC_FILE) 25 | echo "Architecture: any" >> $(DSC_FILE) 26 | echo "Version: $(VERSION)" >> $(DSC_FILE) 27 | echo "Maintainer: Ricardo Villalba " >> $(DSC_FILE) 28 | echo "Standards-Version: 3.9.7" >> $(DSC_FILE) 29 | echo "Build-Depends: $(DEPENDS)" >> $(DSC_FILE) 30 | echo "DEBTRANSFORM-TAR: $(PACKAGE)-$(VERSION).tar.bz2" >> $(DSC_FILE) 31 | echo "DEBTRANSFORM-FILES-TAR: $(DEBIAN_FILE)" >> $(DSC_FILE) 32 | echo "DEBTRANSFORM-RELEASE: 1" >> $(DSC_FILE) 33 | 34 | clean: 35 | - rm -r debian/* 36 | - rmdir debian 37 | - rm $(DEBIAN_FILE) $(DSC_FILE) 38 | -------------------------------------------------------------------------------- /Portable_Edition.txt: -------------------------------------------------------------------------------- 1 | SMPlayer Portable Edition is a special version of SMPlayer (for Windows) 2 | which tries to not write anything outside from the directory where it is 3 | installed, so it can be used from external devices like pendrives. 4 | 5 | You can get a package from here: 6 | https://sourceforge.net/project/showfiles.php?group_id=185512&package_id=284416 7 | 8 | To install it, just uncompress it wherever you want. To run it just 9 | double click on smplayer.exe. 10 | 11 | The package includes: 12 | 13 | * SMPlayer (portable version) 14 | * A MPlayer build 15 | * Translations and icon themes 16 | 17 | What are the differences with the normal SMPlayer? 18 | 19 | * By default it will save the ini files in the smplayer's folder. 20 | * It won't try to create the smplayer home directory or the screenshot 21 | directory (C:\Documents and Settings\User\.smplayer\...) 22 | * It won't write anything in the Windows registry (for that reason the 23 | file associations are not available in this version) 24 | * The screenshot option is disabled by default. 25 | 26 | How to know if it's really the portable version? 27 | 28 | Go to Help -> About SMPlayer, it should say something like this: 29 | "Version: 0.6.2 (Portable Edition)" 30 | 31 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | [![Donate](https://img.shields.io/badge/Donate-PayPal-green.svg)](https://www.paypal.com/donate?hosted_button_id=BFC773W2JD5D2) 2 | 3 | # SMPLAYER 4 | 5 | SMPlayer is a free media player for Windows, Linux and Mac OS with Youtube support. 6 | 7 | Visit our website for more information and updates: [smplayer.info](https://smplayer.info) 8 | -------------------------------------------------------------------------------- /clean_windows.cmd: -------------------------------------------------------------------------------- 1 | rem cd zlib 2 | rem mingw32-make -fwin32\makefile.gcc clean 3 | rem cd .. 4 | 5 | cd src 6 | mingw32-make distclean 7 | 8 | cd .. 9 | del src\translations\smplayer_*.qm 10 | del src\object_script.smplayer.Release 11 | del src\object_script.smplayer.Debug 12 | del src\svn_revision.h 13 | del webserver\simple_web_server.exe 14 | 15 | rd src\release 16 | rd src\debug 17 | -------------------------------------------------------------------------------- /clean_windows2.cmd: -------------------------------------------------------------------------------- 1 | set olddir=%CD% 2 | 3 | cd dxlist 4 | mingw32-make distclean 5 | 6 | cd ..\zlib 7 | mingw32-make -fwin32\makefile.gcc clean 8 | 9 | cd ..\src 10 | mingw32-make distclean 11 | 12 | cd .. 13 | del setup\scripts\win32inst_vars.cmd 14 | del src\translations\smplayer_*.qm 15 | del src\object_script.smplayer.Release 16 | del src\object_script.smplayer.Debug 17 | del src\svn_revision.h 18 | del webserver\simple_web_server.exe 19 | rd dxlist\release 20 | rd dxlist\debug 21 | rd src\release 22 | rd src\debug 23 | -------------------------------------------------------------------------------- /compile_all.cmd: -------------------------------------------------------------------------------- 1 | call clean_windows2.cmd 2 | call compile_windows2.cmd 3 | call clean_windows2.cmd 4 | call compile_windows2.cmd -portable -noupdate 5 | call clean_windows2.cmd -------------------------------------------------------------------------------- /compile_appimage.sh: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | ./get_svn_revision.sh 3 | 4 | echo Compiling web server 5 | cd webserver && make 6 | cd .. 7 | 8 | SM_DEFINES="USE_SHM USE_GL_WINDOW" 9 | 10 | if [ -n "$NO_MPLAYER" ]; then 11 | SM_DEFINES="${SM_DEFINES} NO_MPLAYER" 12 | fi 13 | 14 | if [ -n "$USE_SMTUBE_LIB" ]; then 15 | SM_DEFINES="${SM_DEFINES} USE_SMTUBE_LIB" 16 | 17 | echo Compiling smtube 18 | ln -sf ../smtube/src smtube 19 | cd smtube 20 | lrelease smtube.pro 21 | qmake DEFINES+="SMTUBE_LIB" 22 | make -j$(nproc) 23 | cd .. 24 | fi 25 | 26 | echo Compiling smplayer 27 | cd src 28 | lrelease smplayer.pro 29 | qmake DEFINES+="$SM_DEFINES" 30 | make -j$(nproc) 31 | cd .. 32 | 33 | echo Installing 34 | mkdir -p appdir/usr/bin/ 35 | cp src/smplayer appdir/usr/bin/ 36 | cp webserver/simple_web_server appdir/usr/bin/ 37 | mkdir -p appdir/usr/bin/translations 38 | cp src/translations/*.qm appdir/usr/bin/translations/ 39 | mkdir -p appdir/usr/share/applications 40 | cp smplayer.desktop appdir/usr/share/applications/ 41 | 42 | install -d appdir/usr/share/icons/hicolor/scalable/apps/ 43 | install -m 644 icons/smplayer.svg appdir/usr/share/icons/hicolor/scalable/apps/smplayer.svg 44 | 45 | if [ -n "$USE_SMTUBE_LIB" ]; then 46 | cp smtube/translations/*.qm appdir/usr/bin/translations/ 47 | fi 48 | -------------------------------------------------------------------------------- /compile_mac.sh: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | ./get_svn_revision.sh 3 | 4 | echo Compiling web server 5 | cd webserver && make 6 | cd .. 7 | 8 | echo Compiling create_plist 9 | cd Mac 10 | qmake -early QMAKE_DEFAULT_LIBDIRS=$(xcrun -show-sdk-path)/usr/lib && make 11 | cd .. 12 | 13 | #echo Compiling smtube 14 | #ln -sf ../smtube/src smtube 15 | #cd smtube 16 | #lrelease smtube.pro 17 | #qmake DEFINES+="SMTUBE_LIB" 18 | #make -j$(sysctl -n hw.logicalcpu) 19 | #cd ../src 20 | cd src 21 | 22 | echo Compiling smplayer 23 | lrelease smplayer.pro 24 | #qmake DEFINES+="USE_SMTUBE_LIB" 25 | qmake -early QMAKE_DEFAULT_LIBDIRS=$(xcrun -show-sdk-path)/usr/lib 26 | make -j$(sysctl -n hw.logicalcpu) 27 | #cp ../smtube/translations/*.qm smplayer.app/Contents/Resources/translations/ 28 | cp ../webserver/simple_web_server smplayer.app/Contents/MacOS/ 29 | ../Mac/create_plist > smplayer.app/Contents/Info.plist 30 | cp ../Mac/smplayer-document.icns smplayer.app/Contents/Resources/ 31 | cd .. 32 | 33 | echo Creating package 34 | mkdir -p package 35 | rm -r package/SMPlayer.app 36 | mv src/smplayer.app package/SMPlayer.app 37 | mkdir -p package/SMPlayer.app/Contents/translations 38 | cp `qmake -query QT_INSTALL_TRANSLATIONS`/qt_*.qm package/SMPlayer.app/Contents/translations/ 39 | cp `qmake -query QT_INSTALL_TRANSLATIONS`/qtbase_*.qm package/SMPlayer.app/Contents/translations/ 40 | rm package/SMPlayer.app/Contents/translations/qt_help_* 41 | macdeployqt package/SMPlayer.app 42 | -------------------------------------------------------------------------------- /compile_windows_portable.cmd: -------------------------------------------------------------------------------- 1 | call getrev.cmd 2 | 3 | cd zlib 4 | mingw32-make -fwin32\makefile.gcc 5 | 6 | cd ..\webserver 7 | mingw32-make 8 | 9 | cd ..\src 10 | lrelease smplayer.pro 11 | qmake DEFINES+=PORTABLE_APP 12 | mingw32-make 13 | -------------------------------------------------------------------------------- /create_deb.sh: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | ln -s debian-orig debian 4 | cp debian-orig/changelog-orig debian-orig/changelog 5 | 6 | ./get_version.sh 7 | dch -v `cat version` "Development version" 8 | 9 | #dpkg-buildpackage -rfakeroot 10 | 11 | # This should be faster: 12 | rm build-stamp 13 | rm src/smplayer 14 | fakeroot debian/rules build 15 | fakeroot debian/rules binary 16 | 17 | dh_clean 18 | rm debian-orig/changelog 19 | rm debian 20 | -------------------------------------------------------------------------------- /create_dmg,sh: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | rm package/*.dmg 4 | 5 | ./get_version.sh 6 | VERSION=`cat version` 7 | 8 | create-dmg \ 9 | --volname "SMPlayer $VERSION" \ 10 | --background "Mac/installer_background.png" \ 11 | --window-pos 200 120 \ 12 | --window-size 600 400 \ 13 | --icon-size 100 \ 14 | --icon "SMPlayer.app" 128 190 \ 15 | --hide-extension "SMPlayer.app" \ 16 | --app-drop-link 472 185 \ 17 | "package/smplayer-$VERSION.dmg" \ 18 | "package/SMPlayer.app/" 19 | -------------------------------------------------------------------------------- /create_rpm.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | #svn up 3 | ./get_svn_revision.sh 4 | 5 | SVN_REVISION=`cat svn_revision | sed -e 's/SVN-/svn_/g'` 6 | SMPVERSION=`cat src/version.cpp | grep "#define VERSION " | sed -e 's/#define VERSION "//g' -e 's/ /_/g' -e 's/"$//g'` 7 | 8 | svn export . /tmp/smplayer-${SMPVERSION}_${SVN_REVISION} 9 | CURDIR=`pwd` 10 | cd /tmp 11 | tar cvjf smplayer-${SMPVERSION}_${SVN_REVISION}.tar.bz2 smplayer-${SMPVERSION}_${SVN_REVISION}/ 12 | rm -r /tmp/smplayer-${SMPVERSION}_${SVN_REVISION} 13 | cat ${CURDIR}/smplayer.spec | sed -e 's/%define version [a-zA-Z0-9\.]*$/%define version '${SMPVERSION}'_'${SVN_REVISION}'/' > /tmp/smplayer.spec 14 | PCKGDIR=/usr/src/packages/ 15 | if [ -e /etc/fedora-release ]; then 16 | PCKGDIR=/usr/src/redhat/ 17 | fi 18 | if [ -e /etc/mandrake-release ]; then 19 | PCKGDIR=/usr/src/rpm/ 20 | fi 21 | cp /tmp/smplayer-${SMPVERSION}_${SVN_REVISION}.tar.bz2 ${PCKGDIR}SOURCES/ 22 | rpmbuild -bb --clean --rmsource smplayer.spec 23 | -------------------------------------------------------------------------------- /debian-orig/README: -------------------------------------------------------------------------------- 1 | The Debian Package smplayer 2 | ---------------------------- 3 | 4 | Comments regarding the Package 5 | 6 | -- ricardo Fri, 25 May 2007 01:48:41 +0200 7 | -------------------------------------------------------------------------------- /debian-orig/README.Debian: -------------------------------------------------------------------------------- 1 | smplayer for Debian 2 | ------------------- 3 | 4 | 5 | 6 | -- ricardo Fri, 25 May 2007 01:48:41 +0200 7 | -------------------------------------------------------------------------------- /debian-orig/compat: -------------------------------------------------------------------------------- 1 | 9 2 | -------------------------------------------------------------------------------- /debian-orig/control: -------------------------------------------------------------------------------- 1 | Source: smplayer 2 | Section: graphics 3 | Priority: extra 4 | Maintainer: Ricardo Villalba 5 | Standards-Version: 3.9.7 6 | Build-Depends: debhelper (>= 9), zlib1g-dev, libqt4-dev 7 | #Build-Depends: debhelper (>= 9), zlib1g-dev, qtbase5-dev, qt5-qmake, qtscript5-dev, qttools5-dev-tools, qtbase5-private-dev, qtdeclarative5-dev, qt5-default | nano 8 | 9 | Package: smplayer 10 | Architecture: any 11 | Pre-Depends: dpkg (>= 1.14.12ubuntu3) 12 | Depends: ${misc:Depends}, ${shlibs:Depends}, mplayer | mplayer-nogui | mpv (>= 0.6.2) 13 | Recommends: smplayer-themes, smplayer-skins, smtube, alsa-utils, x11-utils, pulseaudio-utils, youtube-dl, python-is-python2 | python-is-python3 14 | Replaces: smplayer-translations, smplayer-l10n 15 | Provides: smplayer-translations, smplayer-l10n 16 | Description: A great media player 17 | SMPlayer is a graphical user interface (GUI) for the award-winning mplayer 18 | and also for mpv. But apart from providing access for the most common 19 | and useful options of mplayer and mpv, SMPlayer adds other interesting features 20 | like the possibility to play Youtube videos or search and download subtitles. 21 | One of the main features is the ability to remember the state of a 22 | played file, so when you play it later it will be resumed at the same point 23 | and with the same settings. 24 | -------------------------------------------------------------------------------- /debian-orig/dirs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/debian-orig/dirs -------------------------------------------------------------------------------- /debian-orig/docs: -------------------------------------------------------------------------------- 1 | Copying.txt 2 | Install.txt 3 | Portable_Edition.txt 4 | Readme.txt 5 | Release_notes.md 6 | -------------------------------------------------------------------------------- /debian-orig/menu: -------------------------------------------------------------------------------- 1 | ?package(smplayer):needs="X11" section="Apps/Graphics"\ 2 | title="smplayer" command="/usr/bin/smplayer" 3 | -------------------------------------------------------------------------------- /debian-orig/patches/series: -------------------------------------------------------------------------------- 1 | # You must remove unused comment lines for the released package. 2 | -------------------------------------------------------------------------------- /debian-orig/rules: -------------------------------------------------------------------------------- 1 | #!/usr/bin/make -f 2 | 3 | #export QT_SELECT=5 4 | 5 | #QMAKE_OPTS = DEFINES+=NO_DEBUG_ON_CONSOLE 6 | QMAKE_OPTS = 7 | MAKE_OPTS = PREFIX=/usr QMAKE=qmake LRELEASE=lrelease QMAKE_OPTS="$(QMAKE_OPTS)" 8 | 9 | %: 10 | dh $@ --parallel 11 | 12 | override_dh_auto_clean: 13 | [ ! -d src/.moc ] || $(RM) -r src/.moc 14 | [ ! -d src/.obj ] || $(RM) -r src/.obj 15 | [ ! -d src/.ui ] || $(RM) -r src/.ui 16 | [ ! -f src/Makefile ] || dh_auto_clean 17 | 18 | override_dh_auto_build: 19 | dh_auto_build -- $(MAKE_OPTS) DOC_PATH=\\\"/usr/share/doc/smplayer\\\" 20 | 21 | override_dh_auto_install: 22 | dh_auto_install -- $(MAKE_OPTS) DOC_PATH=/usr/share/doc/smplayer 23 | rm -f debian/tmp/usr/share/doc/smplayer/Copying.txt 24 | -------------------------------------------------------------------------------- /debian-orig/source/format: -------------------------------------------------------------------------------- 1 | 3.0 (quilt) 2 | -------------------------------------------------------------------------------- /debian-orig/source/local-options: -------------------------------------------------------------------------------- 1 | #abort-on-upstream-changes 2 | #unapply-patches 3 | -------------------------------------------------------------------------------- /debian-orig/watch: -------------------------------------------------------------------------------- 1 | # You must remove unused comment lines for the released package. 2 | version=3 3 | -------------------------------------------------------------------------------- /dxlist/directx/README.txt: -------------------------------------------------------------------------------- 1 | In order to compile dxlist you need the directx headers, 2 | you can get them from here: http://www.videolan.org/vlc/dx7headers.tgz 3 | 4 | Then extract them here (actually only dsound.h, ddraw.h and d3dtypes.h 5 | are necessary). 6 | -------------------------------------------------------------------------------- /dxlist/dxlist.pro: -------------------------------------------------------------------------------- 1 | TEMPLATE = app 2 | LANGUAGE = C++ 3 | QT = 4 | CONFIG += console release 5 | INCLUDEPATH += directx 6 | LIBS += -ldsound -lddraw 7 | 8 | SOURCES = main.cpp 9 | -------------------------------------------------------------------------------- /get_svn_revision.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | # This file is taken from the MPlayer sources, and adapted a little bit. 4 | # It gets the SVN revision number and then saves it in two files: 5 | # src/svn_revision.h and svn_revision 6 | 7 | svn_revision=`LC_ALL=C svn info 2> /dev/null | grep Revision | cut -d' ' -f2` 8 | test $svn_revision || svn_revision=`git rev-list --count HEAD` 9 | test $svn_revision || svn_revision=0UNKNOWN 10 | 11 | NEW_REVISION="#define SVN_REVISION \"${svn_revision}\"" 12 | OLD_REVISION=`cat src/svn_revision.h 2> /dev/null` 13 | 14 | # Update svn_revision.h only on revision changes to avoid spurious rebuilds 15 | if test "$NEW_REVISION" != "$OLD_REVISION"; then 16 | echo "$NEW_REVISION" > src/svn_revision.h 17 | fi 18 | echo "${svn_revision}" > svn_revision 19 | -------------------------------------------------------------------------------- /get_version.sh: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | ./get_svn_revision.sh 3 | echo "24.5.0.`cat svn_revision`" > version 4 | #echo "24.5.0" > version 5 | -------------------------------------------------------------------------------- /getrev.cmd: -------------------------------------------------------------------------------- 1 | @echo off 2 | 3 | :: Some SVN clients can use localized messages (e.g. SlikSVN), force English 4 | set LC_ALL=C 5 | set SVN_REV= 6 | 7 | for /f "tokens=2" %%i in ('svn info ^| find "Revision:"') do set SVN_REV=%%i 8 | 9 | :: Set to UNKNOWN if no svn or working copy 10 | if "%SVN_REV%"=="" ( 11 | for /f %%i in ('git rev-list --count HEAD') do set SVN_REV=%%i 12 | ) 13 | if "%SVN_REV%"=="" ( 14 | set SVN_REV=UNKNOWN 15 | echo Unknown SVN revision. SVN missing in PATH or not a working copy. 16 | ) 17 | echo SVN Revision: %SVN_REV% 18 | echo. 19 | 20 | echo #define SVN_REVISION "%SVN_REV%">src\svn_revision.h 21 | 22 | set SVN_REV= 23 | -------------------------------------------------------------------------------- /icons/smplayer_icon128.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/icons/smplayer_icon128.png -------------------------------------------------------------------------------- /icons/smplayer_icon16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/icons/smplayer_icon16.png -------------------------------------------------------------------------------- /icons/smplayer_icon192.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/icons/smplayer_icon192.png -------------------------------------------------------------------------------- /icons/smplayer_icon22.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/icons/smplayer_icon22.png -------------------------------------------------------------------------------- /icons/smplayer_icon256.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/icons/smplayer_icon256.png -------------------------------------------------------------------------------- /icons/smplayer_icon32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/icons/smplayer_icon32.png -------------------------------------------------------------------------------- /icons/smplayer_icon512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/icons/smplayer_icon512.png -------------------------------------------------------------------------------- /icons/smplayer_icon64.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/icons/smplayer_icon64.png -------------------------------------------------------------------------------- /install_appdata.sh: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | install -m 644 smplayer.appdata.xml $1 3 | 4 | ./get_version.sh 5 | DATE_FMT="+%Y-%m-%d" 6 | SOURCE_DATE_EPOCH="${SOURCE_DATE_EPOCH:-$(date +%s)}" 7 | DATE=`date -u -d "@$SOURCE_DATE_EPOCH" "$DATE_FMT" 2>/dev/null || date -u -r "$SOURCE_DATE_EPOCH" "$DATE_FMT" 2>/dev/null || date -u "$DATE_FMT"` 8 | sed -i -e "s/{version}/`cat version`/" $1 9 | sed -i -e "s/{date}/$DATE/" $1 10 | 11 | -------------------------------------------------------------------------------- /old-docs/Changelog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/old-docs/Changelog -------------------------------------------------------------------------------- /old-docs/Finding_subtitles.txt: -------------------------------------------------------------------------------- 1 | In smplayer 0.6.2 there's a new dialog which allows you to find subtitle 2 | files very easily. 3 | 4 | The dialog can be opened with the option "Find subtitles on OpenSubtitles.org" 5 | in the Subtitles menu. 6 | 7 | It will automatically look for subtitles for the video you're currently 8 | playing (or the previous video if none is playing). 9 | 10 | The search is not done based on the file's name but on a hash which is 11 | calculated from the file, so it doesn't matter if you renamed the file, 12 | it will find the right subtitles for the file. 13 | 14 | To download a subtitle, just double click on it or click on the Download 15 | button. That would open your favorite web browser to actually download 16 | the file. 17 | 18 | You can also upload subtitles to OpenSubtitles.org, you'll find an option 19 | for that in the Subtitles menu. That would just open a web page with an upload 20 | form (java required). 21 | -------------------------------------------------------------------------------- /old-docs/dvdmenus.txt: -------------------------------------------------------------------------------- 1 | SMPlayer 0.6.7 adds the possibility to display DVD menus. 2 | 3 | In order to enable, you need: 4 | 5 | * Check the option "Enable DVD menus" in Preferences->Drives. 6 | * Assign the action "Activate option in DVD menus" (Preferences->Keyboard and 7 | mouse) to the left mouse button (so you can select the options in the menus 8 | with the mouse). 9 | 10 | A recent mplayer build with dvdnav support is required. 11 | 12 | Note that cache will be automatically DISABLED (dvd menus won't work with it) 13 | so this can affect performance. 14 | 15 | WARNING: support for DVD menus is EXPERIMENTAL and NOT complete yet. 16 | Currently mplayer has a lot of issues/limitations when using dvdnav, and it 17 | doesn't make things easy for front-ends, so the support for the DVD menus 18 | in smplayer can't be improved any further for the moment. 19 | 20 | Some of the problems I found: 21 | 22 | * it seems there's no way to know the current title that it's playing. 23 | MPlayer prints a line like this "DVDNAV, switched to title: 1" but 24 | unfortunately the title number that appears there may not match the 25 | title IDs that mplayer printed before (it may say "switched to title 2" 26 | but the actual title may be the 12th). As smplayer doesn't know the 27 | title, restoring the previous position after a mplayer restart is 28 | impossible. 29 | 30 | * if the audio track is changed, when you return to the dvd menu the 31 | sound may be lost (while printing a lot of error messages "Too many 32 | video packets in the buffer"). 33 | 34 | * subtitles may disappear after seeking. 35 | -------------------------------------------------------------------------------- /os2/liesmich.os2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/os2/liesmich.os2 -------------------------------------------------------------------------------- /os2/lisezmoi.os2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/os2/lisezmoi.os2 -------------------------------------------------------------------------------- /os2/smplayer.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/os2/smplayer.ico -------------------------------------------------------------------------------- /os2/smplayer_closed.ICO: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/os2/smplayer_closed.ICO -------------------------------------------------------------------------------- /os2/smplayer_open.ICO: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/os2/smplayer_open.ICO -------------------------------------------------------------------------------- /qt-translations/qt_eu.qm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/qt-translations/qt_eu.qm -------------------------------------------------------------------------------- /qt-translations/qt_ja.qm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/qt-translations/qt_ja.qm -------------------------------------------------------------------------------- /qt-translations/qtbase_es.qm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/qt-translations/qtbase_es.qm -------------------------------------------------------------------------------- /setup/sample.avi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/setup/sample.avi -------------------------------------------------------------------------------- /setup/smplayer-orange-installer.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/setup/smplayer-orange-installer.ico -------------------------------------------------------------------------------- /setup/smplayer-orange-uninstaller.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/setup/smplayer-orange-uninstaller.ico -------------------------------------------------------------------------------- /setup/smplayer-orange-wizard-un.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/setup/smplayer-orange-wizard-un.bmp -------------------------------------------------------------------------------- /setup/smplayer-orange-wizard.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/setup/smplayer-orange-wizard.bmp -------------------------------------------------------------------------------- /setup/translations/po_files/.tx/config: -------------------------------------------------------------------------------- 1 | [main] 2 | host = https://www.transifex.com 3 | 4 | [o:rvm:p:smplayer:r:installer] 5 | source_file = english.pot 6 | source_lang = en 7 | file_filter = .po 8 | type = PO 9 | minimum_perc = 50 10 | trans.zh_TW = tradchinese.po 11 | trans.ca = catalan.po 12 | trans.hr = croatian.po 13 | trans.de = german.po 14 | trans.pt = portuguese.po 15 | trans.cs = czech.po 16 | trans.fr = french.po 17 | trans.nb_NO = norwegian_nb.po 18 | trans.sr = serbian.po 19 | trans.fi = finnish.po 20 | trans.ru = russian.po 21 | trans.tr = turkish.po 22 | trans.nn = norwegian_nn.po 23 | trans.pl = polish.po 24 | trans.pt_BR = portuguesebrazil.po 25 | trans.sk = slovak.po 26 | trans.hu = hungarian.po 27 | trans.it = italian.po 28 | trans.ja = japanese.po 29 | trans.ko = korean.po 30 | trans.bg = bulgarian.po 31 | trans.nl = dutch.po 32 | trans.he = hebrew.po 33 | trans.id = indonesian.po 34 | trans.sq_AL = albanian.po 35 | trans.am = amharic.po 36 | trans.ar = arabic.po 37 | trans.eu = basque.po 38 | trans.el = greek.po 39 | trans.fa = farsi.po 40 | trans.uk = ukrainian.po 41 | trans.da = danish.po 42 | trans.gl = galician.po 43 | trans.ms_MY = malay.po 44 | trans.th = thai.po 45 | trans.vi = vietnamese.po 46 | trans.ro = romanian.po 47 | trans.zh_CN = simpchinese.po 48 | trans.sl = slovenian.po 49 | trans.es = spanish.po 50 | 51 | -------------------------------------------------------------------------------- /src/H2O/README.txt: -------------------------------------------------------------------------------- 1 | H2O icons: 2 | http://kde-look.org/content/show.php/H2O+Icon+Theme?content=127149 3 | License: GPL 4 | 5 | Button image: 6 | http://pixabay.com/es/bot%C3%B3n-brillante-azul-redondeado-152243/ 7 | License: Creative Commons Deed CC0 8 | -------------------------------------------------------------------------------- /src/H2O/add_bookmark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/H2O/add_bookmark.png -------------------------------------------------------------------------------- /src/H2O/arrow-down.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/H2O/arrow-down.png -------------------------------------------------------------------------------- /src/H2O/audio_channels.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/H2O/audio_channels.png -------------------------------------------------------------------------------- /src/H2O/audio_equalizer.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/H2O/audio_equalizer.png -------------------------------------------------------------------------------- /src/H2O/audio_filters.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/H2O/audio_filters.png -------------------------------------------------------------------------------- /src/H2O/bluray.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/H2O/bluray.png -------------------------------------------------------------------------------- /src/H2O/bluray_drive.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/H2O/bluray_drive.png -------------------------------------------------------------------------------- /src/H2O/bookmarks.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/H2O/bookmarks.png -------------------------------------------------------------------------------- /src/H2O/cdda.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/H2O/cdda.png -------------------------------------------------------------------------------- /src/H2O/cdrom_drive.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/H2O/cdrom_drive.png -------------------------------------------------------------------------------- /src/H2O/chapter.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/H2O/chapter.png -------------------------------------------------------------------------------- /src/H2O/check_mark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/H2O/check_mark.png -------------------------------------------------------------------------------- /src/H2O/check_mark_disabled.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/H2O/check_mark_disabled.png -------------------------------------------------------------------------------- /src/H2O/check_updates.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/H2O/check_updates.png -------------------------------------------------------------------------------- /src/H2O/cl_help.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/H2O/cl_help.png -------------------------------------------------------------------------------- /src/H2O/close.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/H2O/close.png -------------------------------------------------------------------------------- /src/H2O/compact.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/H2O/compact.png -------------------------------------------------------------------------------- /src/H2O/copy.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/H2O/copy.png -------------------------------------------------------------------------------- /src/H2O/delete.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/H2O/delete.png -------------------------------------------------------------------------------- /src/H2O/donate.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/H2O/donate.png -------------------------------------------------------------------------------- /src/H2O/down.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/H2O/down.png -------------------------------------------------------------------------------- /src/H2O/download_subs.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/H2O/download_subs.png -------------------------------------------------------------------------------- /src/H2O/dvd.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/H2O/dvd.png -------------------------------------------------------------------------------- /src/H2O/dvd_drive.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/H2O/dvd_drive.png -------------------------------------------------------------------------------- /src/H2O/equalizer.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/H2O/equalizer.png -------------------------------------------------------------------------------- /src/H2O/exit.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/H2O/exit.png -------------------------------------------------------------------------------- /src/H2O/faq.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/H2O/faq.png -------------------------------------------------------------------------------- /src/H2O/favorite-add.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/H2O/favorite-add.png -------------------------------------------------------------------------------- /src/H2O/favorite-folder.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/H2O/favorite-folder.png -------------------------------------------------------------------------------- /src/H2O/favorite.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/H2O/favorite.png -------------------------------------------------------------------------------- /src/H2O/find.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/H2O/find.png -------------------------------------------------------------------------------- /src/H2O/flip.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/H2O/flip.png -------------------------------------------------------------------------------- /src/H2O/forward10m.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/H2O/forward10m.png -------------------------------------------------------------------------------- /src/H2O/forward10s.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/H2O/forward10s.png -------------------------------------------------------------------------------- /src/H2O/forward1m.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/H2O/forward1m.png -------------------------------------------------------------------------------- /src/H2O/fullscreen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/H2O/fullscreen.png -------------------------------------------------------------------------------- /src/H2O/guide.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/H2O/guide.png -------------------------------------------------------------------------------- /src/H2O/info.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/H2O/info.png -------------------------------------------------------------------------------- /src/H2O/infofile.css: -------------------------------------------------------------------------------- 1 | ul { 2 | margin: 0px; 3 | } 4 | 5 | body { 6 | background-color: white; 7 | color: black; 8 | } 9 | 10 | h2 { 11 | background-color: navy; 12 | color: white; 13 | } 14 | -------------------------------------------------------------------------------- /src/H2O/input_devices.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/H2O/input_devices.png -------------------------------------------------------------------------------- /src/H2O/keyboard.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/H2O/keyboard.png -------------------------------------------------------------------------------- /src/H2O/minus.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/H2O/minus.png -------------------------------------------------------------------------------- /src/H2O/mirror.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/H2O/mirror.png -------------------------------------------------------------------------------- /src/H2O/monitor.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/H2O/monitor.png -------------------------------------------------------------------------------- /src/H2O/mouse.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/H2O/mouse.png -------------------------------------------------------------------------------- /src/H2O/mute.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/H2O/mute.png -------------------------------------------------------------------------------- /src/H2O/next.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/H2O/next.png -------------------------------------------------------------------------------- /src/H2O/ontop.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/H2O/ontop.png -------------------------------------------------------------------------------- /src/H2O/open.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/H2O/open.png -------------------------------------------------------------------------------- /src/H2O/open_disc.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/H2O/open_disc.png -------------------------------------------------------------------------------- /src/H2O/open_favorites.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/H2O/open_favorites.png -------------------------------------------------------------------------------- /src/H2O/open_playlist.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/H2O/open_playlist.png -------------------------------------------------------------------------------- /src/H2O/open_radio.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/H2O/open_radio.png -------------------------------------------------------------------------------- /src/H2O/open_tv.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/H2O/open_tv.png -------------------------------------------------------------------------------- /src/H2O/openfolder.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/H2O/openfolder.png -------------------------------------------------------------------------------- /src/H2O/osd.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/H2O/osd.png -------------------------------------------------------------------------------- /src/H2O/pause.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/H2O/pause.png -------------------------------------------------------------------------------- /src/H2O/play.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/H2O/play.png -------------------------------------------------------------------------------- /src/H2O/play_pause.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/H2O/play_pause.png -------------------------------------------------------------------------------- /src/H2O/playlist.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/H2O/playlist.png -------------------------------------------------------------------------------- /src/H2O/plus.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/H2O/plus.png -------------------------------------------------------------------------------- /src/H2O/pref_advanced.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/H2O/pref_advanced.png -------------------------------------------------------------------------------- /src/H2O/pref_associations.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/H2O/pref_associations.png -------------------------------------------------------------------------------- /src/H2O/pref_devices.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/H2O/pref_devices.png -------------------------------------------------------------------------------- /src/H2O/pref_general.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/H2O/pref_general.png -------------------------------------------------------------------------------- /src/H2O/pref_gui.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/H2O/pref_gui.png -------------------------------------------------------------------------------- /src/H2O/pref_network.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/H2O/pref_network.png -------------------------------------------------------------------------------- /src/H2O/pref_performance.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/H2O/pref_performance.png -------------------------------------------------------------------------------- /src/H2O/pref_playlist.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/H2O/pref_playlist.png -------------------------------------------------------------------------------- /src/H2O/pref_subtitles.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/H2O/pref_subtitles.png -------------------------------------------------------------------------------- /src/H2O/pref_tv.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/H2O/pref_tv.png -------------------------------------------------------------------------------- /src/H2O/pref_updates.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/H2O/pref_updates.png -------------------------------------------------------------------------------- /src/H2O/prefs.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/H2O/prefs.png -------------------------------------------------------------------------------- /src/H2O/previous.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/H2O/previous.png -------------------------------------------------------------------------------- /src/H2O/recents.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/H2O/recents.png -------------------------------------------------------------------------------- /src/H2O/record.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/H2O/record.png -------------------------------------------------------------------------------- /src/H2O/rewind10m.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/H2O/rewind10m.png -------------------------------------------------------------------------------- /src/H2O/rewind10s.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/H2O/rewind10s.png -------------------------------------------------------------------------------- /src/H2O/rewind1m.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/H2O/rewind1m.png -------------------------------------------------------------------------------- /src/H2O/rotate.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/H2O/rotate.png -------------------------------------------------------------------------------- /src/H2O/save.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/H2O/save.png -------------------------------------------------------------------------------- /src/H2O/screenshot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/H2O/screenshot.png -------------------------------------------------------------------------------- /src/H2O/screenshots.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/H2O/screenshots.png -------------------------------------------------------------------------------- /src/H2O/send_audio.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/H2O/send_audio.png -------------------------------------------------------------------------------- /src/H2O/send_to_screen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/H2O/send_to_screen.png -------------------------------------------------------------------------------- /src/H2O/show_config.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/H2O/show_config.png -------------------------------------------------------------------------------- /src/H2O/speed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/H2O/speed.png -------------------------------------------------------------------------------- /src/H2O/stereo_mode.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/H2O/stereo_mode.png -------------------------------------------------------------------------------- /src/H2O/stop.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/H2O/stop.png -------------------------------------------------------------------------------- /src/H2O/tabletmode.css: -------------------------------------------------------------------------------- 1 | QWidget { 2 | font-size: 13pt; 3 | } 4 | 5 | .QPushButton { 6 | border: 0px; 7 | background-color: white; 8 | margin: 2px; 9 | padding: 10px; 10 | } 11 | 12 | QGroupBox { 13 | border: 0px; 14 | padding-top: 18px; 15 | padding-bottom: 2px; 16 | color: darkblue; 17 | font: bold; 18 | margin: 2px; 19 | } 20 | 21 | EditableToolbar > QToolButton:hover { 22 | border: 1px solid transparent; 23 | background: transparent; 24 | border-radius: 0px; 25 | } 26 | 27 | /* 28 | #toolbar1 { 29 | qproperty-iconSize: 40px; 30 | } 31 | */ 32 | 33 | QAbstractItemView#sections { 34 | qproperty-iconSize: 48px; 35 | } 36 | 37 | PreferencesDialog { 38 | qproperty-iconMode: true; 39 | } 40 | -------------------------------------------------------------------------------- /src/H2O/title.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/H2O/title.png -------------------------------------------------------------------------------- /src/H2O/toolbars.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/H2O/toolbars.png -------------------------------------------------------------------------------- /src/H2O/trash.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/H2O/trash.png -------------------------------------------------------------------------------- /src/H2O/unload.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/H2O/unload.png -------------------------------------------------------------------------------- /src/H2O/up.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/H2O/up.png -------------------------------------------------------------------------------- /src/H2O/update_youtube.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/H2O/update_youtube.png -------------------------------------------------------------------------------- /src/H2O/url.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/H2O/url.png -------------------------------------------------------------------------------- /src/H2O/url_big.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/H2O/url_big.png -------------------------------------------------------------------------------- /src/H2O/vcd.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/H2O/vcd.png -------------------------------------------------------------------------------- /src/H2O/video_filters.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/H2O/video_filters.png -------------------------------------------------------------------------------- /src/H2O/video_preview.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/H2O/video_preview.png -------------------------------------------------------------------------------- /src/H2O/video_size.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/H2O/video_size.png -------------------------------------------------------------------------------- /src/H2O/video_track.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/H2O/video_track.png -------------------------------------------------------------------------------- /src/H2O/volume.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/H2O/volume.png -------------------------------------------------------------------------------- /src/H2O/zoom.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/H2O/zoom.png -------------------------------------------------------------------------------- /src/bookmarkdialog.h: -------------------------------------------------------------------------------- 1 | /* smplayer, GUI front-end for mplayer. 2 | Copyright (C) 2006-2024 Ricardo Villalba 3 | 4 | This program is free software; you can redistribute it and/or modify 5 | it under the terms of the GNU General Public License as published by 6 | the Free Software Foundation; either version 2 of the License, or 7 | (at your option) any later version. 8 | 9 | This program is distributed in the hope that it will be useful, 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 | GNU General Public License for more details. 13 | 14 | You should have received a copy of the GNU General Public License 15 | along with this program; if not, write to the Free Software 16 | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 17 | */ 18 | 19 | #ifndef BOOKMARKDIALOG_H 20 | #define BOOKMARKDIALOG_H 21 | 22 | #include "ui_bookmarkdialog.h" 23 | 24 | #include 25 | 26 | class BookmarkDialog : public QDialog, public Ui::BookmarkDialog 27 | { 28 | Q_OBJECT 29 | 30 | public: 31 | BookmarkDialog( QWidget* parent = 0, Qt::WindowFlags f = QFlag(0) ); 32 | ~BookmarkDialog(); 33 | 34 | void setBookmarks(QMap); 35 | QMap bookmarks(); 36 | 37 | protected slots: 38 | void on_delete_button_clicked(); 39 | void on_add_button_clicked(); 40 | }; 41 | 42 | #endif 43 | -------------------------------------------------------------------------------- /src/cleanconfig.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "cleanconfig.h" 3 | #include 4 | #include 5 | 6 | #define DO_REMOVE 7 | //#define REMOVE_FILE_SETTINGS 8 | 9 | void CleanConfig::clean(const QString & config_path) { 10 | qDebug("CleanConfig::clean"); 11 | 12 | QStringList files; 13 | files << "smplayer.ini" << "styles.ass" << "smplayer_files.ini" 14 | << "ytcode.script" << "yt.js" << "sig.ini" << "player_info.ini" 15 | << "device_info.ini" << "hdpi.ini" << "playlist.ini"; 16 | 17 | QStringList files_to_delete; 18 | 19 | foreach(QString f, files) { 20 | QString s = config_path +"/"+ f; 21 | if (QFile::exists(s)) files_to_delete << s; 22 | } 23 | 24 | #ifdef REMOVE_FILE_SETTINGS 25 | QString s = config_path + "/file_settings"; 26 | if (QFile::exists(s)) files_to_delete << listDir(s); 27 | #endif 28 | 29 | printf("Deleting files:\n"); 30 | for (int n = 0; n < files_to_delete.count(); n++) { 31 | printf("Delete: %s\n", files_to_delete[n].toUtf8().constData()); 32 | #ifdef DO_REMOVE 33 | QFile::remove(files_to_delete[n]); 34 | #endif 35 | } 36 | } 37 | 38 | QStringList CleanConfig::listDir(const QString &path) { 39 | QDir dir(path); 40 | QStringList file_list; 41 | 42 | foreach(QString file, dir.entryList(QDir::Files)) { 43 | file_list << QFileInfo(dir, file).absoluteFilePath(); 44 | } 45 | 46 | foreach(QString sub_dir, dir.entryList(QDir::Dirs | QDir::NoDotAndDotDot)) { 47 | file_list << listDir(path +"/"+ sub_dir); 48 | } 49 | 50 | return file_list; 51 | } 52 | 53 | -------------------------------------------------------------------------------- /src/cleanconfig.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef CLEANCONFIG_H 3 | #define CLEANCONFIG_H 4 | 5 | #include 6 | #include 7 | 8 | class CleanConfig { 9 | public: 10 | static void clean(const QString &config_path); 11 | 12 | private: 13 | static QStringList listDir(const QString &path); 14 | }; 15 | 16 | #endif 17 | -------------------------------------------------------------------------------- /src/clhelp.h: -------------------------------------------------------------------------------- 1 | /* smplayer, GUI front-end for mplayer. 2 | Copyright (C) 2006-2024 Ricardo Villalba 3 | 4 | This program is free software; you can redistribute it and/or modify 5 | it under the terms of the GNU General Public License as published by 6 | the Free Software Foundation; either version 2 of the License, or 7 | (at your option) any later version. 8 | 9 | This program is distributed in the hope that it will be useful, 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 | GNU General Public License for more details. 13 | 14 | You should have received a copy of the GNU General Public License 15 | along with this program; if not, write to the Free Software 16 | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 17 | */ 18 | 19 | #include 20 | 21 | //! Provides help about the comand line options. 22 | 23 | class CLHelp 24 | { 25 | public: 26 | static QString help(bool html = false); 27 | 28 | protected: 29 | static QString formatText(QString s, int col); 30 | static QString formatHelp(QString parameter, QString help, bool html = false); 31 | }; 32 | -------------------------------------------------------------------------------- /src/connectionbase.cpp: -------------------------------------------------------------------------------- 1 | /* smplayer, GUI front-end for mplayer. 2 | Copyright (C) 2006-2024 Ricardo Villalba 3 | 4 | This program is free software; you can redistribute it and/or modify 5 | it under the terms of the GNU General Public License as published by 6 | the Free Software Foundation; either version 2 of the License, or 7 | (at your option) any later version. 8 | 9 | This program is distributed in the hope that it will be useful, 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 | GNU General Public License for more details. 13 | 14 | You should have received a copy of the GNU General Public License 15 | along with this program; if not, write to the Free Software 16 | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 17 | */ 18 | 19 | #include "connectionbase.h" 20 | 21 | QString ConnectionBase::formatToString(uint32_t f) { 22 | switch (f) { 23 | case RGB24: return "RGB24"; 24 | case RGB16: return "RGB16"; 25 | case I420: return "I420"; 26 | case YUY2: return "YUY2"; 27 | case UYVY: return "UYVY"; 28 | } 29 | return QString("unknown (%1)").arg(f); 30 | } 31 | 32 | #include "moc_connectionbase.cpp" 33 | -------------------------------------------------------------------------------- /src/constants.h: -------------------------------------------------------------------------------- 1 | /* smplayer, GUI front-end for mplayer. 2 | Copyright (C) 2006-2024 Ricardo Villalba 3 | 4 | This program is free software; you can redistribute it and/or modify 5 | it under the terms of the GNU General Public License as published by 6 | the Free Software Foundation; either version 2 of the License, or 7 | (at your option) any later version. 8 | 9 | This program is distributed in the hope that it will be useful, 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 | GNU General Public License for more details. 13 | 14 | You should have received a copy of the GNU General Public License 15 | along with this program; if not, write to the Free Software 16 | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 17 | */ 18 | 19 | #ifndef CONSTANTS_H 20 | #define CONSTANTS_H 21 | 22 | #define COMPANY "RVM" 23 | #define PROGRAM "smplayer" 24 | 25 | #endif 26 | 27 | -------------------------------------------------------------------------------- /src/default-theme/2.xcf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/default-theme/2.xcf -------------------------------------------------------------------------------- /src/default-theme/a_marker.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/default-theme/a_marker.png -------------------------------------------------------------------------------- /src/default-theme/add_bookmark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/default-theme/add_bookmark.png -------------------------------------------------------------------------------- /src/default-theme/angle.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/default-theme/angle.png -------------------------------------------------------------------------------- /src/default-theme/aspect.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/default-theme/aspect.png -------------------------------------------------------------------------------- /src/default-theme/audio_channels.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/default-theme/audio_channels.png -------------------------------------------------------------------------------- /src/default-theme/audio_equalizer.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/default-theme/audio_equalizer.png -------------------------------------------------------------------------------- /src/default-theme/audio_filters.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/default-theme/audio_filters.png -------------------------------------------------------------------------------- /src/default-theme/audio_track.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/default-theme/audio_track.png -------------------------------------------------------------------------------- /src/default-theme/b_marker.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/default-theme/b_marker.png -------------------------------------------------------------------------------- /src/default-theme/background.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/default-theme/background.png -------------------------------------------------------------------------------- /src/default-theme/bluray.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/default-theme/bluray.png -------------------------------------------------------------------------------- /src/default-theme/bluray_drive.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/default-theme/bluray_drive.png -------------------------------------------------------------------------------- /src/default-theme/bola.xcf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/default-theme/bola.xcf -------------------------------------------------------------------------------- /src/default-theme/bookmarks.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/default-theme/bookmarks.png -------------------------------------------------------------------------------- /src/default-theme/brightness.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/default-theme/brightness.png -------------------------------------------------------------------------------- /src/default-theme/buffering.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/default-theme/buffering.gif -------------------------------------------------------------------------------- /src/default-theme/cast.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/default-theme/cast.png -------------------------------------------------------------------------------- /src/default-theme/cdda.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/default-theme/cdda.png -------------------------------------------------------------------------------- /src/default-theme/cdrom_drive.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/default-theme/cdrom_drive.png -------------------------------------------------------------------------------- /src/default-theme/chapter.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/default-theme/chapter.png -------------------------------------------------------------------------------- /src/default-theme/check_updates.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/default-theme/check_updates.png -------------------------------------------------------------------------------- /src/default-theme/chromecast.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/default-theme/chromecast.png -------------------------------------------------------------------------------- /src/default-theme/cl_help.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/default-theme/cl_help.png -------------------------------------------------------------------------------- /src/default-theme/clear_left.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/default-theme/clear_left.png -------------------------------------------------------------------------------- /src/default-theme/close.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/default-theme/close.png -------------------------------------------------------------------------------- /src/default-theme/compact.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/default-theme/compact.png -------------------------------------------------------------------------------- /src/default-theme/conflict.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/default-theme/conflict.png -------------------------------------------------------------------------------- /src/default-theme/contrast.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/default-theme/contrast.png -------------------------------------------------------------------------------- /src/default-theme/contributors.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/default-theme/contributors.png -------------------------------------------------------------------------------- /src/default-theme/copy.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/default-theme/copy.png -------------------------------------------------------------------------------- /src/default-theme/crash.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/default-theme/crash.png -------------------------------------------------------------------------------- /src/default-theme/delete.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/default-theme/delete.png -------------------------------------------------------------------------------- /src/default-theme/donate.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/default-theme/donate.png -------------------------------------------------------------------------------- /src/default-theme/donate_big.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/default-theme/donate_big.png -------------------------------------------------------------------------------- /src/default-theme/down.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/default-theme/down.png -------------------------------------------------------------------------------- /src/default-theme/download.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/default-theme/download.png -------------------------------------------------------------------------------- /src/default-theme/download_subs.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/default-theme/download_subs.png -------------------------------------------------------------------------------- /src/default-theme/dvd.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/default-theme/dvd.png -------------------------------------------------------------------------------- /src/default-theme/dvd_drive.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/default-theme/dvd_drive.png -------------------------------------------------------------------------------- /src/default-theme/dvd_hd.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/default-theme/dvd_hd.png -------------------------------------------------------------------------------- /src/default-theme/empty_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/default-theme/empty_icon.png -------------------------------------------------------------------------------- /src/default-theme/equalizer.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/default-theme/equalizer.png -------------------------------------------------------------------------------- /src/default-theme/exit.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/default-theme/exit.png -------------------------------------------------------------------------------- /src/default-theme/faq.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/default-theme/faq.png -------------------------------------------------------------------------------- /src/default-theme/favorite-add.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/default-theme/favorite-add.png -------------------------------------------------------------------------------- /src/default-theme/favorite-folder.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/default-theme/favorite-folder.png -------------------------------------------------------------------------------- /src/default-theme/favorite.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/default-theme/favorite.png -------------------------------------------------------------------------------- /src/default-theme/find.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/default-theme/find.png -------------------------------------------------------------------------------- /src/default-theme/flecha.xcf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/default-theme/flecha.xcf -------------------------------------------------------------------------------- /src/default-theme/flip.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/default-theme/flip.png -------------------------------------------------------------------------------- /src/default-theme/folder_open.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/default-theme/folder_open.png -------------------------------------------------------------------------------- /src/default-theme/forward10m.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/default-theme/forward10m.png -------------------------------------------------------------------------------- /src/default-theme/forward10s.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/default-theme/forward10s.png -------------------------------------------------------------------------------- /src/default-theme/forward1m.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/default-theme/forward1m.png -------------------------------------------------------------------------------- /src/default-theme/fullscreen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/default-theme/fullscreen.png -------------------------------------------------------------------------------- /src/default-theme/gamma.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/default-theme/gamma.png -------------------------------------------------------------------------------- /src/default-theme/guide.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/default-theme/guide.png -------------------------------------------------------------------------------- /src/default-theme/hue.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/default-theme/hue.png -------------------------------------------------------------------------------- /src/default-theme/info.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/default-theme/info.png -------------------------------------------------------------------------------- /src/default-theme/input_devices.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/default-theme/input_devices.png -------------------------------------------------------------------------------- /src/default-theme/instance1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/default-theme/instance1.png -------------------------------------------------------------------------------- /src/default-theme/instance2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/default-theme/instance2.png -------------------------------------------------------------------------------- /src/default-theme/keyboard.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/default-theme/keyboard.png -------------------------------------------------------------------------------- /src/default-theme/license.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/default-theme/license.png -------------------------------------------------------------------------------- /src/default-theme/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/default-theme/logo.png -------------------------------------------------------------------------------- /src/default-theme/logs.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/default-theme/logs.png -------------------------------------------------------------------------------- /src/default-theme/minus.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/default-theme/minus.png -------------------------------------------------------------------------------- /src/default-theme/mirror.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/default-theme/mirror.png -------------------------------------------------------------------------------- /src/default-theme/monitor.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/default-theme/monitor.png -------------------------------------------------------------------------------- /src/default-theme/mouse.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/default-theme/mouse.png -------------------------------------------------------------------------------- /src/default-theme/mute.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/default-theme/mute.png -------------------------------------------------------------------------------- /src/default-theme/next.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/default-theme/next.png -------------------------------------------------------------------------------- /src/default-theme/next_aspect.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/default-theme/next_aspect.png -------------------------------------------------------------------------------- /src/default-theme/ok.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/default-theme/ok.png -------------------------------------------------------------------------------- /src/default-theme/ontop.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/default-theme/ontop.png -------------------------------------------------------------------------------- /src/default-theme/open.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/default-theme/open.png -------------------------------------------------------------------------------- /src/default-theme/open_disc.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/default-theme/open_disc.png -------------------------------------------------------------------------------- /src/default-theme/open_favorites.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/default-theme/open_favorites.png -------------------------------------------------------------------------------- /src/default-theme/open_playlist.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/default-theme/open_playlist.png -------------------------------------------------------------------------------- /src/default-theme/open_radio.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/default-theme/open_radio.png -------------------------------------------------------------------------------- /src/default-theme/open_tv.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/default-theme/open_tv.png -------------------------------------------------------------------------------- /src/default-theme/openfolder.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/default-theme/openfolder.png -------------------------------------------------------------------------------- /src/default-theme/osd.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/default-theme/osd.png -------------------------------------------------------------------------------- /src/default-theme/pause.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/default-theme/pause.png -------------------------------------------------------------------------------- /src/default-theme/paypal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/default-theme/paypal.png -------------------------------------------------------------------------------- /src/default-theme/pl_loading.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/default-theme/pl_loading.gif -------------------------------------------------------------------------------- /src/default-theme/play.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/default-theme/play.png -------------------------------------------------------------------------------- /src/default-theme/play_pause.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/default-theme/play_pause.png -------------------------------------------------------------------------------- /src/default-theme/playlist.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/default-theme/playlist.png -------------------------------------------------------------------------------- /src/default-theme/plus.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/default-theme/plus.png -------------------------------------------------------------------------------- /src/default-theme/pref_advanced.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/default-theme/pref_advanced.png -------------------------------------------------------------------------------- /src/default-theme/pref_associations.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/default-theme/pref_associations.png -------------------------------------------------------------------------------- /src/default-theme/pref_devices.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/default-theme/pref_devices.png -------------------------------------------------------------------------------- /src/default-theme/pref_general.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/default-theme/pref_general.png -------------------------------------------------------------------------------- /src/default-theme/pref_gui.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/default-theme/pref_gui.png -------------------------------------------------------------------------------- /src/default-theme/pref_network.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/default-theme/pref_network.png -------------------------------------------------------------------------------- /src/default-theme/pref_performance.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/default-theme/pref_performance.png -------------------------------------------------------------------------------- /src/default-theme/pref_playlist.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/default-theme/pref_playlist.png -------------------------------------------------------------------------------- /src/default-theme/pref_subtitles.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/default-theme/pref_subtitles.png -------------------------------------------------------------------------------- /src/default-theme/pref_tv.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/default-theme/pref_tv.png -------------------------------------------------------------------------------- /src/default-theme/pref_updates.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/default-theme/pref_updates.png -------------------------------------------------------------------------------- /src/default-theme/prefs.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/default-theme/prefs.png -------------------------------------------------------------------------------- /src/default-theme/previous.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/default-theme/previous.png -------------------------------------------------------------------------------- /src/default-theme/qt.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/default-theme/qt.png -------------------------------------------------------------------------------- /src/default-theme/quick_access_menu.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/default-theme/quick_access_menu.png -------------------------------------------------------------------------------- /src/default-theme/recents.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/default-theme/recents.png -------------------------------------------------------------------------------- /src/default-theme/record.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/default-theme/record.png -------------------------------------------------------------------------------- /src/default-theme/refresh.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/default-theme/refresh.png -------------------------------------------------------------------------------- /src/default-theme/repeat.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/default-theme/repeat.png -------------------------------------------------------------------------------- /src/default-theme/resize_window.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/default-theme/resize_window.png -------------------------------------------------------------------------------- /src/default-theme/rewind10m.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/default-theme/rewind10m.png -------------------------------------------------------------------------------- /src/default-theme/rewind10s.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/default-theme/rewind10s.png -------------------------------------------------------------------------------- /src/default-theme/rewind1m.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/default-theme/rewind1m.png -------------------------------------------------------------------------------- /src/default-theme/rotate.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/default-theme/rotate.png -------------------------------------------------------------------------------- /src/default-theme/saturation.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/default-theme/saturation.png -------------------------------------------------------------------------------- /src/default-theme/save.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/default-theme/save.png -------------------------------------------------------------------------------- /src/default-theme/screenshot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/default-theme/screenshot.png -------------------------------------------------------------------------------- /src/default-theme/screenshots.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/default-theme/screenshots.png -------------------------------------------------------------------------------- /src/default-theme/secondary_sub.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/default-theme/secondary_sub.png -------------------------------------------------------------------------------- /src/default-theme/send_audio.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/default-theme/send_audio.png -------------------------------------------------------------------------------- /src/default-theme/send_to_screen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/default-theme/send_to_screen.png -------------------------------------------------------------------------------- /src/default-theme/share.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/default-theme/share.png -------------------------------------------------------------------------------- /src/default-theme/show_config.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/default-theme/show_config.png -------------------------------------------------------------------------------- /src/default-theme/shuffle.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/default-theme/shuffle.png -------------------------------------------------------------------------------- /src/default-theme/shutdown.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/default-theme/shutdown.png -------------------------------------------------------------------------------- /src/default-theme/social_facebook.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/default-theme/social_facebook.png -------------------------------------------------------------------------------- /src/default-theme/social_twitter.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/default-theme/social_twitter.png -------------------------------------------------------------------------------- /src/default-theme/speaker.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/default-theme/speaker.png -------------------------------------------------------------------------------- /src/default-theme/speed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/default-theme/speed.png -------------------------------------------------------------------------------- /src/default-theme/stereo3d.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/default-theme/stereo3d.png -------------------------------------------------------------------------------- /src/default-theme/stereo_mode.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/default-theme/stereo_mode.png -------------------------------------------------------------------------------- /src/default-theme/stop.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/default-theme/stop.png -------------------------------------------------------------------------------- /src/default-theme/style.qss: -------------------------------------------------------------------------------- 1 | /* 2 | #panel { 3 | background-color: black; 4 | } 5 | 6 | MplayerWindow, MplayerLayer, #mplayerwindowlogo { 7 | background-color: transparent; 8 | } 9 | */ 10 | 11 | QLabel#floating_control_time { 12 | background-color: black; 13 | color: white; 14 | } 15 | 16 | 17 | QStatusBar, 18 | QStatusBar QLabel { 19 | background: black; 20 | color: white; 21 | } 22 | 23 | QStatusBar::item { 24 | border: none; 25 | } 26 | 27 | QToolTip { 28 | background-color: lightyellow; 29 | color: black; 30 | padding: 0px; 31 | margin: 0px; 32 | /* 33 | border: 1px solid silver; 34 | border-radius: 2px; 35 | font-size: 14px; 36 | */ 37 | border: 0px; 38 | } 39 | 40 | ShareButton { 41 | margin: 0px; 42 | padding: 1px; 43 | background-color: black; 44 | border: 2px solid transparent; 45 | outline: none; 46 | } 47 | 48 | ShareButton:hover { 49 | /* 50 | background-color: black; 51 | border: 2px solid lightblue; 52 | border-radius: 6px; 53 | */ 54 | } 55 | 56 | ShareButton:pressed { 57 | background-color: black; 58 | border: 2px solid lightblue; 59 | border-radius: 6px; 60 | } 61 | 62 | #support_button { 63 | margin: 0px; 64 | padding: 0px; 65 | background-color: transparent; 66 | color: white; 67 | border: 2px solid transparent; 68 | outline: none; 69 | font-size: 12px; 70 | } 71 | 72 | #support_button:hover { 73 | color: yellow; 74 | } 75 | 76 | #support_button:pressed { 77 | background-color: lightblue; 78 | color: black; 79 | border: 2px solid lightblue; 80 | border-radius: 6px; 81 | } 82 | 83 | -------------------------------------------------------------------------------- /src/default-theme/sub.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/default-theme/sub.png -------------------------------------------------------------------------------- /src/default-theme/tablet_mode.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/default-theme/tablet_mode.png -------------------------------------------------------------------------------- /src/default-theme/tabletmode.css: -------------------------------------------------------------------------------- 1 | /* This stylesheet will be added to the style's stylesheet in tablet mode */ 2 | 3 | QWidget { 4 | font-size: 12pt; 5 | } 6 | 7 | QMenu { 8 | menu-scrollable: 1; 9 | } 10 | 11 | .QPushButton { 12 | border: 0px; 13 | background-color: white; 14 | margin: 2px; 15 | padding: 10px; 16 | } 17 | 18 | QGroupBox { 19 | border: 0px; 20 | padding-top: 18px; 21 | padding-bottom: 2px; 22 | color: darkblue; 23 | font: bold; 24 | margin: 2px; 25 | } 26 | -------------------------------------------------------------------------------- /src/default-theme/title.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/default-theme/title.png -------------------------------------------------------------------------------- /src/default-theme/toolbars.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/default-theme/toolbars.png -------------------------------------------------------------------------------- /src/default-theme/translators.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/default-theme/translators.png -------------------------------------------------------------------------------- /src/default-theme/trash.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/default-theme/trash.png -------------------------------------------------------------------------------- /src/default-theme/tubebrowser.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/default-theme/tubebrowser.png -------------------------------------------------------------------------------- /src/default-theme/type_audio.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/default-theme/type_audio.png -------------------------------------------------------------------------------- /src/default-theme/type_bluray.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/default-theme/type_bluray.png -------------------------------------------------------------------------------- /src/default-theme/type_cdda.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/default-theme/type_cdda.png -------------------------------------------------------------------------------- /src/default-theme/type_dvd.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/default-theme/type_dvd.png -------------------------------------------------------------------------------- /src/default-theme/type_tv.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/default-theme/type_tv.png -------------------------------------------------------------------------------- /src/default-theme/type_unknown.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/default-theme/type_unknown.png -------------------------------------------------------------------------------- /src/default-theme/type_url.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/default-theme/type_url.png -------------------------------------------------------------------------------- /src/default-theme/type_vcd.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/default-theme/type_vcd.png -------------------------------------------------------------------------------- /src/default-theme/type_video.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/default-theme/type_video.png -------------------------------------------------------------------------------- /src/default-theme/unload.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/default-theme/unload.png -------------------------------------------------------------------------------- /src/default-theme/up.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/default-theme/up.png -------------------------------------------------------------------------------- /src/default-theme/update_youtube.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/default-theme/update_youtube.png -------------------------------------------------------------------------------- /src/default-theme/url.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/default-theme/url.png -------------------------------------------------------------------------------- /src/default-theme/url_big.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/default-theme/url_big.png -------------------------------------------------------------------------------- /src/default-theme/vcd.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/default-theme/vcd.png -------------------------------------------------------------------------------- /src/default-theme/video_filters.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/default-theme/video_filters.png -------------------------------------------------------------------------------- /src/default-theme/video_preview.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/default-theme/video_preview.png -------------------------------------------------------------------------------- /src/default-theme/video_size.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/default-theme/video_size.png -------------------------------------------------------------------------------- /src/default-theme/video_track.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/default-theme/video_track.png -------------------------------------------------------------------------------- /src/default-theme/volume.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/default-theme/volume.png -------------------------------------------------------------------------------- /src/default-theme/warning.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/default-theme/warning.png -------------------------------------------------------------------------------- /src/desktopinfo.h: -------------------------------------------------------------------------------- 1 | /* smplayer, GUI front-end for mplayer. 2 | Copyright (C) 2006-2024 Ricardo Villalba 3 | 4 | This program is free software; you can redistribute it and/or modify 5 | it under the terms of the GNU General Public License as published by 6 | the Free Software Foundation; either version 2 of the License, or 7 | (at your option) any later version. 8 | 9 | This program is distributed in the hope that it will be useful, 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 | GNU General Public License for more details. 13 | 14 | You should have received a copy of the GNU General Public License 15 | along with this program; if not, write to the Free Software 16 | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 17 | */ 18 | 19 | 20 | #ifndef DESKTOPINFO_H 21 | #define DESKTOPINFO_H 22 | 23 | #include 24 | #include 25 | 26 | class QWidget; 27 | class QScreen; 28 | 29 | class DesktopInfo 30 | { 31 | public: 32 | static QSize desktop_size(QWidget *w); 33 | static double desktop_aspectRatio(QWidget *w); 34 | 35 | //! Returns true if the widget is inside the current screen 36 | static bool isInsideScreen(QWidget *w); 37 | 38 | static QPoint topLeftPrimaryScreen(); 39 | 40 | protected: 41 | #if QT_VERSION >= 0x050000 42 | static QScreen * find_screen(QWidget *w); 43 | #endif 44 | }; 45 | 46 | #endif 47 | -------------------------------------------------------------------------------- /src/errordialog.h: -------------------------------------------------------------------------------- 1 | /* smplayer, GUI front-end for mplayer. 2 | Copyright (C) 2006-2024 Ricardo Villalba 3 | 4 | This program is free software; you can redistribute it and/or modify 5 | it under the terms of the GNU General Public License as published by 6 | the Free Software Foundation; either version 2 of the License, or 7 | (at your option) any later version. 8 | 9 | This program is distributed in the hope that it will be useful, 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 | GNU General Public License for more details. 13 | 14 | You should have received a copy of the GNU General Public License 15 | along with this program; if not, write to the Free Software 16 | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 17 | */ 18 | 19 | #ifndef ERRORDIALOG_H 20 | #define ERRORDIALOG_H 21 | 22 | #include "ui_errordialog.h" 23 | 24 | class ErrorDialog : public QDialog, public Ui::ErrorDialog 25 | { 26 | Q_OBJECT 27 | 28 | public: 29 | ErrorDialog( QWidget* parent = 0, Qt::WindowFlags f = QFlag(0) ); 30 | ~ErrorDialog(); 31 | 32 | public slots: 33 | void setText(QString error); 34 | void setLog(QString log_text); 35 | 36 | protected slots: 37 | void toggleLog(bool); 38 | }; 39 | 40 | #endif 41 | -------------------------------------------------------------------------------- /src/filehash.h: -------------------------------------------------------------------------------- 1 | /* smplayer, GUI front-end for mplayer. 2 | Copyright (C) 2006-2024 Ricardo Villalba 3 | 4 | This program is free software; you can redistribute it and/or modify 5 | it under the terms of the GNU General Public License as published by 6 | the Free Software Foundation; either version 2 of the License, or 7 | (at your option) any later version. 8 | 9 | This program is distributed in the hope that it will be useful, 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 | GNU General Public License for more details. 13 | 14 | You should have received a copy of the GNU General Public License 15 | along with this program; if not, write to the Free Software 16 | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 17 | */ 18 | 19 | #ifndef FILEHASH_H 20 | #define FILEHASH_H 21 | 22 | #include 23 | 24 | class FileHash 25 | { 26 | public: 27 | 28 | static QString calculateHash(QString filename); 29 | }; 30 | 31 | #endif 32 | 33 | -------------------------------------------------------------------------------- /src/filesettings.h: -------------------------------------------------------------------------------- 1 | /* smplayer, GUI front-end for mplayer. 2 | Copyright (C) 2006-2024 Ricardo Villalba 3 | 4 | This program is free software; you can redistribute it and/or modify 5 | it under the terms of the GNU General Public License as published by 6 | the Free Software Foundation; either version 2 of the License, or 7 | (at your option) any later version. 8 | 9 | This program is distributed in the hope that it will be useful, 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 | GNU General Public License for more details. 13 | 14 | You should have received a copy of the GNU General Public License 15 | along with this program; if not, write to the Free Software 16 | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 17 | */ 18 | 19 | #ifndef FILESETTINGS_H 20 | #define FILESETTINGS_H 21 | 22 | #include "filesettingsbase.h" 23 | 24 | class QSettings; 25 | 26 | class FileSettings : public FileSettingsBase 27 | { 28 | public: 29 | FileSettings(QString directory); 30 | virtual ~FileSettings(); 31 | 32 | virtual bool existSettingsFor(QString filename, int type); 33 | 34 | virtual void loadSettingsFor(QString filename, int type, MediaSettings & mset, int player); 35 | 36 | virtual void saveSettingsFor(QString filename, int type, MediaSettings & mset, int player); 37 | 38 | static QString filenameToGroupname(const QString & filename, int type); 39 | 40 | private: 41 | QSettings * my_settings; 42 | }; 43 | 44 | #endif 45 | 46 | -------------------------------------------------------------------------------- /src/filesettingsbase.cpp: -------------------------------------------------------------------------------- 1 | /* smplayer, GUI front-end for mplayer. 2 | Copyright (C) 2006-2024 Ricardo Villalba 3 | 4 | This program is free software; you can redistribute it and/or modify 5 | it under the terms of the GNU General Public License as published by 6 | the Free Software Foundation; either version 2 of the License, or 7 | (at your option) any later version. 8 | 9 | This program is distributed in the hope that it will be useful, 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 | GNU General Public License for more details. 13 | 14 | You should have received a copy of the GNU General Public License 15 | along with this program; if not, write to the Free Software 16 | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 17 | */ 18 | 19 | #include "filesettingsbase.h" 20 | 21 | -------------------------------------------------------------------------------- /src/filesettingsbase.h: -------------------------------------------------------------------------------- 1 | /* smplayer, GUI front-end for mplayer. 2 | Copyright (C) 2006-2024 Ricardo Villalba 3 | 4 | This program is free software; you can redistribute it and/or modify 5 | it under the terms of the GNU General Public License as published by 6 | the Free Software Foundation; either version 2 of the License, or 7 | (at your option) any later version. 8 | 9 | This program is distributed in the hope that it will be useful, 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 | GNU General Public License for more details. 13 | 14 | You should have received a copy of the GNU General Public License 15 | along with this program; if not, write to the Free Software 16 | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 17 | */ 18 | 19 | #ifndef FILESETTINGS_BASE_H 20 | #define FILESETTINGS_BASE_H 21 | 22 | #include 23 | 24 | class MediaSettings; 25 | 26 | class FileSettingsBase 27 | { 28 | public: 29 | FileSettingsBase(QString directory) { output_directory = directory; }; 30 | virtual ~FileSettingsBase() {}; 31 | 32 | virtual bool existSettingsFor(QString filename, int type) = 0; 33 | 34 | virtual void loadSettingsFor(QString filename, int type, MediaSettings & mset, int player) = 0; 35 | 36 | virtual void saveSettingsFor(QString filename, int type, MediaSettings & mset, int player) = 0; 37 | 38 | protected: 39 | QString output_directory; 40 | }; 41 | 42 | #endif 43 | 44 | -------------------------------------------------------------------------------- /src/filesettingshash.h: -------------------------------------------------------------------------------- 1 | /* smplayer, GUI front-end for mplayer. 2 | Copyright (C) 2006-2024 Ricardo Villalba 3 | 4 | This program is free software; you can redistribute it and/or modify 5 | it under the terms of the GNU General Public License as published by 6 | the Free Software Foundation; either version 2 of the License, or 7 | (at your option) any later version. 8 | 9 | This program is distributed in the hope that it will be useful, 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 | GNU General Public License for more details. 13 | 14 | You should have received a copy of the GNU General Public License 15 | along with this program; if not, write to the Free Software 16 | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 17 | */ 18 | 19 | #ifndef FILESETTINGS_HASH_H 20 | #define FILESETTINGS_HASH_H 21 | 22 | #include "filesettingsbase.h" 23 | 24 | class FileSettingsHash : public FileSettingsBase 25 | { 26 | public: 27 | FileSettingsHash(QString directory); 28 | virtual ~FileSettingsHash(); 29 | 30 | virtual bool existSettingsFor(QString filename, int type); 31 | 32 | virtual void loadSettingsFor(QString filename, int type, MediaSettings & mset, int player); 33 | 34 | virtual void saveSettingsFor(QString filename, int type, MediaSettings & mset, int player); 35 | 36 | private: 37 | QString configFile(const QString & filename, int type, QString * output_dir = 0); 38 | QString base_dir; 39 | }; 40 | 41 | #endif 42 | 43 | -------------------------------------------------------------------------------- /src/findsubtitles/filedownloader/filedownloader.pro: -------------------------------------------------------------------------------- 1 | HEADERS += filedownloader.h 2 | SOURCES += filedownloader.cpp main.cpp 3 | 4 | QT += network 5 | 6 | -------------------------------------------------------------------------------- /src/findsubtitles/fixsubs.h: -------------------------------------------------------------------------------- 1 | /* smplayer, GUI front-end for mplayer. 2 | Copyright (C) 2006-2024 Ricardo Villalba 3 | 4 | This program is free software; you can redistribute it and/or modify 5 | it under the terms of the GNU General Public License as published by 6 | the Free Software Foundation; either version 2 of the License, or 7 | (at your option) any later version. 8 | 9 | This program is distributed in the hope that it will be useful, 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 | GNU General Public License for more details. 13 | 14 | You should have received a copy of the GNU General Public License 15 | along with this program; if not, write to the Free Software 16 | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 17 | */ 18 | 19 | #ifndef FIXSUBS_H 20 | #define FIXSUBS_H 21 | 22 | #include 23 | 24 | class FixSubtitles 25 | { 26 | public: 27 | enum ErrorCode { NoError = 0, ReadError = 1, WriteError = 2 }; 28 | static ErrorCode fix(const QString & in_file, const QString & out_file = QString()); 29 | }; 30 | 31 | #endif 32 | 33 | -------------------------------------------------------------------------------- /src/findsubtitles/main.cpp: -------------------------------------------------------------------------------- 1 | /* smplayer, GUI front-end for mplayer. 2 | Copyright (C) 2006-2024 Ricardo Villalba 3 | 4 | This program is free software; you can redistribute it and/or modify 5 | it under the terms of the GNU General Public License as published by 6 | the Free Software Foundation; either version 2 of the License, or 7 | (at your option) any later version. 8 | 9 | This program is distributed in the hope that it will be useful, 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 | GNU General Public License for more details. 13 | 14 | You should have received a copy of the GNU General Public License 15 | along with this program; if not, write to the Free Software 16 | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 17 | */ 18 | 19 | #include 20 | #include 21 | #include "findsubtitleswindow.h" 22 | 23 | int main( int argc, char ** argv ) 24 | { 25 | QApplication a( argc, argv ); 26 | a.connect( &a, SIGNAL( lastWindowClosed() ), &a, SLOT( quit() ) ); 27 | 28 | QSettings set(QSettings::IniFormat, QSettings::UserScope, "RVM", "findsubtitles"); 29 | 30 | FindSubtitlesWindow w; 31 | w.setSettings(&set); 32 | w.show(); 33 | 34 | return a.exec(); 35 | } 36 | 37 | -------------------------------------------------------------------------------- /src/findsubtitles/osparser.h: -------------------------------------------------------------------------------- 1 | /* smplayer, GUI front-end for mplayer. 2 | Copyright (C) 2006-2024 Ricardo Villalba 3 | 4 | This program is free software; you can redistribute it and/or modify 5 | it under the terms of the GNU General Public License as published by 6 | the Free Software Foundation; either version 2 of the License, or 7 | (at your option) any later version. 8 | 9 | This program is distributed in the hope that it will be useful, 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 | GNU General Public License for more details. 13 | 14 | You should have received a copy of the GNU General Public License 15 | along with this program; if not, write to the Free Software 16 | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 17 | */ 18 | 19 | #ifndef OSPARSER_H 20 | #define OSPARSER_H 21 | 22 | #include 23 | #include 24 | #include 25 | #include 26 | 27 | class OSSubtitle { 28 | public: 29 | QString movie, releasename, link, iso639, language, date; 30 | QString format, comments, detail, rating, files, user; 31 | }; 32 | 33 | class OSParser { 34 | 35 | public: 36 | OSParser(); 37 | ~OSParser(); 38 | 39 | bool parseXml(QByteArray text); 40 | 41 | QList subtitleList() { return s_list; }; 42 | 43 | protected: 44 | QDomDocument dom_document; 45 | QList s_list; 46 | }; 47 | 48 | #endif 49 | 50 | -------------------------------------------------------------------------------- /src/findsubtitles/qrestapi/qGirderAPI.h: -------------------------------------------------------------------------------- 1 | /*============================================================================== 2 | 3 | Library: qRestAPI 4 | 5 | Copyright (c) 2021 Kitware Inc. 6 | 7 | See Doc/copyright/copyright.txt 8 | or http://www.slicer.org/copyright/copyright.txt for details. 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | 16 | This file was originally developed by Jean-Christophe Fillion-Robin, Kitware Inc. 17 | 18 | ==============================================================================*/ 19 | 20 | #ifndef __qGirderAPI_h 21 | #define __qGirderAPI_h 22 | 23 | #include "qRestAPI.h" 24 | 25 | #include "qRestAPI_Export.h" 26 | 27 | class qRestAPI_EXPORT qGirderAPI : public qRestAPI 28 | { 29 | Q_OBJECT 30 | 31 | typedef qRestAPI Superclass; 32 | 33 | public: 34 | explicit qGirderAPI(QObject*parent = 0); 35 | virtual ~qGirderAPI(); 36 | 37 | static bool parseGirderAPIv1Response(const QByteArray& response, QList& result); 38 | 39 | static bool parseGirderAPIv1Response(qRestResult* restResult, const QByteArray& response); 40 | 41 | protected: 42 | void parseResponse(qRestResult* restResult, const QByteArray& response); 43 | 44 | private: 45 | Q_DISABLE_COPY(qGirderAPI); 46 | }; 47 | 48 | #endif 49 | -------------------------------------------------------------------------------- /src/findsubtitles/qrestapi/qRestAPI_Export.h: -------------------------------------------------------------------------------- 1 | 2 | 3 | // .NAME __qRestAPI_Export - manage Windows system differences 4 | // .SECTION Description 5 | // The __qRestAPI_Export captures some system differences between Unix 6 | // and Windows operating systems. 7 | 8 | #ifndef __qRestAPI_Export_h 9 | #define __qRestAPI_Export_h 10 | 11 | #include 12 | 13 | //#cmakedefine qRestAPI_STATIC 14 | #define qRestAPI_STATIC 15 | 16 | #if !defined(qRestAPI_STATIC) 17 | # if defined(Q_OS_WIN) || defined(Q_OS_SYMBIAN) 18 | # if defined(qRestAPI_EXPORTS) 19 | # define qRestAPI_EXPORT Q_DECL_EXPORT 20 | # else 21 | # define qRestAPI_EXPORT Q_DECL_IMPORT 22 | # endif 23 | # endif 24 | #else 25 | # define qRestAPI_EXPORT 26 | #endif 27 | 28 | #if !defined(qRestAPI_EXPORT) 29 | # if !defined(qRestAPI_STATIC) 30 | # define qRestAPI_EXPORT Q_DECL_EXPORT 31 | # else 32 | # define qRestAPI_EXPORT 33 | # endif 34 | #endif 35 | 36 | #endif 37 | 38 | -------------------------------------------------------------------------------- /src/fontcache.h: -------------------------------------------------------------------------------- 1 | /* smplayer, GUI front-end for mplayer. 2 | Copyright (C) 2006-2024 Ricardo Villalba 3 | 4 | This program is free software; you can redistribute it and/or modify 5 | it under the terms of the GNU General Public License as published by 6 | the Free Software Foundation; either version 2 of the License, or 7 | (at your option) any later version. 8 | 9 | This program is distributed in the hope that it will be useful, 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 | GNU General Public License for more details. 13 | 14 | You should have received a copy of the GNU General Public License 15 | along with this program; if not, write to the Free Software 16 | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 17 | */ 18 | 19 | #ifndef FONTCACHE_H 20 | #define FONTCACHE_H 21 | 22 | #include 23 | 24 | class QProcess; 25 | 26 | class FontCacheDialog : public QProgressDialog 27 | { 28 | Q_OBJECT 29 | 30 | public: 31 | FontCacheDialog(QWidget * parent = 0, Qt::WindowFlags f = QFlag(0)); 32 | ~FontCacheDialog(); 33 | 34 | void run(QString mplayer_bin, QString file); 35 | 36 | /* 37 | protected slots: 38 | void readOutput(); 39 | */ 40 | 41 | protected: 42 | QProcess * process; 43 | }; 44 | 45 | #endif 46 | -------------------------------------------------------------------------------- /src/globalshortcuts/globalshortcutsdialog.h: -------------------------------------------------------------------------------- 1 | /* smplayer, GUI front-end for mplayer. 2 | Copyright (C) 2006-2024 Ricardo Villalba 3 | 4 | This program is free software; you can redistribute it and/or modify 5 | it under the terms of the GNU General Public License as published by 6 | the Free Software Foundation; either version 2 of the License, or 7 | (at your option) any later version. 8 | 9 | This program is distributed in the hope that it will be useful, 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 | GNU General Public License for more details. 13 | 14 | You should have received a copy of the GNU General Public License 15 | along with this program; if not, write to the Free Software 16 | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 17 | */ 18 | 19 | #ifndef GLOBALSHORTCUTSDIALOG_H 20 | #define GLOBALSHORTCUTSDIALOG_H 21 | 22 | #include "ui_globalshortcutsdialog.h" 23 | #include 24 | 25 | class GlobalShortcutsDialog : public QDialog, public Ui::GlobalShortcutsDialog 26 | { 27 | Q_OBJECT 28 | 29 | public: 30 | GlobalShortcutsDialog(QWidget* parent = 0, Qt::WindowFlags f = QFlag(0)); 31 | ~GlobalShortcutsDialog(); 32 | 33 | void setGrabbedKeys(int); 34 | int grabbedKeys(); 35 | }; 36 | 37 | #endif 38 | -------------------------------------------------------------------------------- /src/glsl.qrc: -------------------------------------------------------------------------------- 1 | 2 | 3 | glsl/hdrcolorconversion-330.glsl 4 | 5 | 6 | -------------------------------------------------------------------------------- /src/infoprovider.h: -------------------------------------------------------------------------------- 1 | /* smplayer, GUI front-end for mplayer. 2 | Copyright (C) 2006-2024 Ricardo Villalba 3 | 4 | This program is free software; you can redistribute it and/or modify 5 | it under the terms of the GNU General Public License as published by 6 | the Free Software Foundation; either version 2 of the License, or 7 | (at your option) any later version. 8 | 9 | This program is distributed in the hope that it will be useful, 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 | GNU General Public License for more details. 13 | 14 | You should have received a copy of the GNU General Public License 15 | along with this program; if not, write to the Free Software 16 | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 17 | */ 18 | 19 | //! Reads info about a file (resolution, length...) 20 | 21 | #ifndef INFOPROVIDER_H 22 | #define INFOPROVIDER_H 23 | 24 | #include 25 | #include "mediadata.h" 26 | 27 | class InfoProvider 28 | { 29 | 30 | public: 31 | //! Gets info about the specified filename. 32 | static MediaData getInfo(QString mplayer_bin, QString filename); 33 | 34 | //! Gets info about the specified filename. The mplayer executable will be 35 | // obtained from the global preferences. 36 | static MediaData getInfo(QString filename); 37 | }; 38 | 39 | #endif 40 | 41 | -------------------------------------------------------------------------------- /src/infowindow.cpp: -------------------------------------------------------------------------------- 1 | /* smplayer, GUI front-end for mplayer. 2 | Copyright (C) 2006-2024 Ricardo Villalba 3 | 4 | This program is free software; you can redistribute it and/or modify 5 | it under the terms of the GNU General Public License as published by 6 | the Free Software Foundation; either version 2 of the License, or 7 | (at your option) any later version. 8 | 9 | This program is distributed in the hope that it will be useful, 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 | GNU General Public License for more details. 13 | 14 | You should have received a copy of the GNU General Public License 15 | along with this program; if not, write to the Free Software 16 | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 17 | */ 18 | 19 | #include "infowindow.h" 20 | 21 | #if QT_VERSION >= 0x050000 22 | #include "myscroller.h" 23 | #endif 24 | 25 | InfoWindow::InfoWindow( QWidget* parent ) 26 | : QWidget(parent, Qt::Window ) 27 | { 28 | setupUi(this); 29 | browser->setOpenExternalLinks(true); 30 | 31 | #if QT_VERSION >= 0x050000 32 | MyScroller::setScroller(browser); 33 | #endif 34 | } 35 | 36 | InfoWindow::~InfoWindow() { 37 | } 38 | 39 | void InfoWindow::setHtml(QString text) { 40 | browser->setHtml(text); 41 | } 42 | 43 | QString InfoWindow::html() { 44 | return browser->toHtml(); 45 | } 46 | 47 | void InfoWindow::clear() { 48 | browser->clear(); 49 | } 50 | 51 | #include "moc_infowindow.cpp" 52 | -------------------------------------------------------------------------------- /src/infowindow.h: -------------------------------------------------------------------------------- 1 | /* smplayer, GUI front-end for mplayer. 2 | Copyright (C) 2006-2024 Ricardo Villalba 3 | 4 | This program is free software; you can redistribute it and/or modify 5 | it under the terms of the GNU General Public License as published by 6 | the Free Software Foundation; either version 2 of the License, or 7 | (at your option) any later version. 8 | 9 | This program is distributed in the hope that it will be useful, 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 | GNU General Public License for more details. 13 | 14 | You should have received a copy of the GNU General Public License 15 | along with this program; if not, write to the Free Software 16 | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 17 | */ 18 | 19 | #ifndef INFOWINDOW_H 20 | #define INFOWINDOW_H 21 | 22 | #include "ui_infowindow.h" 23 | 24 | class InfoWindow : public QWidget, public Ui::InfoWindow 25 | { 26 | Q_OBJECT 27 | 28 | public: 29 | InfoWindow(QWidget* parent = 0); 30 | ~InfoWindow(); 31 | 32 | void setHtml(QString text); 33 | QString html(); 34 | 35 | void clear(); 36 | }; 37 | 38 | #endif 39 | -------------------------------------------------------------------------------- /src/infowindow.ui: -------------------------------------------------------------------------------- 1 | 2 | 3 | InfoWindow 4 | 5 | 6 | 7 | 0 8 | 0 9 | 431 10 | 478 11 | 12 | 13 | 14 | Information 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | Qt::Horizontal 24 | 25 | 26 | 27 | 319 28 | 20 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | &Close 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | close_button 46 | clicked() 47 | InfoWindow 48 | close() 49 | 50 | 51 | 320 52 | 273 53 | 54 | 55 | 199 56 | 149 57 | 58 | 59 | 60 | 61 | 62 | -------------------------------------------------------------------------------- /src/input.conf: -------------------------------------------------------------------------------- 1 | ## prevent mplayer from messing up our shortcuts 2 | 3 | RIGHT invalid_command 4 | LEFT invalid_command 5 | DOWN invalid_command 6 | UP invalid_command 7 | PGUP invalid_command 8 | PGDWN invalid_command 9 | - invalid_command 10 | + invalid_command 11 | ESC invalid_command 12 | ENTER invalid_command 13 | SPACE pausing_keep invalid_command 14 | HOME invalid_command 15 | END invalid_command 16 | > invalid_command 17 | < invalid_command 18 | INS invalid_command 19 | DEL invalid_command 20 | [ invalid_command 21 | ] invalid_command 22 | { invalid_command 23 | } invalid_command 24 | BS invalid_command 25 | TAB invalid_command 26 | . invalid_command 27 | # invalid_command 28 | @ invalid_command 29 | ! invalid_command 30 | 9 invalid_command 31 | / invalid_command 32 | 0 invalid_command 33 | * invalid_command 34 | 1 invalid_command 35 | 2 invalid_command 36 | 3 invalid_command 37 | 4 invalid_command 38 | 5 invalid_command 39 | 6 invalid_command 40 | 7 invalid_command 41 | 8 invalid_command 42 | a invalid_command 43 | b invalid_command 44 | c invalid_command 45 | d invalid_command 46 | e invalid_command 47 | F invalid_command 48 | f invalid_command 49 | g invalid_command 50 | h invalid_command 51 | i invalid_command 52 | j invalid_command 53 | k invalid_command 54 | l invalid_command 55 | m invalid_command 56 | n invalid_command 57 | o invalid_command 58 | p invalid_command 59 | q invalid_command 60 | r invalid_command 61 | s invalid_command 62 | t invalid_command 63 | T invalid_command 64 | u invalid_command 65 | v invalid_command 66 | w invalid_command 67 | x invalid_command 68 | y invalid_command 69 | z invalid_command 70 | S invalid_command 71 | -------------------------------------------------------------------------------- /src/inputbookmark.cpp: -------------------------------------------------------------------------------- 1 | /* smplayer, GUI front-end for mplayer. 2 | Copyright (C) 2006-2024 Ricardo Villalba 3 | 4 | This program is free software; you can redistribute it and/or modify 5 | it under the terms of the GNU General Public License as published by 6 | the Free Software Foundation; either version 2 of the License, or 7 | (at your option) any later version. 8 | 9 | This program is distributed in the hope that it will be useful, 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 | GNU General Public License for more details. 13 | 14 | You should have received a copy of the GNU General Public License 15 | along with this program; if not, write to the Free Software 16 | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 17 | */ 18 | 19 | #include "inputbookmark.h" 20 | 21 | InputBookmark::InputBookmark( QWidget* parent, Qt::WindowFlags f ) 22 | : QDialog(parent, f) 23 | { 24 | setupUi(this); 25 | time_edit->setDisplayFormat("hh:mm:ss"); 26 | name_edit->setFocus(); 27 | } 28 | 29 | InputBookmark::~InputBookmark() { 30 | } 31 | 32 | void InputBookmark::setTime(int time) { 33 | QTime t(0,0); 34 | time_edit->setTime(t.addSecs(time)); 35 | } 36 | 37 | int InputBookmark::time() { 38 | QTime t(0,0); 39 | return t.secsTo(time_edit->time()); 40 | } 41 | 42 | void InputBookmark::setName(const QString & name) { 43 | name_edit->setText(name); 44 | } 45 | 46 | QString InputBookmark::name() { 47 | return name_edit->text(); 48 | } 49 | 50 | #include "moc_inputbookmark.cpp" 51 | -------------------------------------------------------------------------------- /src/inputbookmark.h: -------------------------------------------------------------------------------- 1 | /* smplayer, GUI front-end for mplayer. 2 | Copyright (C) 2006-2024 Ricardo Villalba 3 | 4 | This program is free software; you can redistribute it and/or modify 5 | it under the terms of the GNU General Public License as published by 6 | the Free Software Foundation; either version 2 of the License, or 7 | (at your option) any later version. 8 | 9 | This program is distributed in the hope that it will be useful, 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 | GNU General Public License for more details. 13 | 14 | You should have received a copy of the GNU General Public License 15 | along with this program; if not, write to the Free Software 16 | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 17 | */ 18 | 19 | #ifndef INPUTBOOKMARK_H 20 | #define INPUTBOOKMARK_H 21 | 22 | #include "ui_inputbookmark.h" 23 | #include 24 | 25 | class InputBookmark : public QDialog, public Ui::InputBookmark 26 | { 27 | Q_OBJECT 28 | 29 | public: 30 | InputBookmark( QWidget* parent = 0, Qt::WindowFlags f = QFlag(0) ); 31 | ~InputBookmark(); 32 | 33 | void setTime(int time); 34 | int time(); 35 | 36 | void setName(const QString & name); 37 | QString name(); 38 | }; 39 | 40 | #endif 41 | -------------------------------------------------------------------------------- /src/inputdvddirectory.h: -------------------------------------------------------------------------------- 1 | /* smplayer, GUI front-end for mplayer. 2 | Copyright (C) 2006-2024 Ricardo Villalba 3 | 4 | This program is free software; you can redistribute it and/or modify 5 | it under the terms of the GNU General Public License as published by 6 | the Free Software Foundation; either version 2 of the License, or 7 | (at your option) any later version. 8 | 9 | This program is distributed in the hope that it will be useful, 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 | GNU General Public License for more details. 13 | 14 | You should have received a copy of the GNU General Public License 15 | along with this program; if not, write to the Free Software 16 | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 17 | */ 18 | 19 | #ifndef INPUTDVDDIRECTORY_H 20 | #define INPUTDVDDIRECTORY_H 21 | 22 | #include "ui_inputdvddirectory.h" 23 | 24 | class InputDVDDirectory : public QDialog, public Ui::InputDVDDirectory 25 | { 26 | Q_OBJECT 27 | 28 | public: 29 | InputDVDDirectory( QWidget* parent = 0, Qt::WindowFlags f = QFlag(0) ); 30 | ~InputDVDDirectory(); 31 | 32 | void setFolder(QString folder); 33 | QString folder(); 34 | 35 | protected slots: 36 | void on_searchButton_clicked(); 37 | }; 38 | 39 | 40 | #endif 41 | -------------------------------------------------------------------------------- /src/inputmplayerversion.h: -------------------------------------------------------------------------------- 1 | /* smplayer, GUI front-end for mplayer. 2 | Copyright (C) 2006-2024 Ricardo Villalba 3 | 4 | This program is free software; you can redistribute it and/or modify 5 | it under the terms of the GNU General Public License as published by 6 | the Free Software Foundation; either version 2 of the License, or 7 | (at your option) any later version. 8 | 9 | This program is distributed in the hope that it will be useful, 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 | GNU General Public License for more details. 13 | 14 | You should have received a copy of the GNU General Public License 15 | along with this program; if not, write to the Free Software 16 | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 17 | */ 18 | 19 | #ifndef INPUTMPLAYERVERSION_H 20 | #define INPUTMPLAYERVERSION_H 21 | 22 | #include "ui_inputmplayerversion.h" 23 | 24 | class InputMplayerVersion : public QDialog, public Ui::InputMplayerVersion 25 | { 26 | Q_OBJECT 27 | 28 | public: 29 | InputMplayerVersion( QWidget* parent = 0, Qt::WindowFlags f = QFlag(0) ); 30 | ~InputMplayerVersion(); 31 | 32 | void setVersion(int current_version); 33 | int version(); 34 | 35 | void setVersionFromOutput(QString text); 36 | }; 37 | 38 | #endif 39 | -------------------------------------------------------------------------------- /src/inputurl.h: -------------------------------------------------------------------------------- 1 | /* smplayer, GUI front-end for mplayer. 2 | Copyright (C) 2006-2024 Ricardo Villalba 3 | 4 | This program is free software; you can redistribute it and/or modify 5 | it under the terms of the GNU General Public License as published by 6 | the Free Software Foundation; either version 2 of the License, or 7 | (at your option) any later version. 8 | 9 | This program is distributed in the hope that it will be useful, 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 | GNU General Public License for more details. 13 | 14 | You should have received a copy of the GNU General Public License 15 | along with this program; if not, write to the Free Software 16 | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 17 | */ 18 | 19 | #ifndef INPUTURL_H 20 | #define INPUTURL_H 21 | 22 | #include "ui_inputurl.h" 23 | #include 24 | 25 | class InputURL : public QDialog, public Ui::InputURL 26 | { 27 | Q_OBJECT 28 | 29 | public: 30 | InputURL( QWidget* parent = 0, Qt::WindowFlags f = QFlag(0) ); 31 | ~InputURL(); 32 | 33 | void setURL(QString url); 34 | QString url(); 35 | }; 36 | 37 | #endif 38 | -------------------------------------------------------------------------------- /src/languages.h: -------------------------------------------------------------------------------- 1 | /* smplayer, GUI front-end for mplayer. 2 | Copyright (C) 2006-2024 Ricardo Villalba 3 | 4 | This program is free software; you can redistribute it and/or modify 5 | it under the terms of the GNU General Public License as published by 6 | the Free Software Foundation; either version 2 of the License, or 7 | (at your option) any later version. 8 | 9 | This program is distributed in the hope that it will be useful, 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 | GNU General Public License for more details. 13 | 14 | You should have received a copy of the GNU General Public License 15 | along with this program; if not, write to the Free Software 16 | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 17 | */ 18 | 19 | #ifndef LANGUAGES_H 20 | #define LANGUAGES_H 21 | 22 | #include 23 | #include 24 | 25 | class Languages : public QObject 26 | { 27 | Q_OBJECT 28 | 29 | public: 30 | 31 | //! Returns the ISO_639-1 language list 32 | static QMap list(); 33 | 34 | //! List with the most used languages 35 | static QMap most_used_list(); 36 | 37 | //! Returns the list of translations available 38 | static QMap translations(); 39 | 40 | static QMap encodings(); 41 | 42 | static QMap enca(); 43 | 44 | static QMap os_languages(); 45 | }; 46 | 47 | #endif 48 | 49 | -------------------------------------------------------------------------------- /src/languages/main.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | #include 4 | 5 | int main( int argc, char ** argv ) 6 | { 7 | QFile file("list.txt"); 8 | if (!file.open(QIODevice::ReadOnly | QIODevice::Text)) 9 | return -1; 10 | 11 | QRegExp rx("^([a-zA-Z]+) ([a-zA-Z\\-]+)"); 12 | 13 | QString line; 14 | while (!file.atEnd()) { 15 | line = QString(file.readLine()).simplified(); 16 | if (!line.isEmpty()) { 17 | //qDebug("%s", line.toLatin1().constData()); 18 | if (rx.indexIn(line) > -1) { 19 | QString s1 = rx.cap(1); 20 | QString s2 = rx.cap(2); 21 | //qDebug("code: %s, language: %s", s1.toLatin1().constData(), s2.toLatin1().constData()); 22 | printf("\tl[\"%s\"] = tr(\"%s\");\n", s1.toLatin1().constData(), s2.toLatin1().constData()); 23 | } 24 | } 25 | } 26 | file.close(); 27 | 28 | return 0; 29 | } 30 | 31 | -------------------------------------------------------------------------------- /src/languages/process_list.pro: -------------------------------------------------------------------------------- 1 | SOURCES += main.cpp 2 | -------------------------------------------------------------------------------- /src/lineedit_with_icon.h: -------------------------------------------------------------------------------- 1 | /* smplayer, GUI front-end for mplayer. 2 | Copyright (C) 2006-2024 Ricardo Villalba 3 | 4 | This program is free software; you can redistribute it and/or modify 5 | it under the terms of the GNU General Public License as published by 6 | the Free Software Foundation; either version 2 of the License, or 7 | (at your option) any later version. 8 | 9 | This program is distributed in the hope that it will be useful, 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 | GNU General Public License for more details. 13 | 14 | You should have received a copy of the GNU General Public License 15 | along with this program; if not, write to the Free Software 16 | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 17 | */ 18 | 19 | #ifndef LINEEDIT_WITH_ICON_H 20 | #define LINEEDIT_WITH_ICON_H 21 | 22 | #include 23 | 24 | class QToolButton; 25 | 26 | class LineEditWithIcon : public QLineEdit 27 | { 28 | Q_OBJECT 29 | 30 | public: 31 | LineEditWithIcon(QWidget *parent = 0); 32 | 33 | void setIcon(const QPixmap & pixmap); 34 | 35 | protected: 36 | void resizeEvent(QResizeEvent *); 37 | virtual void changeEvent(QEvent *); 38 | virtual void setupButton(); 39 | 40 | protected: 41 | QToolButton *button; 42 | }; 43 | 44 | #endif 45 | 46 | -------------------------------------------------------------------------------- /src/mconnection.h: -------------------------------------------------------------------------------- 1 | /* smplayer, GUI front-end for mplayer. 2 | Copyright (C) 2006-2024 Ricardo Villalba 3 | 4 | This program is free software; you can redistribute it and/or modify 5 | it under the terms of the GNU General Public License as published by 6 | the Free Software Foundation; either version 2 of the License, or 7 | (at your option) any later version. 8 | 9 | This program is distributed in the hope that it will be useful, 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 | GNU General Public License for more details. 13 | 14 | You should have received a copy of the GNU General Public License 15 | along with this program; if not, write to the Free Software 16 | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 17 | */ 18 | 19 | #ifndef MCONNECTION_H 20 | #define MCONNECTION_H 21 | 22 | #include 23 | #include 24 | 25 | class ConnectionCV; 26 | 27 | class MConnection : public QObject 28 | { 29 | Q_OBJECT 30 | 31 | public: 32 | MConnection(ConnectionCV * w, const QString & name); 33 | void startConnection(); 34 | void stopConnection(); 35 | 36 | protected: 37 | QString buffer_name; 38 | }; 39 | 40 | #endif 41 | -------------------------------------------------------------------------------- /src/mpcgui/mpc_mono.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/mpcgui/mpc_mono.png -------------------------------------------------------------------------------- /src/mpcgui/mpc_stereo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/mpcgui/mpc_stereo.png -------------------------------------------------------------------------------- /src/mpcgui/mpc_toolbar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/mpcgui/mpc_toolbar.png -------------------------------------------------------------------------------- /src/multilineinputdialog.cpp: -------------------------------------------------------------------------------- 1 | /* smplayer, GUI front-end for mplayer. 2 | Copyright (C) 2006-2024 Ricardo Villalba 3 | 4 | This program is free software; you can redistribute it and/or modify 5 | it under the terms of the GNU General Public License as published by 6 | the Free Software Foundation; either version 2 of the License, or 7 | (at your option) any later version. 8 | 9 | This program is distributed in the hope that it will be useful, 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 | GNU General Public License for more details. 13 | 14 | You should have received a copy of the GNU General Public License 15 | along with this program; if not, write to the Free Software 16 | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 17 | */ 18 | 19 | #include "multilineinputdialog.h" 20 | 21 | MultilineInputDialog::MultilineInputDialog(QWidget* parent, Qt::WindowFlags f) : QDialog(parent,f) 22 | { 23 | setupUi(this); 24 | } 25 | 26 | MultilineInputDialog::~MultilineInputDialog() { 27 | } 28 | 29 | void MultilineInputDialog::setLines(const QStringList & lines) { 30 | Q_UNUSED(lines); 31 | } 32 | 33 | QStringList MultilineInputDialog::lines() { 34 | return editor->toPlainText().split("\n"); 35 | } 36 | 37 | #include "moc_multilineinputdialog.cpp" 38 | 39 | -------------------------------------------------------------------------------- /src/multilineinputdialog.h: -------------------------------------------------------------------------------- 1 | /* smplayer, GUI front-end for mplayer. 2 | Copyright (C) 2006-2024 Ricardo Villalba 3 | 4 | This program is free software; you can redistribute it and/or modify 5 | it under the terms of the GNU General Public License as published by 6 | the Free Software Foundation; either version 2 of the License, or 7 | (at your option) any later version. 8 | 9 | This program is distributed in the hope that it will be useful, 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 | GNU General Public License for more details. 13 | 14 | You should have received a copy of the GNU General Public License 15 | along with this program; if not, write to the Free Software 16 | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 17 | */ 18 | 19 | #ifndef MULTILINEINPUTDIALOG_H 20 | #define MULTILINEINPUTDIALOG_H 21 | 22 | #include "ui_multilineinputdialog.h" 23 | #include 24 | 25 | class MultilineInputDialog : public QDialog, public Ui::MultilineInputDialog 26 | { 27 | Q_OBJECT 28 | 29 | public: 30 | MultilineInputDialog(QWidget* parent = 0, Qt::WindowFlags f = QFlag(0)); 31 | ~MultilineInputDialog(); 32 | 33 | void setLines(const QStringList & lines); 34 | QStringList lines(); 35 | }; 36 | 37 | #endif 38 | -------------------------------------------------------------------------------- /src/mylineedit.cpp: -------------------------------------------------------------------------------- 1 | /* smplayer, GUI front-end for mplayer. 2 | Copyright (C) 2006-2024 Ricardo Villalba 3 | 4 | This program is free software; you can redistribute it and/or modify 5 | it under the terms of the GNU General Public License as published by 6 | the Free Software Foundation; either version 2 of the License, or 7 | (at your option) any later version. 8 | 9 | This program is distributed in the hope that it will be useful, 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 | GNU General Public License for more details. 13 | 14 | You should have received a copy of the GNU General Public License 15 | along with this program; if not, write to the Free Software 16 | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 17 | */ 18 | 19 | #include "mylineedit.h" 20 | #include 21 | #include 22 | #include "images.h" 23 | 24 | MyLineEdit::MyLineEdit(QWidget *parent) 25 | : LineEditWithIcon(parent) 26 | { 27 | setupButton(); 28 | button->hide(); 29 | connect(button, SIGNAL(clicked()), this, SLOT(clear())); 30 | connect(this, SIGNAL(textChanged(const QString&)), this, SLOT(updateCloseButton(const QString&))); 31 | } 32 | 33 | void MyLineEdit::setupButton() { 34 | setIcon( Images::icon("clear_left") ); 35 | } 36 | 37 | void MyLineEdit::updateCloseButton(const QString& text) { 38 | button->setVisible(!text.isEmpty()); 39 | } 40 | 41 | #include "moc_mylineedit.cpp" 42 | -------------------------------------------------------------------------------- /src/mylineedit.h: -------------------------------------------------------------------------------- 1 | /* smplayer, GUI front-end for mplayer. 2 | Copyright (C) 2006-2024 Ricardo Villalba 3 | 4 | This program is free software; you can redistribute it and/or modify 5 | it under the terms of the GNU General Public License as published by 6 | the Free Software Foundation; either version 2 of the License, or 7 | (at your option) any later version. 8 | 9 | This program is distributed in the hope that it will be useful, 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 | GNU General Public License for more details. 13 | 14 | You should have received a copy of the GNU General Public License 15 | along with this program; if not, write to the Free Software 16 | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 17 | */ 18 | 19 | #ifndef MYLINEEDIT_H 20 | #define MYLINEEDIT_H 21 | 22 | #include "lineedit_with_icon.h" 23 | 24 | class QToolButton; 25 | 26 | class MyLineEdit : public LineEditWithIcon 27 | { 28 | Q_OBJECT 29 | 30 | public: 31 | MyLineEdit(QWidget *parent = 0); 32 | 33 | protected: 34 | virtual void setupButton(); 35 | 36 | private slots: 37 | void updateCloseButton(const QString &text); 38 | }; 39 | 40 | #endif // MYLINEEDIT_H 41 | 42 | -------------------------------------------------------------------------------- /src/myscroller.h: -------------------------------------------------------------------------------- 1 | /* smplayer, GUI front-end for mplayer. 2 | Copyright (C) 2006-2024 Ricardo Villalba 3 | 4 | This program is free software; you can redistribute it and/or modify 5 | it under the terms of the GNU General Public License as published by 6 | the Free Software Foundation; either version 2 of the License, or 7 | (at your option) any later version. 8 | 9 | This program is distributed in the hope that it will be useful, 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 | GNU General Public License for more details. 13 | 14 | You should have received a copy of the GNU General Public License 15 | along with this program; if not, write to the Free Software 16 | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 17 | */ 18 | 19 | #ifndef MYSCROLLER_H 20 | #define MYSCROLLER_H 21 | 22 | class QObject; 23 | 24 | class MyScroller { 25 | 26 | public: 27 | static void setScroller(QObject * w, bool touch = true); 28 | }; 29 | 30 | #endif 31 | -------------------------------------------------------------------------------- /src/playerid.h: -------------------------------------------------------------------------------- 1 | /* smplayer, GUI front-end for mplayer. 2 | Copyright (C) 2006-2024 Ricardo Villalba 3 | 4 | This program is free software; you can redistribute it and/or modify 5 | it under the terms of the GNU General Public License as published by 6 | the Free Software Foundation; either version 2 of the License, or 7 | (at your option) any later version. 8 | 9 | This program is distributed in the hope that it will be useful, 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 | GNU General Public License for more details. 13 | 14 | You should have received a copy of the GNU General Public License 15 | along with this program; if not, write to the Free Software 16 | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 17 | */ 18 | 19 | #ifndef PLAYERID_H 20 | #define PLAYERID_H 21 | 22 | #include 23 | 24 | #if defined(MPV_SUPPORT) && defined(MPLAYER_SUPPORT) 25 | #define PLAYER_NAME "MPlayer/mpv" 26 | #else 27 | #ifdef MPV_SUPPORT 28 | #define PLAYER_NAME "mpv" 29 | #endif 30 | #ifdef MPLAYER_SUPPORT 31 | #define PLAYER_NAME "MPlayer" 32 | #endif 33 | #endif 34 | 35 | class PlayerID 36 | { 37 | public: 38 | enum Player { MPLAYER = 0, MPV = 1 }; 39 | static Player player(const QString & player_bin); 40 | static QString playerName(const QString & player_bin); 41 | }; 42 | 43 | #endif 44 | -------------------------------------------------------------------------------- /src/playlistdock.h: -------------------------------------------------------------------------------- 1 | /* smplayer, GUI front-end for mplayer. 2 | Copyright (C) 2006-2024 Ricardo Villalba 3 | 4 | This program is free software; you can redistribute it and/or modify 5 | it under the terms of the GNU General Public License as published by 6 | the Free Software Foundation; either version 2 of the License, or 7 | (at your option) any later version. 8 | 9 | This program is distributed in the hope that it will be useful, 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 | GNU General Public License for more details. 13 | 14 | You should have received a copy of the GNU General Public License 15 | along with this program; if not, write to the Free Software 16 | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 17 | */ 18 | 19 | #ifndef PLAYLIST_DOCK_H 20 | #define PLAYLIST_DOCK_H 21 | 22 | #include 23 | #include 24 | #include "guiconfig.h" 25 | 26 | class PlaylistDock : public QDockWidget 27 | { 28 | Q_OBJECT 29 | 30 | public: 31 | PlaylistDock ( QWidget * parent = 0, Qt::WindowFlags flags = QFlag(0) ); 32 | ~PlaylistDock(); 33 | 34 | signals: 35 | void closed(); 36 | /* 37 | #if QT_VERSION < 0x040300 38 | void visibilityChanged(bool visible); 39 | #endif 40 | */ 41 | 42 | protected: 43 | virtual void closeEvent( QCloseEvent * e ); 44 | /* 45 | #if QT_VERSION < 0x040300 46 | virtual void showEvent ( QShowEvent * event ); 47 | virtual void hideEvent ( QHideEvent * event ); 48 | #endif 49 | */ 50 | }; 51 | 52 | #endif 53 | -------------------------------------------------------------------------------- /src/powersaving.h: -------------------------------------------------------------------------------- 1 | /* smplayer, GUI front-end for mplayer. 2 | Copyright (C) 2006-2024 Ricardo Villalba 3 | 4 | This program is free software; you can redistribute it and/or modify 5 | it under the terms of the GNU General Public License as published by 6 | the Free Software Foundation; either version 2 of the License, or 7 | (at your option) any later version. 8 | 9 | This program is distributed in the hope that it will be useful, 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 | GNU General Public License for more details. 13 | 14 | You should have received a copy of the GNU General Public License 15 | along with this program; if not, write to the Free Software 16 | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 17 | */ 18 | 19 | #ifndef POWER_SAVING_H 20 | #define POWER_SAVING_H 21 | 22 | #include 23 | #include 24 | 25 | #define SWAYIDLE_SUPPORT 26 | 27 | class QDBusInterface; 28 | 29 | class PowerSaving : public QObject 30 | { 31 | Q_OBJECT 32 | 33 | public: 34 | PowerSaving(QObject * parent = 0); 35 | ~PowerSaving(); 36 | 37 | public slots: 38 | void inhibit(); 39 | void uninhibit(); 40 | 41 | protected: 42 | bool is_inhibited; 43 | QDBusInterface * interface; 44 | QList cookies; 45 | #ifdef SWAYIDLE_SUPPORT 46 | QStringList swayidle_args; 47 | #endif 48 | }; 49 | 50 | #endif 51 | -------------------------------------------------------------------------------- /src/powersaving_mac.h: -------------------------------------------------------------------------------- 1 | /* smplayer, GUI front-end for mplayer. 2 | Copyright (C) 2006-2024 Ricardo Villalba 3 | 4 | This program is free software; you can redistribute it and/or modify 5 | it under the terms of the GNU General Public License as published by 6 | the Free Software Foundation; either version 2 of the License, or 7 | (at your option) any later version. 8 | 9 | This program is distributed in the hope that it will be useful, 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 | GNU General Public License for more details. 13 | 14 | You should have received a copy of the GNU General Public License 15 | along with this program; if not, write to the Free Software 16 | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 17 | */ 18 | 19 | #ifndef POWER_SAVING_MAC_H 20 | #define POWER_SAVING_MAC_H 21 | 22 | #include 23 | #include 24 | #include 25 | 26 | class PowerSaving : public QObject 27 | { 28 | Q_OBJECT 29 | 30 | public: 31 | PowerSaving(QObject * parent = 0); 32 | ~PowerSaving(); 33 | 34 | public slots: 35 | void inhibit(); 36 | void uninhibit(); 37 | 38 | protected: 39 | QList assertions; 40 | }; 41 | 42 | #endif 43 | -------------------------------------------------------------------------------- /src/prefupdates.h: -------------------------------------------------------------------------------- 1 | /* smplayer, GUI front-end for mplayer. 2 | Copyright (C) 2006-2024 Ricardo Villalba 3 | 4 | This program is free software; you can redistribute it and/or modify 5 | it under the terms of the GNU General Public License as published by 6 | the Free Software Foundation; either version 2 of the License, or 7 | (at your option) any later version. 8 | 9 | This program is distributed in the hope that it will be useful, 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 | GNU General Public License for more details. 13 | 14 | You should have received a copy of the GNU General Public License 15 | along with this program; if not, write to the Free Software 16 | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 17 | */ 18 | 19 | #ifndef PREFUPDATES_H 20 | #define PREFUPDATES_H 21 | 22 | #include "ui_prefupdates.h" 23 | #include "prefwidget.h" 24 | 25 | class Preferences; 26 | 27 | class PrefUpdates : public PrefWidget, public Ui::PrefUpdates 28 | { 29 | Q_OBJECT 30 | 31 | public: 32 | PrefUpdates( QWidget * parent = 0, Qt::WindowFlags f = QFlag(0) ); 33 | ~PrefUpdates(); 34 | 35 | virtual QString sectionName(); 36 | virtual QPixmap sectionIcon(); 37 | 38 | // Pass data to the dialog 39 | void setData(Preferences * pref); 40 | 41 | // Apply changes 42 | void getData(Preferences * pref); 43 | 44 | protected: 45 | virtual void createHelp(); 46 | 47 | 48 | protected: 49 | virtual void retranslateStrings(); 50 | }; 51 | 52 | #endif 53 | -------------------------------------------------------------------------------- /src/qrcode/openwithdevicedialog.cpp: -------------------------------------------------------------------------------- 1 | /* smplayer, GUI front-end for mplayer. 2 | Copyright (C) 2006-2024 Ricardo Villalba 3 | 4 | This program is free software; you can redistribute it and/or modify 5 | it under the terms of the GNU General Public License as published by 6 | the Free Software Foundation; either version 2 of the License, or 7 | (at your option) any later version. 8 | 9 | This program is distributed in the hope that it will be useful, 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 | GNU General Public License for more details. 13 | 14 | You should have received a copy of the GNU General Public License 15 | along with this program; if not, write to the Free Software 16 | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 17 | */ 18 | 19 | #include "openwithdevicedialog.h" 20 | 21 | OpenWithDeviceDialog::OpenWithDeviceDialog( QWidget * parent, Qt::WindowFlags f) 22 | : QDialog(parent, f) 23 | { 24 | setupUi(this); 25 | qrcodelabel->setStyleSheet("background-color:white;"); 26 | } 27 | 28 | OpenWithDeviceDialog::~OpenWithDeviceDialog() { 29 | } 30 | 31 | void OpenWithDeviceDialog::setQRCodeText(const QString & text) { 32 | qrcodelabel->setText(text); 33 | url_edit->setText(text); 34 | } 35 | 36 | QString OpenWithDeviceDialog::QRCodeText() { 37 | return qrcodelabel->text(); 38 | } 39 | 40 | #include "moc_openwithdevicedialog.cpp" 41 | 42 | 43 | -------------------------------------------------------------------------------- /src/qrcode/openwithdevicedialog.h: -------------------------------------------------------------------------------- 1 | /* smplayer, GUI front-end for mplayer. 2 | Copyright (C) 2006-2024 Ricardo Villalba 3 | 4 | This program is free software; you can redistribute it and/or modify 5 | it under the terms of the GNU General Public License as published by 6 | the Free Software Foundation; either version 2 of the License, or 7 | (at your option) any later version. 8 | 9 | This program is distributed in the hope that it will be useful, 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 | GNU General Public License for more details. 13 | 14 | You should have received a copy of the GNU General Public License 15 | along with this program; if not, write to the Free Software 16 | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 17 | */ 18 | 19 | #ifndef OPENWITHDEVICEDIALOG_H 20 | #define OPENWITHDEVICEDIALOG_H 21 | 22 | #include "ui_openwithdevicedialog.h" 23 | 24 | #include 25 | 26 | class OpenWithDeviceDialog : public QDialog, public Ui::OpenWithDeviceDialog 27 | { 28 | Q_OBJECT 29 | 30 | public: 31 | OpenWithDeviceDialog( QWidget * parent = 0, Qt::WindowFlags f = QFlag(0) ); 32 | ~OpenWithDeviceDialog(); 33 | 34 | void setQRCodeText(const QString & text); 35 | QString QRCodeText(); 36 | }; 37 | 38 | #endif 39 | 40 | -------------------------------------------------------------------------------- /src/qrcode/qrcodelabel.h: -------------------------------------------------------------------------------- 1 | /* smplayer, GUI front-end for mplayer. 2 | Copyright (C) 2006-2024 Ricardo Villalba 3 | 4 | This program is free software; you can redistribute it and/or modify 5 | it under the terms of the GNU General Public License as published by 6 | the Free Software Foundation; either version 2 of the License, or 7 | (at your option) any later version. 8 | 9 | This program is distributed in the hope that it will be useful, 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 | GNU General Public License for more details. 13 | 14 | You should have received a copy of the GNU General Public License 15 | along with this program; if not, write to the Free Software 16 | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 17 | */ 18 | 19 | #ifndef QRCODELABEL_H 20 | #define QRCODELABEL_H 21 | 22 | #include 23 | 24 | class QPainter; 25 | 26 | class QRCodeLabel : public QFrame 27 | { 28 | Q_OBJECT 29 | 30 | public: 31 | QRCodeLabel(QWidget * parent = 0, Qt::WindowFlags f = QFlag(0)); 32 | ~QRCodeLabel(); 33 | 34 | QString text() { return qrcode_text; }; 35 | 36 | public slots: 37 | void setText(const QString & text); 38 | 39 | protected: 40 | void paintEvent(QPaintEvent * event); 41 | QString qrcode_text; 42 | }; 43 | 44 | #endif 45 | -------------------------------------------------------------------------------- /src/qtcompat.h: -------------------------------------------------------------------------------- 1 | /* smplayer, GUI front-end for mplayer. 2 | Copyright (C) 2006-2024 Ricardo Villalba 3 | 4 | This program is free software; you can redistribute it and/or modify 5 | it under the terms of the GNU General Public License as published by 6 | the Free Software Foundation; either version 2 of the License, or 7 | (at your option) any later version. 8 | 9 | This program is distributed in the hope that it will be useful, 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 | GNU General Public License for more details. 13 | 14 | You should have received a copy of the GNU General Public License 15 | along with this program; if not, write to the Free Software 16 | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 17 | */ 18 | 19 | #ifndef QTCOMPAT_H 20 | #define QTCOMPAT_H 21 | 22 | #include 23 | 24 | #if (QT_VERSION >= QT_VERSION_CHECK(5, 14, 0)) 25 | #define QTC_SkipEmptyParts Qt::SkipEmptyParts 26 | #define QTC_endl Qt::endl 27 | #else 28 | #define QTC_SkipEmptyParts QString::SkipEmptyParts 29 | #define QTC_endl endl 30 | #endif 31 | 32 | #if (QT_VERSION >= QT_VERSION_CHECK(5, 5, 0)) 33 | #define QTC_SPRINTF asprintf 34 | #else 35 | #define QTC_SPRINTF sprintf 36 | #endif 37 | 38 | #endif 39 | -------------------------------------------------------------------------------- /src/qtsingleapplication/QtLockedFile: -------------------------------------------------------------------------------- 1 | #include "qtlockedfile.h" 2 | -------------------------------------------------------------------------------- /src/qtsingleapplication/QtSingleApplication: -------------------------------------------------------------------------------- 1 | #include "qtsingleapplication.h" 2 | -------------------------------------------------------------------------------- /src/qtsingleapplication/qtsingleapplication.pri: -------------------------------------------------------------------------------- 1 | include(../common.pri) 2 | INCLUDEPATH += $$PWD 3 | DEPENDPATH += $$PWD 4 | QT *= network 5 | greaterThan(QT_MAJOR_VERSION, 4): QT *= widgets 6 | 7 | qtsingleapplication-uselib:!qtsingleapplication-buildlib { 8 | LIBS += -L$$QTSINGLEAPPLICATION_LIBDIR -l$$QTSINGLEAPPLICATION_LIBNAME 9 | } else { 10 | SOURCES += $$PWD/qtsingleapplication.cpp $$PWD/qtlocalpeer.cpp 11 | HEADERS += $$PWD/qtsingleapplication.h $$PWD/qtlocalpeer.h 12 | } 13 | 14 | win32 { 15 | contains(TEMPLATE, lib):contains(CONFIG, shared):DEFINES += QT_QTSINGLEAPPLICATION_EXPORT 16 | else:qtsingleapplication-uselib:DEFINES += QT_QTSINGLEAPPLICATION_IMPORT 17 | } 18 | -------------------------------------------------------------------------------- /src/qtsingleapplication/qtsinglecoreapplication.pri: -------------------------------------------------------------------------------- 1 | INCLUDEPATH += $$PWD 2 | DEPENDPATH += $$PWD 3 | HEADERS += $$PWD/qtsinglecoreapplication.h $$PWD/qtlocalpeer.h 4 | SOURCES += $$PWD/qtsinglecoreapplication.cpp $$PWD/qtlocalpeer.cpp 5 | 6 | QT *= network 7 | 8 | win32:contains(TEMPLATE, lib):contains(CONFIG, shared) { 9 | DEFINES += QT_QTSINGLECOREAPPLICATION_EXPORT=__declspec(dllexport) 10 | } 11 | -------------------------------------------------------------------------------- /src/recents.h: -------------------------------------------------------------------------------- 1 | /* smplayer, GUI front-end for mplayer. 2 | Copyright (C) 2006-2024 Ricardo Villalba 3 | 4 | This program is free software; you can redistribute it and/or modify 5 | it under the terms of the GNU General Public License as published by 6 | the Free Software Foundation; either version 2 of the License, or 7 | (at your option) any later version. 8 | 9 | This program is distributed in the hope that it will be useful, 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 | GNU General Public License for more details. 13 | 14 | You should have received a copy of the GNU General Public License 15 | along with this program; if not, write to the Free Software 16 | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 17 | */ 18 | 19 | #ifndef RECENTS_H 20 | #define RECENTS_H 21 | 22 | #include 23 | 24 | class Recents 25 | { 26 | 27 | public: 28 | Recents(); 29 | virtual ~Recents(); 30 | 31 | virtual void clear(); 32 | 33 | virtual void addItem(QString s); 34 | virtual void addItem(QString s, QString title); 35 | 36 | virtual QString item(int n); 37 | virtual QString title(int n); 38 | 39 | virtual int count(); 40 | 41 | virtual void setMaxItems(int n_items); 42 | virtual int maxItems() { return max_items; }; 43 | 44 | virtual void fromStringList(QStringList list); 45 | virtual QStringList toStringList(); 46 | 47 | virtual void list(); 48 | 49 | protected: 50 | int max_items; 51 | QStringList l; 52 | }; 53 | 54 | #endif 55 | -------------------------------------------------------------------------------- /src/reminderdialog.h: -------------------------------------------------------------------------------- 1 | /* smplayer, GUI front-end for mplayer. 2 | Copyright (C) 2006-2024 Ricardo Villalba 3 | 4 | This program is free software; you can redistribute it and/or modify 5 | it under the terms of the GNU General Public License as published by 6 | the Free Software Foundation; either version 2 of the License, or 7 | (at your option) any later version. 8 | 9 | This program is distributed in the hope that it will be useful, 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 | GNU General Public License for more details. 13 | 14 | You should have received a copy of the GNU General Public License 15 | along with this program; if not, write to the Free Software 16 | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 17 | */ 18 | 19 | #ifndef REMINDERDIALOG_H 20 | #define REMINDERDIALOG_H 21 | 22 | #include "ui_reminderdialog.h" 23 | 24 | class QPushButton; 25 | 26 | class ReminderDialog : public QDialog, public Ui::ReminderDialog 27 | { 28 | Q_OBJECT 29 | 30 | public: 31 | enum Button { Donate = 1, Share = 2, Close = 0 }; 32 | ReminderDialog( QWidget* parent = 0, Qt::WindowFlags f = QFlag(0) ); 33 | ~ReminderDialog(); 34 | 35 | bool isRemindChecked(); 36 | 37 | protected slots: 38 | void button_clicked(QAbstractButton *); 39 | 40 | private: 41 | QPushButton * donate_button; 42 | QPushButton * facebook_button; 43 | QPushButton * close_button; 44 | }; 45 | 46 | #endif 47 | -------------------------------------------------------------------------------- /src/screensaver.h: -------------------------------------------------------------------------------- 1 | /* smplayer, GUI front-end for mplayer. 2 | Copyright (C) 2006-2024 Ricardo Villalba 3 | 4 | This program is free software; you can redistribute it and/or modify 5 | it under the terms of the GNU General Public License as published by 6 | the Free Software Foundation; either version 2 of the License, or 7 | (at your option) any later version. 8 | 9 | This program is distributed in the hope that it will be useful, 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 | GNU General Public License for more details. 13 | 14 | You should have received a copy of the GNU General Public License 15 | along with this program; if not, write to the Free Software 16 | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 17 | */ 18 | 19 | #ifndef SCREENSAVER_H 20 | #define SCREENSAVER_H 21 | 22 | #include 23 | 24 | class PowerSaving; 25 | class WinScreenSaver; 26 | 27 | class ScreenSaver : public QObject 28 | { 29 | Q_OBJECT 30 | 31 | public: 32 | ScreenSaver(QObject * parent = 0); 33 | ~ScreenSaver(); 34 | 35 | public slots: 36 | void enable(); 37 | void disable(); 38 | 39 | protected: 40 | #ifdef Q_OS_WIN 41 | WinScreenSaver * win_screensaver; 42 | #else 43 | PowerSaving * power_saving; 44 | #endif 45 | }; 46 | 47 | #endif 48 | -------------------------------------------------------------------------------- /src/seekwidget.h: -------------------------------------------------------------------------------- 1 | /* smplayer, GUI front-end for mplayer. 2 | Copyright (C) 2006-2024 Ricardo Villalba 3 | 4 | This program is free software; you can redistribute it and/or modify 5 | it under the terms of the GNU General Public License as published by 6 | the Free Software Foundation; either version 2 of the License, or 7 | (at your option) any later version. 8 | 9 | This program is distributed in the hope that it will be useful, 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 | GNU General Public License for more details. 13 | 14 | You should have received a copy of the GNU General Public License 15 | along with this program; if not, write to the Free Software 16 | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 17 | */ 18 | 19 | #ifndef SEEKWIDGET_H 20 | #define SEEKWIDGET_H 21 | 22 | #include "ui_seekwidget.h" 23 | #include 24 | #include 25 | 26 | class SeekWidget : public QWidget, public Ui::SeekWidget 27 | { 28 | Q_OBJECT 29 | Q_PROPERTY(QPixmap icon READ icon WRITE setIcon) 30 | Q_PROPERTY(QString label READ label WRITE setLabel) 31 | Q_PROPERTY(int time READ time WRITE setTime) 32 | 33 | public: 34 | SeekWidget( QWidget* parent = 0, Qt::WindowFlags f = QFlag(0) ); 35 | ~SeekWidget(); 36 | 37 | int time() const; 38 | QPixmap icon() const; 39 | QString label() const; 40 | 41 | public slots: 42 | void setIcon(QPixmap icon); 43 | void setLabel(QString text); 44 | void setTime(int secs); 45 | }; 46 | 47 | #endif 48 | -------------------------------------------------------------------------------- /src/selectcolorbutton.h: -------------------------------------------------------------------------------- 1 | /* smplayer, GUI front-end for mplayer. 2 | Copyright (C) 2006-2024 Ricardo Villalba 3 | 4 | This program is free software; you can redistribute it and/or modify 5 | it under the terms of the GNU General Public License as published by 6 | the Free Software Foundation; either version 2 of the License, or 7 | (at your option) any later version. 8 | 9 | This program is distributed in the hope that it will be useful, 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 | GNU General Public License for more details. 13 | 14 | You should have received a copy of the GNU General Public License 15 | along with this program; if not, write to the Free Software 16 | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 17 | */ 18 | 19 | #ifndef SELECTCOLORBUTTON_H 20 | #define SELECTCOLORBUTTON_H 21 | 22 | #include 23 | 24 | class SelectColorButton : public QPushButton 25 | { 26 | Q_OBJECT 27 | 28 | public: 29 | SelectColorButton ( QWidget * parent = 0 ); 30 | ~SelectColorButton(); 31 | 32 | QColor color() { return _color;} ; 33 | 34 | public slots: 35 | void setColor(QColor c); 36 | 37 | private slots: 38 | void selectColor(); 39 | 40 | private: 41 | QColor _color; 42 | 43 | bool ignore_change_event; 44 | 45 | protected: 46 | virtual void changeEvent ( QEvent * event ) ; 47 | }; 48 | 49 | #endif 50 | 51 | -------------------------------------------------------------------------------- /src/sharedata.h: -------------------------------------------------------------------------------- 1 | /* smplayer, GUI front-end for mplayer. 2 | Copyright (C) 2006-2024 Ricardo Villalba 3 | 4 | This program is free software; you can redistribute it and/or modify 5 | it under the terms of the GNU General Public License as published by 6 | the Free Software Foundation; either version 2 of the License, or 7 | (at your option) any later version. 8 | 9 | This program is distributed in the hope that it will be useful, 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 | GNU General Public License for more details. 13 | 14 | You should have received a copy of the GNU General Public License 15 | along with this program; if not, write to the Free Software 16 | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 17 | */ 18 | 19 | #ifndef SHAREDATA_H 20 | #define SHAREDATA_H 21 | 22 | #include 23 | 24 | class ShareData 25 | { 26 | public: 27 | enum Action { Donate = 1, Facebook = 2, Twitter = 4 }; 28 | 29 | static QUrl donateUrl(); 30 | static QUrl facebookUrl(); 31 | static QUrl twitterUrl(); 32 | }; 33 | 34 | #endif 35 | -------------------------------------------------------------------------------- /src/sharedialog.h: -------------------------------------------------------------------------------- 1 | /* smplayer, GUI front-end for mplayer. 2 | Copyright (C) 2006-2024 Ricardo Villalba 3 | 4 | This program is free software; you can redistribute it and/or modify 5 | it under the terms of the GNU General Public License as published by 6 | the Free Software Foundation; either version 2 of the License, or 7 | (at your option) any later version. 8 | 9 | This program is distributed in the hope that it will be useful, 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 | GNU General Public License for more details. 13 | 14 | You should have received a copy of the GNU General Public License 15 | along with this program; if not, write to the Free Software 16 | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 17 | */ 18 | 19 | #ifndef SHAREDIALOG_H 20 | #define SHAREDIALOG_H 21 | 22 | #include "ui_sharedialog.h" 23 | 24 | class ShareDialog : public QDialog, public Ui::ShareDialog 25 | { 26 | Q_OBJECT 27 | 28 | public: 29 | ShareDialog( QWidget* parent = 0, Qt::WindowFlags f = QFlag(0) ); 30 | ~ShareDialog(); 31 | 32 | bool isRemindChecked(); 33 | 34 | void setActions(int a) { actions_taken = a; } 35 | int actions() { return actions_taken; } 36 | 37 | void showRemindCheck(bool b); 38 | 39 | private slots: 40 | void on_donate_button_clicked(); 41 | void on_facebook_button_clicked(); 42 | void on_twitter_button_clicked(); 43 | 44 | private: 45 | int actions_taken; 46 | QString share_url; 47 | }; 48 | 49 | #endif 50 | -------------------------------------------------------------------------------- /src/shutdown.h: -------------------------------------------------------------------------------- 1 | /* smplayer, GUI front-end for mplayer. 2 | Copyright (C) 2006-2024 Ricardo Villalba 3 | 4 | This program is free software; you can redistribute it and/or modify 5 | it under the terms of the GNU General Public License as published by 6 | the Free Software Foundation; either version 2 of the License, or 7 | (at your option) any later version. 8 | 9 | This program is distributed in the hope that it will be useful, 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 | GNU General Public License for more details. 13 | 14 | You should have received a copy of the GNU General Public License 15 | along with this program; if not, write to the Free Software 16 | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 17 | */ 18 | 19 | #ifndef SHUTDOWN_H 20 | #define SHUTDOWN_H 21 | 22 | class Shutdown 23 | { 24 | 25 | public: 26 | static void shutdown(); 27 | }; 28 | 29 | #endif 30 | 31 | -------------------------------------------------------------------------------- /src/shutdowndialog.h: -------------------------------------------------------------------------------- 1 | /* smplayer, GUI front-end for mplayer. 2 | Copyright (C) 2006-2024 Ricardo Villalba 3 | 4 | This program is free software; you can redistribute it and/or modify 5 | it under the terms of the GNU General Public License as published by 6 | the Free Software Foundation; either version 2 of the License, or 7 | (at your option) any later version. 8 | 9 | This program is distributed in the hope that it will be useful, 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 | GNU General Public License for more details. 13 | 14 | You should have received a copy of the GNU General Public License 15 | along with this program; if not, write to the Free Software 16 | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 17 | */ 18 | 19 | #ifndef SHUTDOWNDIALOG_H 20 | #define SHUTDOWNDIALOG_H 21 | 22 | #include "ui_shutdowndialog.h" 23 | 24 | class QTimer; 25 | 26 | class ShutdownDialog : public QDialog, public Ui::ShutdownDialog 27 | { 28 | Q_OBJECT 29 | 30 | public: 31 | ShutdownDialog( QWidget* parent = 0, Qt::WindowFlags f = QFlag(0) ); 32 | ~ShutdownDialog(); 33 | 34 | private slots: 35 | void updateCountdown(); 36 | 37 | private: 38 | int countdown; 39 | QTimer * timer; 40 | QString text; 41 | }; 42 | 43 | #endif 44 | -------------------------------------------------------------------------------- /src/skingui/actiontools.cpp: -------------------------------------------------------------------------------- 1 | /* smplayer, GUI front-end for mplayer. 2 | Copyright (C) 2006-2024 Ricardo Villalba 3 | 4 | This program is free software; you can redistribute it and/or modify 5 | it under the terms of the GNU General Public License as published by 6 | the Free Software Foundation; either version 2 of the License, or 7 | (at your option) any later version. 8 | 9 | This program is distributed in the hope that it will be useful, 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 | GNU General Public License for more details. 13 | 14 | You should have received a copy of the GNU General Public License 15 | along with this program; if not, write to the Free Software 16 | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 17 | */ 18 | 19 | #include "actiontools.h" 20 | #include "myaction.h" 21 | 22 | void ActionTools::setActionToButton(MyButton * button, const QString & name, QList actions) { 23 | MyAction * a = static_cast( findAction(name, actions) ); 24 | if (a) button->setAction(a); 25 | } 26 | 27 | QAction * ActionTools::findAction(const QString & name, QList actions) { 28 | QAction * a = 0; 29 | for (int n=0; n < actions.count(); n++) { 30 | a = actions.at(n); 31 | /* qDebug("**** name: %s", a->objectName().toLatin1().constData()); */ 32 | if (a->objectName() == name) return a; 33 | } 34 | return 0; 35 | } 36 | -------------------------------------------------------------------------------- /src/skingui/actiontools.h: -------------------------------------------------------------------------------- 1 | /* smplayer, GUI front-end for mplayer. 2 | Copyright (C) 2006-2024 Ricardo Villalba 3 | 4 | This program is free software; you can redistribute it and/or modify 5 | it under the terms of the GNU General Public License as published by 6 | the Free Software Foundation; either version 2 of the License, or 7 | (at your option) any later version. 8 | 9 | This program is distributed in the hope that it will be useful, 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 | GNU General Public License for more details. 13 | 14 | You should have received a copy of the GNU General Public License 15 | along with this program; if not, write to the Free Software 16 | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 17 | */ 18 | 19 | #ifndef ACTIONTOOLS_H 20 | #define ACTIONTOOLS_H 21 | 22 | #include "mybutton.h" 23 | #include 24 | #include 25 | 26 | #define SETACTIONTOBUTTON(button, name) { ActionTools::setActionToButton(button, name, actions); } 27 | 28 | class ActionTools { 29 | 30 | public: 31 | 32 | static void setActionToButton(MyButton * button, const QString & name, QList actions); 33 | static QAction * findAction(const QString & name, QList actions); 34 | }; 35 | 36 | #endif 37 | 38 | -------------------------------------------------------------------------------- /src/skingui/mediabarpanel.ui: -------------------------------------------------------------------------------- 1 | 2 | 3 | MediaBarPanel 4 | 5 | 6 | 7 | 0 8 | 0 9 | 400 10 | 300 11 | 12 | 13 | 14 | Form 15 | 16 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /src/skingui/mediapanel.ui: -------------------------------------------------------------------------------- 1 | 2 | 3 | MediaPanelClass 4 | 5 | 6 | 7 | 0 8 | 0 9 | 400 10 | 300 11 | 12 | 13 | 14 | MediaPanel 15 | 16 | 17 | 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /src/smplayer.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/smplayer.icns -------------------------------------------------------------------------------- /src/smplayer.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/smplayer.ico -------------------------------------------------------------------------------- /src/smplayer.rc: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | #define SMPLAYER_FILEVERSION 24,5,0,0 4 | #define SMPLAYER_PRODVERSION "24.5.0.0" 5 | 6 | VS_VERSION_INFO VERSIONINFO 7 | FILEVERSION SMPLAYER_FILEVERSION 8 | PRODUCTVERSION SMPLAYER_FILEVERSION 9 | FILEOS VOS_NT_WINDOWS32 10 | FILETYPE VFT_APP 11 | { 12 | BLOCK "StringFileInfo" 13 | { 14 | BLOCK "000004b0" 15 | { 16 | VALUE "CompanyName", "Ricardo Villalba\0" 17 | #ifdef PORTABLE_APP 18 | VALUE "FileDescription", "SMPlayer (Portable Edition)\0" 19 | #else 20 | VALUE "FileDescription", "SMPlayer\0" 21 | #endif 22 | VALUE "FileVersion", SMPLAYER_PRODVERSION "\0" 23 | VALUE "InternalName", "smplayer\0" 24 | VALUE "LegalCopyright", "Copyright (c) Ricardo Villalba\0" 25 | VALUE "OriginalFilename", "smplayer.exe\0" 26 | #if defined(_WIN64) 27 | VALUE "ProductName", "SMPlayer for Windows (64-bit)\0" 28 | #elif defined(_WIN32) && !defined(_WIN64) 29 | VALUE "ProductName", "SMPlayer for Windows (32-bit)\0" 30 | #endif 31 | VALUE "ProductVersion", SMPLAYER_PRODVERSION "\0" 32 | } 33 | } 34 | BLOCK "VarFileInfo" 35 | { 36 | VALUE "Translation", 0, 0x04b0 37 | } 38 | } 39 | 40 | IDI_ICON1 ICON DISCARDABLE "smplayer.ico" 41 | IDI_ICON2 ICON DISCARDABLE "smplayer_associations.ico" 42 | -------------------------------------------------------------------------------- /src/smplayer_associations.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/smplayer_associations.ico -------------------------------------------------------------------------------- /src/smplayer_os2.rc: -------------------------------------------------------------------------------- 1 | ICON 1 DISCARDABLE "..\os2\smplayer.ico" 2 | -------------------------------------------------------------------------------- /src/statewidget.h: -------------------------------------------------------------------------------- 1 | /* smplayer, GUI front-end for mplayer. 2 | Copyright (C) 2006-2024 Ricardo Villalba 3 | 4 | This program is free software; you can redistribute it and/or modify 5 | it under the terms of the GNU General Public License as published by 6 | the Free Software Foundation; either version 2 of the License, or 7 | (at your option) any later version. 8 | 9 | This program is distributed in the hope that it will be useful, 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 | GNU General Public License for more details. 13 | 14 | You should have received a copy of the GNU General Public License 15 | along with this program; if not, write to the Free Software 16 | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 17 | */ 18 | 19 | #ifndef STATEWIDGET_H 20 | #define STATEWIDGET_H 21 | 22 | #include 23 | #include "core.h" 24 | 25 | class QMovie; 26 | 27 | class StateWidget : public QLabel 28 | { 29 | Q_OBJECT 30 | 31 | public: 32 | StateWidget(QWidget * parent = 0, Qt::WindowFlags f = QFlag(0)); 33 | ~StateWidget(); 34 | 35 | void setAnimation(const QString & filename); 36 | 37 | public slots: 38 | void watchState(Core::State); 39 | 40 | private: 41 | QMovie * movie; 42 | }; 43 | 44 | #endif 45 | 46 | 47 | -------------------------------------------------------------------------------- /src/stereo3ddialog.h: -------------------------------------------------------------------------------- 1 | /* smplayer, GUI front-end for mplayer. 2 | Copyright (C) 2006-2024 Ricardo Villalba 3 | 4 | This program is free software; you can redistribute it and/or modify 5 | it under the terms of the GNU General Public License as published by 6 | the Free Software Foundation; either version 2 of the License, or 7 | (at your option) any later version. 8 | 9 | This program is distributed in the hope that it will be useful, 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 | GNU General Public License for more details. 13 | 14 | You should have received a copy of the GNU General Public License 15 | along with this program; if not, write to the Free Software 16 | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 17 | */ 18 | 19 | #ifndef STEREO3DDIALOG_H 20 | #define STEREO3DDIALOG_H 21 | 22 | #include "ui_stereo3ddialog.h" 23 | #include 24 | 25 | class Stereo3dDialog : public QDialog, public Ui::Stereo3dDialog 26 | { 27 | Q_OBJECT 28 | 29 | public: 30 | Stereo3dDialog(QWidget* parent = 0, Qt::WindowFlags f = QFlag(0)); 31 | ~Stereo3dDialog(); 32 | 33 | void setInputFormat(const QString & in); 34 | void setOutputFormat(const QString & out); 35 | 36 | QString inputFormat(); 37 | QString outputFormat(); 38 | }; 39 | 40 | #endif 41 | -------------------------------------------------------------------------------- /src/timedialog.h: -------------------------------------------------------------------------------- 1 | /* smplayer, GUI front-end for mplayer. 2 | Copyright (C) 2006-2024 Ricardo Villalba 3 | 4 | This program is free software; you can redistribute it and/or modify 5 | it under the terms of the GNU General Public License as published by 6 | the Free Software Foundation; either version 2 of the License, or 7 | (at your option) any later version. 8 | 9 | This program is distributed in the hope that it will be useful, 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 | GNU General Public License for more details. 13 | 14 | You should have received a copy of the GNU General Public License 15 | along with this program; if not, write to the Free Software 16 | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 17 | */ 18 | 19 | #ifndef TIMEDIALOG_H 20 | #define TIMEDIALOG_H 21 | 22 | #include "ui_timedialog.h" 23 | 24 | class TimeDialog : public QDialog, public Ui::TimeDialog 25 | { 26 | Q_OBJECT 27 | 28 | public: 29 | TimeDialog( QWidget* parent = 0, Qt::WindowFlags f = QFlag(0) ); 30 | ~TimeDialog(); 31 | 32 | int time(); 33 | int maximumTime(); 34 | QString label(); 35 | 36 | public slots: 37 | void setTime(int seconds); 38 | void setMaximumTime( int seconds ); 39 | void setLabel(const QString & label); 40 | }; 41 | 42 | #endif 43 | -------------------------------------------------------------------------------- /src/translations/.tx/config: -------------------------------------------------------------------------------- 1 | [main] 2 | host = https://www.transifex.com 3 | 4 | [o:rvm:p:smplayer:r:english] 5 | file_filter = smplayer_.ts 6 | source_file = smplayer_en.ts 7 | source_lang = en 8 | type = QT 9 | minimum_perc = 50 10 | trans.he = smplayer_he_IL.ts 11 | trans.vi = smplayer_vi_VN.ts 12 | trans.ru = smplayer_ru_RU.ts 13 | trans.uk = smplayer_uk_UA.ts 14 | 15 | -------------------------------------------------------------------------------- /src/translator.h: -------------------------------------------------------------------------------- 1 | /* smplayer, GUI front-end for mplayer. 2 | Copyright (C) 2006-2024 Ricardo Villalba 3 | 4 | This program is free software; you can redistribute it and/or modify 5 | it under the terms of the GNU General Public License as published by 6 | the Free Software Foundation; either version 2 of the License, or 7 | (at your option) any later version. 8 | 9 | This program is distributed in the hope that it will be useful, 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 | GNU General Public License for more details. 13 | 14 | You should have received a copy of the GNU General Public License 15 | along with this program; if not, write to the Free Software 16 | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 17 | */ 18 | 19 | #ifndef TRANSLATOR_H 20 | #define TRANSLATOR_H 21 | 22 | #include 23 | #include 24 | 25 | class Translator 26 | { 27 | 28 | public: 29 | Translator(); 30 | ~Translator(); 31 | 32 | void load(QString locale); 33 | 34 | protected: 35 | static bool loadCatalog(QTranslator & t, QString name, QString locale, QString dir); 36 | 37 | QTranslator app_trans; 38 | QTranslator qt_trans; 39 | #if QT_VERSION >= 0x050000 40 | QTranslator qtbase_trans; 41 | #endif 42 | #ifdef USE_SMTUBE_LIB 43 | QTranslator smtube_trans; 44 | #endif 45 | }; 46 | 47 | #endif 48 | -------------------------------------------------------------------------------- /src/tristatecombo.h: -------------------------------------------------------------------------------- 1 | /* smplayer, GUI front-end for mplayer. 2 | Copyright (C) 2006-2024 Ricardo Villalba 3 | 4 | This program is free software; you can redistribute it and/or modify 5 | it under the terms of the GNU General Public License as published by 6 | the Free Software Foundation; either version 2 of the License, or 7 | (at your option) any later version. 8 | 9 | This program is distributed in the hope that it will be useful, 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 | GNU General Public License for more details. 13 | 14 | You should have received a copy of the GNU General Public License 15 | along with this program; if not, write to the Free Software 16 | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 17 | */ 18 | 19 | /*! 20 | This class is to replace some QCheckBox with a combo with three possible 21 | values: true, false or autodetect 22 | */ 23 | 24 | #ifndef TRISTATE_COMBO_H 25 | #define TRISTATE_COMBO_H 26 | 27 | #include 28 | #include "preferences.h" 29 | 30 | class TristateCombo : public QComboBox 31 | { 32 | Q_OBJECT 33 | 34 | public: 35 | TristateCombo( QWidget * parent = 0 ); 36 | ~TristateCombo(); 37 | 38 | void setState( Preferences::OptionState v ); 39 | Preferences::OptionState state(); 40 | 41 | protected: 42 | virtual void retranslateStrings(); 43 | virtual void changeEvent( QEvent * event ); 44 | 45 | }; 46 | 47 | #endif 48 | -------------------------------------------------------------------------------- /src/tvsettings.h: -------------------------------------------------------------------------------- 1 | /* smplayer, GUI front-end for mplayer. 2 | Copyright (C) 2006-2024 Ricardo Villalba 3 | 4 | This program is free software; you can redistribute it and/or modify 5 | it under the terms of the GNU General Public License as published by 6 | the Free Software Foundation; either version 2 of the License, or 7 | (at your option) any later version. 8 | 9 | This program is distributed in the hope that it will be useful, 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 | GNU General Public License for more details. 13 | 14 | You should have received a copy of the GNU General Public License 15 | along with this program; if not, write to the Free Software 16 | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 17 | */ 18 | 19 | #ifndef TV_SETTINGS_H 20 | #define TV_SETTINGS_H 21 | 22 | #include "filesettingsbase.h" 23 | 24 | class QSettings; 25 | 26 | class TVSettings : public FileSettingsBase 27 | { 28 | public: 29 | TVSettings(QString directory); 30 | virtual ~TVSettings(); 31 | 32 | virtual bool existSettingsFor(QString filename, int type); 33 | 34 | virtual void loadSettingsFor(QString filename, int type, MediaSettings & mset, int player); 35 | 36 | virtual void saveSettingsFor(QString filename, int type, MediaSettings & mset, int player); 37 | 38 | static QString filenameToGroupname(const QString & filename); 39 | 40 | private: 41 | QSettings * my_settings; 42 | }; 43 | 44 | #endif 45 | 46 | -------------------------------------------------------------------------------- /src/updatecheckerdata.h: -------------------------------------------------------------------------------- 1 | /* smplayer, GUI front-end for mplayer. 2 | Copyright (C) 2006-2024 Ricardo Villalba 3 | 4 | This program is free software; you can redistribute it and/or modify 5 | it under the terms of the GNU General Public License as published by 6 | the Free Software Foundation; either version 2 of the License, or 7 | (at your option) any later version. 8 | 9 | This program is distributed in the hope that it will be useful, 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 | GNU General Public License for more details. 13 | 14 | You should have received a copy of the GNU General Public License 15 | along with this program; if not, write to the Free Software 16 | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 17 | */ 18 | 19 | 20 | #ifndef UPDATE_CHECKER_DATA_H 21 | #define UPDATE_CHECKER_DATA_H 22 | 23 | #include 24 | #include 25 | 26 | class QSettings; 27 | 28 | class UpdateCheckerData { 29 | public: 30 | UpdateCheckerData() { enabled = true; days_to_check = 7; }; 31 | void save(QSettings * set); 32 | void load(QSettings * set); 33 | 34 | QDate last_checked; 35 | bool enabled; 36 | int days_to_check; 37 | QString last_known_version; 38 | }; 39 | 40 | #endif 41 | -------------------------------------------------------------------------------- /src/urlhistory.cpp: -------------------------------------------------------------------------------- 1 | /* smplayer, GUI front-end for mplayer. 2 | Copyright (C) 2006-2024 Ricardo Villalba 3 | 4 | This program is free software; you can redistribute it and/or modify 5 | it under the terms of the GNU General Public License as published by 6 | the Free Software Foundation; either version 2 of the License, or 7 | (at your option) any later version. 8 | 9 | This program is distributed in the hope that it will be useful, 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 | GNU General Public License for more details. 13 | 14 | You should have received a copy of the GNU General Public License 15 | along with this program; if not, write to the Free Software 16 | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 17 | */ 18 | 19 | #include "urlhistory.h" 20 | 21 | URLHistory::URLHistory() : Recents() 22 | { 23 | setMaxItems(50); 24 | } 25 | 26 | URLHistory::~URLHistory() { 27 | } 28 | 29 | void URLHistory::addUrl(QString url) { 30 | qDebug("Recents::addItem: '%s'", url.toUtf8().data()); 31 | 32 | // Delete duplicates 33 | QStringList::iterator iterator = l.begin(); 34 | while (iterator != l.end()) { 35 | QString s = (*iterator); 36 | if (s == url) 37 | iterator = l.erase(iterator); 38 | else 39 | iterator++; 40 | } 41 | 42 | // Add new item to list 43 | l.prepend(url); 44 | 45 | if (l.count() > max_items) l.removeLast(); 46 | } 47 | 48 | QString URLHistory::url(int n) { 49 | QString s = l[n]; 50 | return s; 51 | } 52 | 53 | -------------------------------------------------------------------------------- /src/urlhistory.h: -------------------------------------------------------------------------------- 1 | /* smplayer, GUI front-end for mplayer. 2 | Copyright (C) 2006-2024 Ricardo Villalba 3 | 4 | This program is free software; you can redistribute it and/or modify 5 | it under the terms of the GNU General Public License as published by 6 | the Free Software Foundation; either version 2 of the License, or 7 | (at your option) any later version. 8 | 9 | This program is distributed in the hope that it will be useful, 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 | GNU General Public License for more details. 13 | 14 | You should have received a copy of the GNU General Public License 15 | along with this program; if not, write to the Free Software 16 | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 17 | */ 18 | 19 | #ifndef URLHISTORY_H 20 | #define URLHISTORY_H 21 | 22 | #include "recents.h" 23 | 24 | class URLHistory : public Recents 25 | { 26 | public: 27 | URLHistory(); 28 | virtual ~URLHistory(); 29 | 30 | virtual void addUrl(QString url); 31 | 32 | //! Returns the URL 33 | virtual QString url(int n); 34 | }; 35 | 36 | #endif 37 | -------------------------------------------------------------------------------- /src/version.h: -------------------------------------------------------------------------------- 1 | /* smplayer, GUI front-end for mplayer. 2 | Copyright (C) 2006-2024 Ricardo Villalba 3 | 4 | This program is free software; you can redistribute it and/or modify 5 | it under the terms of the GNU General Public License as published by 6 | the Free Software Foundation; either version 2 of the License, or 7 | (at your option) any later version. 8 | 9 | This program is distributed in the hope that it will be useful, 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 | GNU General Public License for more details. 13 | 14 | You should have received a copy of the GNU General Public License 15 | along with this program; if not, write to the Free Software 16 | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 17 | */ 18 | 19 | #ifndef VERSION_H 20 | #define VERSION_H 21 | 22 | #include 23 | 24 | class Version { 25 | public: 26 | static QString printable(); 27 | static QString stable(); 28 | static QString revision(); 29 | static QString with_revision() { return stable() + "." + revision(); } 30 | static bool is_unstable(); 31 | }; 32 | 33 | #endif 34 | 35 | -------------------------------------------------------------------------------- /src/verticaltext.h: -------------------------------------------------------------------------------- 1 | /* Taken from KMix */ 2 | /* Copyright (C) 2003-2004 Christian Esken */ 3 | 4 | 5 | #ifndef VerticalText_h 6 | #define VerticalText_h 7 | 8 | #include 9 | #include 10 | 11 | class VerticalText : public QWidget 12 | { 13 | public: 14 | VerticalText(QWidget * parent, Qt::WindowFlags f = QFlag(0)); 15 | ~VerticalText(); 16 | 17 | void setText(QString s) { _label = s; }; 18 | QString text() { return _label; }; 19 | QSize sizeHint() const; 20 | QSizePolicy sizePolicy () const; 21 | 22 | protected: 23 | void paintEvent ( QPaintEvent * event ); 24 | QString _label; 25 | }; 26 | 27 | #endif 28 | -------------------------------------------------------------------------------- /src/videopreview/async.diff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smplayer-dev/smplayer/49ccd6479f4a7d1987abc393f229cd002090b765/src/videopreview/async.diff -------------------------------------------------------------------------------- /src/videopreview/videopreview.pro: -------------------------------------------------------------------------------- 1 | CONFIG += debug 2 | 3 | HEADERS = ../lineedit_with_icon.h ../filechooser.h ../playerid.h videopreviewconfigdialog.h videopreview.h 4 | SOURCES = ../lineedit_with_icon.cpp ../filechooser.cpp ../playerid.cpp videopreviewconfigdialog.cpp videopreview.cpp main.cpp 5 | 6 | FORMS = videopreviewconfigdialog.ui 7 | 8 | INCLUDEPATH += .. 9 | DEPENDPATH += .. 10 | DEFINES += NO_SMPLAYER_SUPPORT MPV_SUPPORT MPLAYER_SUPPORT 11 | 12 | isEqual(QT_MAJOR_VERSION, 5) { 13 | QT += widgets gui 14 | #DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x040000 15 | } 16 | 17 | unix { 18 | UI_DIR = .ui 19 | MOC_DIR = .moc 20 | OBJECTS_DIR = .obj 21 | } 22 | 23 | -------------------------------------------------------------------------------- /src/youtube/qt-json/AUTHORS: -------------------------------------------------------------------------------- 1 | Eeli Reilin 2 | Luis Gustavo S. Barreto 3 | Stephen Kockentiedt 4 | Ilya V. Matveychikov 5 | -------------------------------------------------------------------------------- /src/youtube/qt-json/URL.txt: -------------------------------------------------------------------------------- 1 | https://github.com/qt-json/qt-json 2 | -------------------------------------------------------------------------------- /src/youtube/qt-json/qt-json.pri: -------------------------------------------------------------------------------- 1 | INCLUDEPATH += \ 2 | $$PWD \ 3 | 4 | HEADERS += \ 5 | $$PWD/json.h \ 6 | 7 | SOURCES += \ 8 | $$PWD/json.cpp \ 9 | 10 | OTHER_FILES += \ 11 | $$PWD/AUTHORS \ 12 | $$PWD/LICENSE \ 13 | $$PWD/README.md \ 14 | -------------------------------------------------------------------------------- /webserver/Makefile: -------------------------------------------------------------------------------- 1 | PROG = simple_web_server 2 | MODULE_CFLAGS=-DMG_DISABLE_DAV_AUTH -DMG_ENABLE_HTTP_CGI=0 -DMG_ENABLE_THREADS=0 -DMG_ENABLE_HTTP_SSI=0 3 | 4 | SOURCES = main.c mongoose.c 5 | CFLAGS = -O2 -W -Wall -Werror -Wno-unused-function $(CFLAGS_EXTRA) $(MODULE_CFLAGS) 6 | 7 | ifeq ($(OS), Windows_NT) 8 | CFLAGS += -lws2_32 -Wno-format 9 | CC = gcc 10 | DEL_FILE = del 11 | PROG := $(PROG).exe 12 | else 13 | CFLAGS += -pthread 14 | DEL_FILE = rm -f 15 | endif 16 | 17 | all: $(PROG) 18 | 19 | $(PROG): $(SOURCES) Makefile 20 | $(CC) $(SOURCES) -o $@ $(CFLAGS) 21 | 22 | clean: 23 | $(DEL_FILE) $(PROG) 24 | -------------------------------------------------------------------------------- /webserver/Makefile.msc: -------------------------------------------------------------------------------- 1 | PROG = simple_web_server 2 | MODULE_CFLAGS=-DMG_DISABLE_DAV_AUTH -DMG_ENABLE_HTTP_CGI=0 -DMG_ENABLE_THREADS=0 -DMG_ENABLE_HTTP_SSI=0 3 | 4 | SOURCES = main.c mongoose.c 5 | CFLAGS = /nologo /W3 /O2 $(CFLAGS_EXTRA) $(MODULE_CFLAGS) 6 | CC = cl 7 | DEL_FILE = del 8 | PROG = $(PROG).exe 9 | 10 | all: $(PROG) 11 | 12 | $(PROG): $(SOURCES) Makefile 13 | $(CC) $(SOURCES) $(CFLAGS) kernel32.lib user32.lib advapi32.lib /Fe$(PROG) 14 | 15 | clean: 16 | $(DEL_FILE) $(PROG) 17 | -------------------------------------------------------------------------------- /webserver/README.txt: -------------------------------------------------------------------------------- 1 | This is a simple web server to serve local files for Chromecast. 2 | 3 | Mongoose sources: 4 | https://github.com/cesanta/mongoose 5 | --------------------------------------------------------------------------------