Commit graph

10900 commits

Author SHA1 Message Date
Serene-Arc
c0587cef31 Implement PEP 56v3 to avoid circular import 2023-02-16 16:59:01 +10:00
Serene-Arc
ef760feada Fix style errors 2023-02-13 13:51:40 +10:00
Serene-Arc
b33c3ce957 Fix some typings 2023-02-13 13:17:12 +10:00
Serene-Arc
24c0665142 Fix some typings 2023-02-13 10:00:06 +10:00
wisp3rwind
a666057fdf drop old Python: simplify and improve case_sensitive()
- some cleanup for recent Python which has samefile() on Windows
- also, fix this function by only upper-/lower-casing one path component
  at a time. It is unclear to me how this could have ever worked.
2023-02-12 16:16:43 +01:00
wisp3rwind
427bfe8cbf library/PathQuery: fix lower-casing 2023-02-12 16:16:43 +01:00
wisp3rwind
9052854e50 library/PathQuery: remove useless bytestring_path()
normpath already applies bytestring_path() to its output
2023-02-12 16:16:43 +01:00
wisp3rwind
e6fd038b0e tests: robustify path query / case_sensitive tests
- samefile exists on all platforms for recent python
- don't rely on monkey-patching os/os.path and on specifics on the
  implementation: as a result of doing so, the tests start failing in
  obscure ways as soon as the implementation (and its usage of
  os.path.exists and os.path.samefile) is changed
