shatterhand19 / rhythmboxpopm Goto Github PK
View Code? Open in Web Editor NEWScripts for dealing with POPM ID3 frames and Rhythmbox.
License: GNU General Public License v2.0
Scripts for dealing with POPM ID3 frames and Rhythmbox.
License: GNU General Public License v2.0
There are quite a few bugs, so I've made a fork and attached it here as a pull request...
Ideally I'd make lots of individual pull requests, but I needed to make a lot of related changes quickly.
Hi there,
thanks for your work on this tool!
While installing i discovere the following problem:
--- Downloads/RhythmboxPOPM ‹master➔› » sudo sh ./build
...
./build: 13: ./build: javac: not found
./build: 14: ./build: jar: not found
./build: 15: ./build: jar: not found
cp: Aufruf von stat für 'RhythmboxToPOPM.jar' nicht möglich: Datei oder Verzeichnis nicht gefunden
cp: Aufruf von stat für 'POPMToRhythmbox.jar' nicht möglich: Datei oder Verzeichnis nicht gefunden
I'm using linuxmint 19 with
java --version 127 ↵
openjdk 11.0.5 2019-10-15
OpenJDK Runtime Environment (build 11.0.5+10-post-Ubuntu-0ubuntu1.118.04)
OpenJDK 64-Bit Server VM (build 11.0.5+10-post-Ubuntu-0ubuntu1.118.04, mixed mode, sharing)
I'm clearly a dunce when it comes to Java, but i'm getting hung up. I put a print at the top of POPMToRB System.out.println(Arrays.toString(args));
to check if I was crazy, but i get the following output:
$ java POPMToRB /valid/location/**/01*.mp3
[/valid/location/album/01 - file.mp3]
Exception in thread "main" java.nio.charset.MalformedInputException: Input length = 1
at java.nio.charset.CoderResult.throwException(CoderResult.java:281)
at sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:339)
at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:178)
at java.io.InputStreamReader.read(InputStreamReader.java:184)
at java.io.BufferedReader.fill(BufferedReader.java:161)
at java.io.BufferedReader.readLine(BufferedReader.java:324)
at java.io.BufferedReader.readLine(BufferedReader.java:389)
at java.nio.file.Files.readAllLines(Files.java:3205)
at java.nio.file.Files.readAllLines(Files.java:3242)
at POPMToRB.main(POPMToRB.java:41)
and line 41 is:
args = Files.readAllLines(Paths.get(args[0])).get(0).split(",;");
Hey! Thanks! This is exactly what I needed.
I installed in on my local ~/bin/ though, it required changing build
script and popmtorb
and rbtopopm
paths.
I suggest the following changes:
build
→ install
#!/bin/bash
→ #!/bin/bash -e
(fails the whole script on the first non 0 exit code)git clone [email protected]:shatterhand19/RhythmboxPOPM.git
cd RhythmboxPOPM
chmod u+x build
./build
Thanks again, that helped me a lot! :)
Is it possible, that this program only works with mp3 files? I had no success with ogg vorbis tracks
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.