1
0
mirror of https://github.com/clementine-player/Clementine synced 2025-01-31 03:27:40 +01:00

7772 Commits

Author SHA1 Message Date
Clementine Buildbot
f1678fd33c Automatic merge of translations from Transifex 1.4.0rc1-429-gf1678fd33 2021-01-17 03:35:38 +00:00
Clementine Buildbot
81a3c0f83c Automatic merge of translations from Transifex 1.4.0rc1-428-g81a3c0f83 2021-01-15 03:33:21 +00:00
Jim Broadus
cf842a8c5a gstengine: Use existing stream id to track background streams
New ids were being created for background stream mapping, but streams already
have unique IDs that can be used for this.
1.4.0rc1-427-gcf842a8c5
2021-01-14 11:29:43 +00:00
Clementine Buildbot
72e2e62eb1 Automatic merge of translations from Transifex 1.4.0rc1-426-g72e2e62eb 2021-01-14 03:36:26 +00:00
Jim Broadus
4f5bf1cc6f gstengine: Give pipelines unique names
Currently, most pipelines are named "pipeline". Use a type string in combination
with the stream id to give each pipeline a unique name.
1.4.0rc1-425-g4f5bf1cc6
2021-01-13 22:59:49 +00:00
Jim Broadus
5ffdb7d98c gstengine: Move pipeline id handling to base class
Move the id and the global counter from GstEnginePipeline to GstPipelineBase.
Make counter atomic.
2021-01-13 22:59:49 +00:00
Clementine Buildbot
2dd424a195 Automatic merge of translations from Transifex 1.4.0rc1-423-g2dd424a19 2021-01-13 03:27:02 +00:00
Jim Broadus
ace5234e62 transcoder: Fix flacenc "insane" level encoding
The gstreamer flacenc element defines a set of quality levels that is different
from the standard flac library. Its highest level, labeled "insane", uses
settings that are outside of the streamable subset. Set the streamable-subset
property to false for this level.

Reference: https://xiph.org/flac/format.html#subset
1.4.0rc1-422-gace5234e6
2021-01-12 11:47:12 +00:00
Clementine Buildbot
e1e559732b Automatic merge of translations from Transifex 1.4.0rc1-421-ge1e559732 2021-01-12 03:20:36 +00:00
Stephen
596cd9b0ab install dependencies after checkout 1.4.0rc1-420-g596cd9b0a 2021-01-11 10:27:12 +00:00
Stephen G
ea4772ba2a use Brewfile 2021-01-11 10:27:12 +00:00
Clementine Buildbot
b3aed042eb Automatic merge of translations from Transifex 1.4.0rc1-418-gb3aed042e 2021-01-11 03:16:59 +00:00
Jim Broadus
f779652aa2 Localize song count in playlist
Use %Lx to localize number formatting.