2023-02-12 16:16:43 +01:00
Benedikt
12e99f7cc6
Merge pull request #4675 from wisp3rwind/syspath_at_api_boundary
permissions: Move syspath conversion to the actual API boundary
2023-02-12 14:18:53 +01:00
wisp3rwind
12173d30a8 permissions: Move syspath conversion to the actual API boundary 2023-02-12 14:04:24 +01:00
Benedikt
0e29a4ffdc
Merge pull request #4579 from night199uk/fix_permissions
Avoid calling chmod in some scenarios.
2023-02-12 13:53:24 +01:00
night199uk
23598df155 Avoid calling chmod in some scenarios.
This guards the os.chmod calls so it's only called IF the
permissions need changing. This guards against an exception in
certain complex library setups.
2023-02-11 19:28:52 -08:00
J0J0 Todos
aabd1636aa
Merge pull request #4573 from JOJ0/splupdate_dry_run
Add --pretend option to splupdate command
2023-02-01 08:07:17 +01:00
Adrian Sampson
e504968e27
Merge pull request #4663 from katedickey/fix/cascade-flex-deletes
Fix album store method to cascade flex field deletions to items
2023-01-31 08:36:49 -08:00
Katelyn Dickey
f0359007a5
Code style fixes 2023-01-31 11:26:22 -05:00
Katelyn Dickey
2c43adf463
Fix album store method to cascade flex field deletions to items 2023-01-31 01:31:53 -05:00
J0J0 Todos
527052e13d
Merge branch 'master' into splupdate_dry_run 2023-01-31 07:07:09 +01:00
J0J0 Todos
6abcc20df0
Merge pull request #4634 from ghbrown/discogs_s_ic
Implement item_candidates for Discogs plugin
2023-01-31 06:24:05 +01:00
ghbrown
429dfb3e7a Fix docs phrasing; fix changelog formatting 2023-01-28 18:11:22 -06:00
Adrian Sampson
cc33c9c8b8
Merge pull request #4647 from Steffo99/definition-list
Use definition lists with the plugins' names in the documentation
2023-01-26 15:23:47 -08:00
Adrian Sampson
3ba973de31
Merge pull request #4646 from Steffo99/docs-plugin-discogs
Improve formatting in the `plugins/discogs` documentation page
2023-01-26 15:23:36 -08:00
Adrian Sampson
cf37ee37e5
Merge pull request #4645 from Steffo99/docs-plugin-plexupdate
Improve formatting in the `plugins/plexupdate` documentation page
2023-01-26 15:22:59 -08:00
Adrian Sampson
6aa562e2ae
Merge pull request #4650 from jcjordyn130/patch-1
config.rst: Remove extraneous for
2023-01-26 08:55:56 -08:00
Stefano Pigozzi
e76fe01212
Add missing space 2023-01-22 15:02:18 +01:00
Stefano Pigozzi
2b600fa151
Revert the configuration section back to how it was before 2023-01-22 14:56:23 +01:00
Stefano Pigozzi
566579b5f8
Revert the configuration section back to how it was before 2023-01-22 14:37:45 +01:00
Stefano Pigozzi
cf56d05204
Move changelog entry to other changes 2023-01-22 14:16:39 +01:00
Jordyn
7f3f522973
config.rst: Remove extraneous for 2023-01-21 22:08:03 -06:00
ghbrown
47fe387de1 Docs and changelog 2023-01-21 20:56:44 -06:00
ghbrown
bdb1024648 Merge master to avoid merge conflict in docs 2023-01-21 20:45:21 -06:00
ghbrown
a99eb77337 Improve where an how data added to tracks of album 2023-01-20 22:15:50 -06:00
ghbrown
cbb1b21408 Use tracks field in item_candidates; add more info to tracks of AlbumInfo 2023-01-20 21:07:15 -06:00
Stefano Pigozzi
aa28c274b9
Add changelog entry 2023-01-20 13:36:29 +01:00
Stefano Pigozzi
ca320527c8
Improve formatting in the plugins/plexupdate page 2023-01-20 13:10:15 +01:00
Stefano Pigozzi
54aa095882
Specify the language of a code-block 2023-01-20 13:01:23 +01:00
Stefano Pigozzi
bc379850b2
Improve formatting in the plugins/discogs page 2023-01-20 12:47:43 +01:00
Stefano Pigozzi
21bf37befa
Use definition lists with the plugins' names
So that they are easier to find when knowing the name of an enabled plugin
2023-01-20 12:36:44 +01:00
Stefano Pigozzi
71ed854d1e
Add sphinx and sphinx_rtd_theme as deps for a new docs extra 2023-01-20 12:11:52 +01:00
Serene-Arc
7f5a28348c Add some typings 2023-01-20 13:20:15 +10:00
ghbrown
2df41b9e16 Limit number of returned track candidates 2023-01-16 18:43:26 -06:00
Adrian Sampson
6c06a18f8b
Merge pull request #4631 from ghbrown/discogs_s_docs
Add Discogs singleton limitation to docs
2023-01-13 17:22:51 -08:00
ghbrown
2e916404f9 early exit; add data_source 2023-01-12 19:41:04 -06:00
ghbrown
2db0796fad Implement item_candidates for Discogs 2023-01-11 13:20:54 -06:00
ghbrown
a6dfd1b40c Writing improvements 2023-01-11 11:40:25 -06:00
ghbrown
8938319075 Add Discogs singleton limitation to docs 2023-01-10 12:25:01 -06:00
Adrian Sampson
6989bce6ca
Merge pull request #4515 from JOJ0/fix_discogs_multi_artist
Handle "join keyword" in `MetadataSourcePlugin.get_artist()`
2023-01-06 10:30:23 -08:00
J0J0 Todos
f1794e8709 Support generators in MetadataSourcePlugin.get_artist method 2023-01-03 09:08:31 +01:00
J0J0 Todos
1b0f49fc3b Simplify MetadataSourcePlugin.get_artist method
- Originally a list of "artists" was generated and joined together to a final
  string later.
- This simplifies by concatinating to a final string within the main loop.
- Also this commit gets rid of a mysterious replacement code (` ,' -> ',')
2023-01-03 09:08:21 +01:00
Adrian Sampson
5383d55076
Merge pull request #4616 from jackwilsdon/remove-musixmatch-default
Remove Musixmatch from default enabled sources
2023-01-02 15:29:12 -08:00
Benedikt
3ddaba4740
Merge pull request #4600 from JOJ0/fromfile_fix
fromfilename: Fix regex ordering and add debug logging
2023-01-02 14:25:38 +01:00