This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-----BEGIN PGP PUBLIC KEY BLOCK----- | |
mDMEaCKPaRYJKwYBBAHaRw8BAQdASgE7IPtHHKeT6Bs8A7DjnBRsWtyuMpsoZbMJ | |
0o/V4h60ME1ldGVoYW4gWXVydHNldmVuIDxtZXRlaGFuLnl1cnRzZXZlbkBpY2xv | |
dWQuY29tPoiTBBMWCgA7FiEEPldm/x5cVlknvpFc1PjQJzuQck0FAmgij2kCGwMF | |
CwkIBwICIgIGFQoJCAsCBBYCAwECHgcCF4AACgkQ1PjQJzuQck2fSwEAj0l3Lr3m | |
PRaoNSA/nF6NLeip8l8e6SAeL++9D5KHxygBALl4o7xa3ltTs5GiaQ4RVcsUlj6l | |
LI1vRG1qfKosOg8EuDgEaCKPaRIKKwYBBAGXVQEFAQEHQKybcfspOnlxLwVnBmzL | |
b5PsntY+hXnCU1AyhR6vMrFGAwEIB4h4BBgWCgAgFiEEPldm/x5cVlknvpFc1PjQ | |
JzuQck0FAmgij2kCGwwACgkQ1PjQJzuQck3i5AD/SO4s6cXhHOOjrzjZxhSlmYzy |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-----BEGIN PGP PUBLIC KEY BLOCK----- | |
Comment: User ID: Metehan Yurtseven <metehan.yurtseven@de.abb.com> | |
Comment: Valid from: 09.12.2024 17:32 | |
Comment: Type: 255-bit EdDSA (secret key available) | |
Comment: Usage: Signing, Encryption, Certifying User IDs, SSH Authentication | |
Comment: Fingerprint: 361A2D1A5264A27F94FC8A644929C4F8FF72AD6A | |
mDMEZ1cbnhYJKwYBBAHaRw8BAQdACpt1dWYO8r5mQu2bkjcKCCk1KZJ1OqYKoqB9 | |
bpab7R+0ME1ldGVoYW4gWXVydHNldmVuIDxtZXRlaGFuLnl1cnRzZXZlbkBkZS5h |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// This simple js script collects chapter titles of an audiobook from audible and | |
// is used to apply it to an .m4b audiobook. | |
// Following steps are required to create an .m4b audiobook with chapters: | |
// | |
// 0. (optional) use following tool to concat multiple mp3 to single m4b: https://gist.github.com/butuzov/fa7d456ebc3ec0493c0a10b73800bf42?permalink_comment_id=2830778#gistcomment-2830778 | |
// 1. Export metadata of .m4b using "ffmpeg -i book.m4b -f ffmetadata metadata.txt" | |
// 2. Login to Audible and open a specific audiobook | |
// 3. Open console panel (Control+Shift+J) and run this script inside the JS Console | |
// 4. Paste returned content at the end of the metadata or replace existing chapters and save the file | |
// 5. Apply new metadata using to new .m4b using "ffmpeg -i book.m4b -i metadata.txt -map_metadata 1 -map_chapters 1 -codec copy book_with_chapters.m4b" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
if [ $# -ne 2 ] | |
then | |
echo "Usage: ./transmission_port.sh https://transmission.example.com 51413" | |
exit 1 | |
fi | |
session_id=$(curl "$1/transmission/rpc" -H "content-type: application/json" -s -D - -o /dev/null | awk '/^x-transmission-session-id:/ { print $2 }') |