b0wter / fbrary Goto Github PK
View Code? Open in Web Editor NEWCreate, manage and edit your audio book library from the command line.
License: GNU General Public License v3.0
Create, manage and edit your audio book library from the command line.
License: GNU General Public License v3.0
fbrary -l library.json update --field "Foo" ...
Relative to library file?
User this: https://stackoverflow.com/questions/34471956/how-to-determine-if-im-in-powershell-or-cmd
to user other characters in powershell. The double ones work.
PS C:\Users\b0wter\Desktop\fbrary> .\Fbrary.exe -l .\test.json list --table "%rating_symbols%"
The following format identifiers are unknown and will be skipped: %rating_symbols%
Unhandled exception. System.IndexOutOfRangeException: Index was outside the bounds of the array.
at b0wter.Fbrary.Formatter.Table.columnsToRows(FSharpList`1 columns)
at b0wter.Fbrary.Formatter.Table.apply(Int32 maxColumnWidth, String tableFormat, FSharpList`1 books)
at [email protected](FSharpOption`1 _arg1)
at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr callersRetAddrSlot, IntPtr callTarget, IntPtr retVal)
at b0wter.Fbrary.Program.list(String libraryFile, ListConfig listConfig)
at b0wter.Fbrary.Program.main(String[] argv)```
Use UTF8 box-drawing characters:
https://en.wikipedia.org/wiki/Box-drawing_character
Like git mv
to move files and update the library accordingly
maybe even update relative paths to absolute paths?
%artist% -> "<no artist>"
?artist? -> ""
Maybe make something more complex like:
?(%artist%)?
To make the brackets only appear if the artist
is set.
Field names are used in different ways across the entire application. There should be a single source of truth for that and I way to parameterize this.
Try the additional -p:IncludeNativeLibrariesForSelfExtract=true
argument for building a windows release.
See:
https://docs.microsoft.com/dotnet/core/deploying/single-file#other-considerations
https://devblogs.microsoft.com/dotnet/announcing-net-6-preview-1/
dotnet/runtime#43072
https://devblogs.microsoft.com/dotnet/announcing-net-5-0/#single-file-applications
https://devblogs.microsoft.com/dotnet/announcing-net-5-0/
Add a command (or update an existing one) that checks if the files referenced in the library actually exist.
Seems to be broken (at least in the snap version).
For usage with xargs and so on.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.