Giter Site home page Giter Site logo

Comments (23)

erikrichardlarson avatar erikrichardlarson commented on June 21, 2024 1

Awesome, will post here when the album art release is up

from unbox.

erikrichardlarson avatar erikrichardlarson commented on June 21, 2024

Thanks for sending this over and sorry that you're running into issues here, will take a look at this today and get a new release out.

from unbox.

clarityam avatar clarityam commented on June 21, 2024

Absolutely! After VSCode'ing your src, it looks like my instance of djay may not be spawning the instance of NowPlaying.txt that is required to pull the track information. Not sure if this is due to the recent update or it likely could be an isolated issue with my machine

from unbox.

erikrichardlarson avatar erikrichardlarson commented on June 21, 2024

This looks like something related to the Windows version, used procmon to check for file writes and didn't see track data being written to any files. Going to keep looking into this and see what else can be done, in the meantime I'll refund your subscription.

from unbox.

clarityam avatar clarityam commented on June 21, 2024

No worries on this at all! Also no need to refund anything, I am completely happy with supporting you!

from unbox.

clarityam avatar clarityam commented on June 21, 2024

This looks like something related to the Windows version used procmon to check for file writes and didn't see track data being written to any files. Going to keep looking into this and see what else can be done, in the meantime I'll refund your subscription.

I was able to replicate the same thing you described, I tried switching tracks against different platforms for music just to make sure it was not a random fluke but I was unable to find any process that would spawn the NowPlaying file (using procmon as well). My friend utilizing a Mac couldn't seem to locate the file on his side either but we are yet to test using Unbox on the device, so it may be just an isolated Windows issue. I have in the meantime put in a request to Algoriddim to see if that file is still being created by a process in the software.

Update: Tested it on Mac with the same results, I believe that Djay Pro is not writing the file meant to be read, your code looks fine to me, it's how I would've done the implementation.

from unbox.

erikrichardlarson avatar erikrichardlarson commented on June 21, 2024

Good to know, I was actually able to parse the WAL file to get the artist / track / isrc as records are written to the db so I'll update the poller to use this code this week. Will keep you updated here.

from unbox.

clarityam avatar clarityam commented on June 21, 2024

Fantastic! I will be looking forward to it!

from unbox.

erikrichardlarson avatar erikrichardlarson commented on June 21, 2024

Just pushed a new release that uses a combination of the WAL file and db to get the history updates on Windows, let me know if you run into any issues: https://github.com/erikrichardlarson/unbox/releases/download/11.3/unbox-win.zip

from unbox.

clarityam avatar clarityam commented on June 21, 2024

At the moment, the client reports a successful connection, although I am unable to utilize the local overlay (http://localhost:8001/unbox_overlay.html) on my current computer, it reports "Cannot GET /unbox_overlay.html", in addition, album art (http://localhost:8001/album_art.html) shows nothing.. I have djay installed on another device as well so I am going to test that and get back to you.

from unbox.

erikrichardlarson avatar erikrichardlarson commented on June 21, 2024

Are you accessing the overlay html on the same machine that unbox is running on?

from unbox.

clarityam avatar clarityam commented on June 21, 2024

Indeed. I am attempting to use the localhost URL, I would test the external but it got assigned 192.168.1.x (I am assuming because of the Virtual Machine adapters in windows)

from unbox.

erikrichardlarson avatar erikrichardlarson commented on June 21, 2024

Hmm does the external also fail?

from unbox.

clarityam avatar clarityam commented on June 21, 2024

Let me spin up a VM real quick and I'll take a look. I tested internal on a different computer and had the same issue.

from unbox.

erikrichardlarson avatar erikrichardlarson commented on June 21, 2024

Album art isn't working yet btw, will get an update out for that and will work when an isrc can be resolved.

from unbox.

clarityam avatar clarityam commented on June 21, 2024

No worries. I just tested it on a VM (external IP 192.168.x.x) and I'm having the same issue with "Cannot GET /unbox_overlay.html"

from unbox.

erikrichardlarson avatar erikrichardlarson commented on June 21, 2024

Ah try changing the overlay color to see if that copies over the file needed.

from unbox.

clarityam avatar clarityam commented on June 21, 2024

Haha! Funny enough, that is the solution, works perfectly!

from unbox.

erikrichardlarson avatar erikrichardlarson commented on June 21, 2024

Great glad it's working, I'll fix that too. There is another issue where the first track played isn't picked up sometimes so might need a dummy first track before starting actual set.

from unbox.

clarityam avatar clarityam commented on June 21, 2024

Ah yes, I know that's certainly an issue if unbox is started after Djay as well. (Which is not the way it's to be used anyway) It has that issue til another track is loaded on a deck then it resolves that change in the db. Overall, excellent work though!

from unbox.

erikrichardlarson avatar erikrichardlarson commented on June 21, 2024

Thanks! Where are you playing your tracks from btw? Beatport provides the isrc, but not sure if other track sources do

from unbox.

clarityam avatar clarityam commented on June 21, 2024

I have a few to experiment with, unfortunately, Beatport isn't one of them, however, I have Apple Music, Tidal, and Soundcloud+ available to test! (I've tried Apple Music so far and it reports the Artist and the Track perfectly, Tidal resolves same information, Soundcloud as well!)

from unbox.

clarityam avatar clarityam commented on June 21, 2024

Perfect! Thank you for your hard work on this! It's a fantastic app! (It certainly makes me want to dive more into electron too lol)

from unbox.

Related Issues (20)

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.