Reference: https://doc.qt.io/qt-5/qtquick-internationalization.html#5-use-lx-so-numbers-are-localized
1.4.0rc1-417-gf779652aa
2021-01-10 21:58:54 +00:00
Jim Broadus
7b94309827 transcoder: Use GstPipelineBase class for pipeline
This allows the use of the DumpGraph method in transcoding pipelines. The call
can be added to Transcoder::StartJob for debugging. In the future, a trigger
may be added to the debug console ui.
1.4.0rc1-416-g7b9430982
2021-01-10 18:14:57 +00:00
Jim Broadus
f9e9dae73d gstengine: Add a base class for pipelines
This allows debug functionality to be shared.
2021-01-10 18:14:57 +00:00
Clementine Buildbot
8c774e3880 Automatic merge of translations from Transifex 1.4.0rc1-414-g8c774e388 2021-01-10 03:17:22 +00:00
Jim Broadus
25d3fca079 gstengine: Fix output audio depth
When the decoder bin's src pad becomes available, check its caps
for a format. If the format is not S16LE, then apply F32LE caps
before the tee. This prevents the pipeline from negotiating
S16LE when the decoder produces other formats.
1.4.0rc1-413-g25d3fca07
2021-01-06 20:39:33 +00:00
Jim Broadus
06066dfba4 gstengine: Add a caps filter in pipeline before tee 2021-01-06 20:39:33 +00:00
Jim Broadus
2b17170bf8 gstengine: Move the probe capsfilter to the correct side of the converter
The pipeline currently constructs a caps filter between the tee and the
probe audio converter. This requires that S16LE data is fed to the tee.
2021-01-06 20:39:33 +00:00
Clementine Buildbot
479f1d4de9 Automatic merge of translations from Transifex 1.4.0rc1-410-g479f1d4de 2021-01-04 03:05:13 +00:00
Clementine Buildbot
8201c10355 Automatic merge of translations from Transifex 1.4.0rc1-409-g8201c1035 2021-01-03 03:03:01 +00:00
Clementine Buildbot
8f863bc969 Automatic merge of translations from Transifex 1.4.0rc1-408-g8f863bc96 2021-01-02 02:58:52 +00:00
Benjamin Valentin
3efa68f07d internet/soma.fm: use high quality AAC stream
Prefer the high quality 130 kbit/s AAC stream over the 'fast' 128 kbit/s
mp3 stream.
1.4.0rc1-407-g3efa68f07
2021-01-01 18:00:59 +00:00
Jim Broadus
409c6b89d1 gstengine: Add a gstreamer debug console page
New page initially provides a button that triggers a dump of a graph of the main
pipeline.
1.4.0rc1-406-g409c6b89d
2021-01-01 16:26:29 +00:00
Jim Broadus
c353deba0c gstengine: Add a DumpGraph method to GstEnginePipeline
This will write a .dot graph and can be integrated with the debug console.
2021-01-01 16:26:29 +00:00
Jim Broadus
0ee64a32f6 console: Add a mechanism to allow components to add pages
Add a MainWindow signal that is emitted when a debug console is created. Relay
that signal to the Application. Add an AddPage method to the Console class that
allows components to populate pages when they receive the signal.
2021-01-01 16:26:29 +00:00
Clementine Buildbot
2b99d32bee Automatic merge of translations from Transifex 1.4.0rc1-403-g2b99d32be 2021-01-01 03:01:46 +00:00
Jim Broadus
63a73a4a55 Fix debug console instance leak
Each time the debug console is launched, a new instance is created, but never
deleted. To fix, create one instance, if the option is enabled, and show that
one each time the menu option is selected.
1.4.0rc1-402-g63a73a4a5
2020-12-31 21:07:58 +00:00
Clementine Buildbot
dc2c1e1117 Automatic merge of translations from Transifex 1.4.0rc1-401-gdc2c1e111 2020-12-29 02:57:55 +00:00
Clementine Buildbot
87cd3d2aba Automatic merge of translations from Transifex 1.4.0rc1-400-g87cd3d2ab 2020-12-28 02:56:46 +00:00
Jim Broadus
a012e7e273 gstengine: Fix InitFromString return value
GstEnginePipeline::InitFromString was attempting to link the decoder and audio
bins twice and returning the result of the failed second attempt as it's own
status. The return value was also being ignored by the caller.
1.4.0rc1-399-ga012e7e27
2020-12-27 21:50:06 +00:00
Clementine Buildbot
0393d865ca Automatic merge of translations from Transifex 1.4.0rc1-398-g0393d865c 2020-12-27 02:55:57 +00:00
Jim Broadus
616ccc6fde gstengine: Remove extra unref on element creation failure
GstEngine::CreateElement unrefs the supplied bin if an error
occurs. In all current cases, that bin is referenced by a
pipeline.
1.4.0rc1-397-g616ccc6fd
2020-12-26 22:14:23 +00:00
Clementine Buildbot
5495445175 Automatic merge of translations from Transifex 1.4.0rc1-396-g549544517 2020-12-26 02:55:52 +00:00
Clementine Buildbot
faab7fa6c5 Automatic merge of translations from Transifex 1.4.0rc1-395-gfaab7fa6c 2020-12-25 02:56:29 +00:00
Clementine Buildbot
870969ef42 Automatic merge of translations from Transifex 1.4.0rc1-394-g870969ef4 2020-12-23 02:57:28 +00:00
Jim Broadus
c999fc70e2 Fix hang during internet model reset
An old hack was notifying MergedProxyModel users that max int rows had been
removed when a submodel was reset. This caused the code that invalidates
selected items to spin for a very long time. A modelAboutToBeReset signal,
introduced in Qt 4.6, allows notification before the submodel information is
lost.

