GithubHelp home page GithubHelp logo

rhythmboxpopm's People

Contributors

shatterhand19 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

rhythmboxpopm's Issues

Many fixes and improvements

There are quite a few bugs, so I've made a fork and attached it here as a pull request...

#3

Ideally I'd make lots of individual pull requests, but I needed to make a lot of related changes quickly.

build produces errors

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
  • sorry for german but i think you can see what the error is.

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)

probably nothing: MalformedInputException

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(",;");

A few suggestions

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:

  • buildinstall
  • check if Java is present when installing
  • possibly #!/bin/bash#!/bin/bash -e (fails the whole script on the first non 0 exit code)
  • add info to readme installation section that Java is required
  • also add following instructions there:
git clone [email protected]:shatterhand19/RhythmboxPOPM.git
cd RhythmboxPOPM
chmod u+x build
./build

Thanks again, that helped me a lot! :)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.