Commit Graph
81 Commits
Author SHA1 Message Date
Šarūnas Nejus 0b5a5b0350 typing: fix missing types in plugins 2026-08-31 11:27:12 +01:00
Šarūnas Nejus 11d41aee7d typing: add missing types to plugins 2026-08-31 11:27:12 +01:00
Šarūnas Nejus a3bb963ea0 ipfs: fix play command 2026-08-20 00:51:44 +01:00
Šarūnas Nejus 6241139600 typing: define explicit optparse.Values for each command 2026-08-19 23:57:05 +01:00
Šarūnas Nejus 14eabc6060 typing: add types to command handlers 2026-08-19 23:57:01 +01:00
Šarūnas Nejus eab29f598f beets.util: remove prefix= kwarg from syspath 2026-07-30 12:20:27 +01:00
Šarūnas Nejus 3f277ad5a0 typing: feed PathLike as database path 2026-07-16 13:11:16 +01:00
Sebastian Mohr 54a2bd20e1 Removed This file is part of beets... headers. 2026-06-29 11:20:15 +02:00
Šarūnas Nejus d53ee774a9 Enable and fix flake8-return 2026-06-09 00:14:06 +01:00
Sebastian Mohr adfb73b66d Run ruff format 2026-05-20 16:53:06 +02:00
Šarūnas Nejus fbc2986f8b Add ability to set temporary music dir context for ipfs 2026-04-11 13:02:42 +01:00
Šarūnas Nejus a2cb160064 Store item paths relative to library directory
Convert item paths to relative on write and back to absolute on read,
keeping the database free of hardcoded library directory. Fix tests to
account for absolute path return values.
2026-04-11 13:01:41 +01:00
Šarūnas Nejus b3d434f58f Delegate attribute access to logging 2025-08-30 23:10:21 +01:00
Šarūnas Nejus d6b6ac3387 Replace logging f-strings with arguments 2025-08-30 23:10:21 +01:00
Šarūnas Nejus d93ddf8dd4 Do not use explicit indices for logging args when not needed 2025-08-30 23:10:21 +01:00
Šarūnas Nejus 7cada1c9f8 Remove no-op decargs 2025-07-08 11:37:33 +01:00
Šarūnas Nejus 179ed13e09 Say bye to util._fsencoding 2025-04-21 12:41:57 +01:00
Šarūnas Nejus 85a17ee503 Reformat the codebase 2024-09-21 11:57:48 +01:00
Serene-Arc a6e5201ff3 Apply formatting tools to all files
This is 'the big one', which touches every file so that it all conforms
to the given standard.
2023-10-22 09:53:18 +10:00
J0J0 Todos 8d835b8cab Fix ipfs plugin and test_ipfs
by using store(inherit=False) for the creation of a new "ipfs album" as well as
when test_ipfs creates album+items to compare with.
Or put differently: Make ipfs and test_ipfs keep the old store() behaviour for
which the plugin initially was built for.
2023-08-23 06:34:16 +02:00
wisp3rwind 29c21860a9 add missing syspath conversions (2/3, beetsplug) 2023-07-16 10:17:40 +02:00
Andrew Rogl 1ec87a3bdd pyupgrade beetsplug and tests
All tests working
More tidy up to be done
2021-08-26 19:12:51 +10:00
Adrian Sampson 8537d1e36d Merge pull request #2554 from musoke/python3-plugin-ipfs
compatibility of IPFS plugin with Python 3
2020-07-14 06:58:20 -04:00
Zsin Skri 30395911e2 util.command_output: return stderr, too
Return a namedtuple CommandOutput(stdout, stderr) instead of just stdout from
util.command_ouput, allowing separate access to stdout and stderr.

This change is required by the ffmpeg replaygain backend (GitHub
PullRequest #3056) as ffmpeg's ebur128 filter outputs only to stderr.
2019-07-14 18:32:59 +02:00
Iris Wildthyme 2b82831b7b added --nocopy support 2019-01-30 16:36:46 -05:00
Nathan Musoke c5319274ca IPFS plugin: Add note to check hashes carefully
In the future, just checking that a hash begins with "Qm" and has length
46 will likely not be sufficient.
2017-05-11 18:50:29 +12:00
Nathan Musoke ca8c557840 bugfix: Python3ify the IPFS plugin
Paths were being constructed in a Python 3-incompatible way by concating
bytes and strings. Do this more carefully by encoding and decoding of
binary and strings.
2017-05-11 18:50:15 +12:00
Johnny Robeson b9cd889ef4 decode ipfs item paths to satisy python -bb 2016-07-03 23:52:05 -04:00
wordofglass 0f89f17227 add missing division future imports 2016-04-16 18:33:54 +02:00
wordofglass 0cfddfaa8a add missing absolute_import future imports 2016-04-16 02:28:54 +02:00
wordofglass 6b43e1204f add missing print_function future imports 2016-04-16 01:53:39 +02:00
Peter Kessen 3eb8008b11 added encoding as comment in files
added line like
# -*- coding: utf-8 -*-
to all files with correct license in header
2015-11-19 18:41:01 +01:00
multikatt cdef5fd473 Speed up import 2015-06-11 01:19:09 -04:00
multikatt 4d0d1ebc7a Dont refetch already existing libs 2015-06-11 00:08:01 -04:00
multikatt 10bf15da1d Adding logs 2015-06-11 00:06:48 -04:00
multikatt 2105fb9e1f Rename argument lib to album in ipfs_add() 2015-06-10 11:32:55 -04:00
multikatt 8ad22749ea Unset item.id to avoid double add items to albums
This hugely improves publishing times
2015-06-10 11:09:56 -04:00
multikatt 15f17116c5 Dont readd albums to ipfs 2015-06-07 17:38:31 -04:00
multikatt 0fa02519a7 Adding auto add support 2015-06-07 16:55:36 -04:00
multikatt f64df80974 Catch failed folder creation 2015-06-03 08:08:02 -04:00
multikatt 163b049f41 Tidying up 2015-06-02 23:02:00 -04:00
multikatt 5c3459e2a6 Make create_new_album a new function 2015-06-02 22:23:38 -04:00
multikatt fe29397fcc typo 2015-06-01 22:54:25 -04:00
multikatt 0f0329abb9 Add --play flag 2015-06-01 22:47:04 -04:00
multikatt 46202a3cf0 Properly add albums to published library 2015-06-01 22:45:49 -04:00
multikatt 0fcea289f7 Log notification 2015-05-31 20:46:07 -04:00
multikatt 4f3a228a23 Use beets.util.command_output instead of subprocess 2015-05-31 20:45:39 -04:00
multikatt 9771d899db remove dulicate ui.decargs 2015-05-31 20:17:05 -04:00
multikatt 4dc3299dc8 Fix E226 2015-05-31 01:47:09 -04:00
multikatt 5bb976d8f4 Better error handling when theres nothing imported
yet
2015-05-31 00:46:43 -04:00