Note: there is one other case, in RemoveSubModel, where this hack is used.
This is only called when a device is removed and doesn't trigger this
condition, but it should probably be addressed in the future.
1.4.0rc1-393-gc999fc70e
2020-12-22 20:40:05 +00:00
Clementine Buildbot
9f8093a22b Automatic merge of translations from Transifex 1.4.0rc1-392-g9f8093a22 2020-12-22 02:56:44 +00:00
Clementine Buildbot
863a668240 Automatic merge of translations from Transifex 1.4.0rc1-391-g863a66824 2020-12-21 02:54:48 +00:00
Clementine Buildbot
af4810a581 Automatic merge of translations from Transifex 1.4.0rc1-390-gaf4810a58 2020-12-20 02:51:13 +00:00
Clementine Buildbot
51c600a537 Automatic merge of translations from Transifex 1.4.0rc1-389-g51c600a53 2020-12-19 02:51:12 +00:00
Clementine Buildbot
6a6ef729ef Automatic merge of translations from Transifex 1.4.0rc1-388-g6a6ef729e 2020-12-18 02:52:23 +00:00
Jim Broadus
627ddc398c build: Add Fedora 33
(cherry picked from commit e302811fae12e6bf8eb63039d3ea01b8b248604c)
1.4.0rc1-387-g627ddc398
2020-12-17 23:59:11 +00:00
Jim Broadus
bbb6a773fb build: Use cmake build and install macros in rpm spec
Starting with fedora 33, the cmake macro macro uses the cmake -B flag for
out-of-source builds. Additional cmake_build and cmake_install macros
were created and backported to support this migration.

https://fedoraproject.org/wiki/Changes/CMake_to_do_out-of-source_builds
1.4.0rc1-386-gbbb6a773f
2020-12-17 23:04:58 +00:00
Jim Broadus
c9557237cf build: RPM spec file updates
Remove BuildRoot:, Group:, and %clean in accordance with the Fedora packaging
guidelines.

Reference: https://docs.fedoraproject.org/en-US/packaging-guidelines/#_tags_and_sections
2020-12-17 23:04:58 +00:00
Matthieu Bruel
41513527cd hatstand code review update 1 1.4.0rc1-384-g41513527c 2020-12-17 12:23:30 +00:00
Matthieu Bruel
114802a0ca Adding links to new remote in network remote settings 2020-12-17 12:23:30 +00:00
Matthieu Bruel
7d038c7354 Missing filechooserwidget files... 2020-12-17 12:23:30 +00:00
Matthieu Bruel
9714b0632d All changes for ClemRemote v1.0 (in one go) 2020-12-17 12:23:30 +00:00
Jim Broadus
d7966c8285 Fix rpmbuild error in librojectm
When using rpmbuild on Fedora 33, the build fails with:
error: ‘__builtin_strncpy’ specified bound depends on the length of the source argument [-Werror=stringop-overflow=]

This was fixed as part of projectm change d4d74f6d. This change takes the
relevant parts of that commit.

Note that the projectm commit contains several other warning fixes that might
affect Clementine builds in the future.
1.4.0rc1-380-gd7966c828
2020-12-17 11:29:49 +00:00