jansmolders86 / mediacenterjs

A HTML/CSS/Javascript (NodeJS) based Media center
http://mediacenterjs.com
1.29k stars 243 forks source link

Installed and started it on windows 7 x64 get an error. #113

Closed LiamKarlMitchell closed 10 years ago

LiamKarlMitchell commented 10 years ago

The input line is too long.

Does anyone know how to fix this?

jansmolders86 commented 10 years ago

Hej there Liam,

Thanks for trying MediacenterJS. Could you give me some more information? When does this error occur? During setup or when you try running the server? What does the log say?

Thanks!

LiamKarlMitchell commented 10 years ago

Hi @jansmolders86 , I found a solution to it last night, turns out the paths have to use a different slash. It was happening when I ran the server.

Oh and it could of also been the node version that was bundled with it. I ended up copying my old node.js exe back over the one the windows installer put on as it overwrote the version I had which was built the other week from the node.js dev branch.

Maybe the installer could check node --version and if its >= the one its going to install not to bother?. Or maybe I could of clicked cancel I dunno I just kept spamming next to get it installed, I also checked out from git after I had the problem and that code also did it.

/ instead of \ eg i copied the file path from explorer address bar which was like e:\videos and it did not like it. But when I edited the config and changed the \ to a / it worked.

Maybe we need a path.normalize somewhere. http://nodejs.org/api/path.html#path_path_normalize_p

I will have more of a look later if I get the time.

jansmolders86 commented 10 years ago

Aah that makes a lot of sense! Fixing that is already on my todolist (trello item: https://trello.com/c/OeLlRROJ/63-allow-backslashes-in-forms-for-path-inputs-format-them-on-submit-to-the-appopriate-format-forward-slashes-and-ending-with-a-forw)

I will keep this issue open until it is fixed!

Thanks for letting me know about the nodejs version issue. You can just press cancel when prompted like you suggested, I will try to implement a check to see if nodejs is already installed before prompting the setup for node.

Thanks again for your help! Jan

LiamKarlMitchell commented 10 years ago

Oh cool what a nice to do list :D.

I look forward to trying it again so I can watch movies on my chrome book. Darn thing cant view network shares or media streams.

On Wed, Jun 11, 2014 at 2:52 AM, Jan Smolders notifications@github.com wrote:

Aah that makes a lot of sense! Fixing that is already on my todolist (trello item: https://trello.com/c/OeLlRROJ/63-allow-backslashes-in-forms-for-path-inputs-format-them-on-submit-to-the-appopriate-format-forward-slashes-and-ending-with-a-forw)

I will keep this issue open until it is fixed!

Thanks for letting me know about the nodejs version issue. You can just press cancel when prompted like you suggested, I will try to implement a check to see if nodejs is already installed before prompting the setup for node.

Thanks again for your help! Jan

— Reply to this email directly or view it on GitHub https://github.com/jansmolders86/mediacenterjs/issues/113#issuecomment-45623878 .

jansmolders86 commented 10 years ago

Hej @LiamKarlMitchell ,

I believe I've fixed the path issue. I added a path resolve where needed and my test so far have all been succesfull.

About the Chromebook, that's one of the reasons I started to build this application. I'm curious how the performance is!

Thanks again for letting me know!

Jan

LiamKarlMitchell commented 10 years ago

Hey @jansmolders86 so far I have not been able to get it to scan my movies or tv shows. It can do music sometimes but crashes.

It looks like a really nice application and certainly will fills the niche of something to play videos and music on a chrome book that's not a google app or youtube.

I will try it with less things later maybe my entire collection is too much?

jansmolders86 commented 10 years ago

Hej @LiamKarlMitchell,

I currently in the midst of solving an issue which causes problem when trying to write a larger amount of items to the database! I will let you know when this is resolved!

Thanks for letting me know! Jan

LiamKarlMitchell commented 10 years ago

Ah that would be nice thanks :), I look forward to being able to lie in bed with chrome book to watch stuff, maybe even stream it to the Advent Glyph headset when it arrives.

I think the music area could do with some work too maybe a way to view the music rather than playlists or albums, such as tracks that could not have meta data found?

And maybe a file browser for within the directories set for the streamable content.

I will try out the youtube feature later this week prehaps :).

Thanks for the good work.

On Mon, Jun 16, 2014 at 11:57 PM, Jan Smolders notifications@github.com wrote:

Hej @LiamKarlMitchell https://github.com/LiamKarlMitchell,

I currently in the midst of solving an issue which causes problem when trying to write a larger amount of items to the database! I will let you know when this is resolved!

Thanks for letting me know! Jan

— Reply to this email directly or view it on GitHub https://github.com/jansmolders86/mediacenterjs/issues/113#issuecomment-46169401 .

jansmolders86 commented 10 years ago

I think you have two kinds of music listeners. People who listen to albums and people how listen to separate tracks. I agree the later is missing out now with the current music app. But rest assure, this will be addressed in the future.

I made a note of it in Trello. If it is ok with you I'll close this issue for now :)