Comments (12)
What do you have the directory set to in your config.js
file?
Do you know what could be causing this code-wise, it would be located in the library_functions.js
file.
If you manage to figure it out feel free to clone my repo, fix the bug and submit a pull request.
from stretto.
It might just need a few path.join
calls instead of using /
characters. See the documentation here. It is not my highest priority supporting windows as it is not my main platform on any of my devices, I just use it for occasional gaming.
from stretto.
my dir is C:\Users\corné\SkyDrive\Musica
by remove the { root: '/' } thingies I solved around 70% of them. I will try again to fix it >.> (cloned your repo already like 2 times xD)
from stretto.
What did you change the { root: '/' } thingies to? submit a pull request and it will all make sense then :)
from stretto.
I actually just removed them because if your path already starts with '/' linux will just call from the main '/' :)
from stretto.
the multiple looping error thing not found yet
from stretto.
Yeh I found that I needed to include it if the file I was serving was anything higher than the current directory. It was a think express.js did to protect users of your app entering urls of higher directories and hacking you apps, but in this case we have control of the urls so I used {root: '/'} to say we can go all the way up to root.
from stretto.
@Eaterofcode is there any other major problems that needed fixing on windows? or does it all work now?
from stretto.
I dont know, been busy with my own project, Im sorry
from stretto.
@Eaterofcode that is fine, if someone finds this thread and is interested they can create the patches needed for window support
from stretto.
Some logs when hard rescanning then reloading the page (perhaps the wrong location stored in file):
C:\Users\benkaiser\GIT\node-music-player>node app.js
connect.multipart() will be removed in connect 3.0
visit https://github.com/senchalabs/connect/wiki/Connect-3.0 for alternatives
connect.limit() will be removed in connect 3.0
Express server listening on port 2000
0 tracks deleted
C:\Users\benkaiser\GIT\node-music-player\node_modules\musicmetadata\lib\index.js
:66
}, done, opts.hasOwnProperty('duration'), fsize);
^
TypeError: Cannot read property 'hasOwnProperty' of undefined
at Stream.<anonymous> (C:\Users\benkaiser\GIT\node-music-player\node_modules
\musicmetadata\lib\index.js:66:18)
at Stream.g (events.js:199:16)
at Stream.emit (events.js:107:17)
at drain (C:\Users\benkaiser\GIT\node-music-player\node_modules\musicmetadat
a\node_modules\through\index.js:36:16)
at Stream.stream.queue.stream.push (C:\Users\benkaiser\GIT\node-music-player
\node_modules\musicmetadata\node_modules\through\index.js:45:5)
at Stream.write (C:\Users\benkaiser\GIT\node-music-player\node_modules\music
metadata\node_modules\through\index.js:14:43)
at Stream.stream.write (C:\Users\benkaiser\GIT\node-music-player\node_module
s\musicmetadata\node_modules\through\index.js:26:11)
at ReadStream.ondata (_stream_readable.js:540:20)
at ReadStream.emit (events.js:107:17)
at readableAddChunk (_stream_readable.js:163:16)
C:\Users\benkaiser\GIT\node-music-player>l^Nn^N
C:\Users\benkaiser\GIT\node-music-player>node app.js
connect.multipart() will be removed in connect 3.0
visit https://github.com/senchalabs/connect/wiki/Connect-3.0 for alternatives
connect.limit() will be removed in connect 3.0
Express server listening on port 2000
Error: ENOENT, stat 'C:\Users\benkaiser\GIT\node-music-player\Users\benkaiser\Mu
sic\soundcloud\smash_mouth___all_star_teddy_cream___mimmo_bootleg_.mp3'
at Error (native)
Error: ENOENT, stat 'C:\Users\benkaiser\GIT\node-music-player\Users\benkaiser\Mu
sic\soundcloud\smash_mouth___all_star_teddy_cream___mimmo_bootleg_.mp3'
at Error (native)
from stretto.
I fixed the above issues and now upon installing soundcloud downloading, scanning the library and most other features (except youtube unless ffmpeg is installed) should work.
If any other issues arise for windows please add them in their own issue.
from stretto.
Related Issues (20)
- Rewrite third-party http images to https HOT 1
- Change sync button color when syncing is currently not running
- Export HOT 4
- Your connection is not secure HOT 1
- Local Files HOT 6
- Spotify login doesn't appear to work HOT 7
- Feature request: Allow importing from YouTube playlists HOT 8
- Possibilities with cross origin requests enabled HOT 1
- Remote control HOT 2
- Repeat button not working as expected HOT 1
- Small UI bug when no results found online HOT 1
- no sound ??? HOT 14
- Working with out Chrome addon? HOT 1
- Trying to get in touch regarding a security issue HOT 1
- Offline Audio - Responses stored with 403
- Qobuz integration HOT 2
- Cant run with docker in windows
- Errors from media playback cause app-wide react error
- Seeking fails due to service-worker middle layer HOT 1
- Add feature for non-library playlists
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from stretto.