Closed bergvdna closed 4 years ago
I may have to update the wiki pages, since I've recently made some changes to the script... If you run
jwb-index --help
you get all the available options. If you're on the latest version, you run --languages
to get a list of valid language codes. In this case, Dutch is a capital letter O.
I think you've mixed up your error logs somehow. Both commands you give as examples are identical, yet one works and one doesn't. And the error message says en: invalid language code
even if the command was run with --lang nl
.
The second example should indeed only show audio categories, but in this case it starts with VideoOnDemand
. I ran the same, and here's what I got:
./jwb-index --mode stdout --category Audio
Audio (Audio)
SJJMeetings (“Sing Out Joyfully”—Meetings)
SJJInstrumental (“Sing Out Joyfully”—Instrumental)
SJJChorus (“Sing Out Joyfully”—Vocals)
Vocal (Sing to Jehovah—Chorus)
AudioOriginalSongs (Original Songs)
AudioChildrenSongs (Children’s Songs)
KingdomMelodies (Kingdom Melodies)
Dramas (Dramas)
DramaticBibleReadings (Dramatic Bible Readings)
Please get back to me if you encounter more problems.
Hi Alex,
You are fantastic.
Everithing works fine.
Thanks for your quick response.
Have a good time.
Greetings, Arie.
Op za 28 mrt. 2020 16:33 schreef Alex notifications@github.com:
I may have to update the wiki pages, since I've recently made some changes to the script... If you run
jwb-index --help
you get all the available options. If you're on the latest version, you run --languages to get a list of valid language codes. In this case, Dutch is a capital letter O.
I think you've mixed up your error logs somehow. Both commands you give as examples are identical, yet one works and one doesn't. And the error message says en: invalid language code even if the command was run with --lang nl.
The second example should indeed only show audio categories, but in this case it starts with VideoOnDemand. I ran the same, and here's what I got:
./jwb-index --mode stdout --category Audio
Audio (Audio)
SJJMeetings (“Sing Out Joyfully”—Meetings)
SJJInstrumental (“Sing Out Joyfully”—Instrumental)
SJJChorus (“Sing Out Joyfully”—Vocals)
Vocal (Sing to Jehovah—Chorus)
AudioOriginalSongs (Original Songs)
AudioChildrenSongs (Children’s Songs)
KingdomMelodies (Kingdom Melodies)
Dramas (Dramas)
DramaticBibleReadings (Dramatic Bible Readings)
Please get back to me if you encounter more problems.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/allejok96/jw-scripts/issues/28#issuecomment-605463210, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHCH3JDWUPN5LZ3EQFPA2YDRJYKE3ANCNFSM4LVTFUUQ .
Thanks. Glad I could help.
Good day,
I am happy with jw-index to find audio files.
Some categories are not language sensitive, but vocally they are.
So I try to find the Dutch version with:
python jwb-index --mode stdout --lang nl --category Audio> C: \ Users \ berga \ Documents \ JWB \ Output \ test
I get an error:
python jwb-index --mode stdout --lang nl --category Audio> C: \ Users \ berga \ Documents \ JWB \ Output \ test
ValueError: en: invalid language code
--lang nl is therefore not good.
But if I search the list of languages with: python jwb-index --mode stdout --lang nl --category Audio >C:\Users\berga\Documents\JWB\Output\test
Then I will get output, but not what I expect!
What am I doing wrong?
I hope to receive an answer soon.
Thank you very much.
Arie van den Berg.