Navigation

    MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Donate
    • Discord
    1. Home
    2. mantha
    M
    • Continue chat with mantha
    • Start new chat with mantha
    • Flag Profile
    • Block User
    • Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Best
    • Groups
    Save
    Saving

    mantha

    @mantha

    14
    Reputation
    19
    Posts
    1065
    Profile views
    2
    Followers
    0
    Following
    Joined Last Online

    mantha Follow

    Posts made by mantha

    • RE: Spotify Play?

      @ejay-ibm
      Hey Ejay,

      many thanks for testing and bug fixing.

      Regarding your findings: The original RegEx still works on my installation, but based on your experience it seams like the RegEx is more stable by just looking for the URL itself. I can´t see any downside of this approach.
      In my test it turn out that “-” and “_” need to be added to the character set, due to they are used e.g. in usernames (spotify_germany) which are part of playlist path.

      Also the escaping is now much more proper (interesting that the raw version had worked…)

      Important finding from ejay
      if raspotify just jump back to track start instead of changing the song, an update of raspotify is needed. I had exactly the same behavior on my installation.

      posted in Bug Hunt
      M
      mantha
    • RE: Spotify Play?

      @ejay-ibm

      please check the console in the dev mode, as well as the filesystem logs…
      module and helper write unfortunately to different log destinations.

      Regarding the next steps I’m going to open a chat…

      posted in Bug Hunt
      M
      mantha
    • RE: Spotify Play?

      @ejay-ibm said in Spotify Play?:

      Why in console error instead of console log ?
      ( Sorry i’m not a dev might be a silly question and I guess the result would be the same if log or error it should be sent to the console… )

      haha… there is a simple answer. I want them to be red to find them more easy. In a final version it should be console log…

      Regarding the RegEx: I just tested them in german. I’m for sure not an RegEx pro (that’s a kind of black magic for me) 😉
      So if you have a better Regex expression feel free to change it.

      The additional escape characters was necessary to wrap the RegEx into the java code.
      Are you getting it to work without these escapes?

      Proposal:
      based on your post it seems to me, like the English version respond with

      open.spotify.com -- https...
      

      instead of

      open.spotify.com - https...
      
      

      So you might need to reflect this in the RegEx

      var re = new RegExp("\\(.open\\.spotify\\.com –+ (https:\\/\\/open\\.spotify\\.com[^ ]*).\\)", "gm")
      
      posted in Bug Hunt
      M
      mantha
    • RE: Spotify Play?

      @ejay-ibm
      in a first step you could check the console log for “[AMK2] openSpotify found:” and if the event PLAY_SPOTIFY was fired…

      posted in Bug Hunt
      M
      mantha
    • RE: Spotify Play?

      @ejay-ibm
      the module is listening to an open.spotify.com answer from Google assistant.
      It seems like the assistant is not aware of the preconfigured music provider and you need to point him in the right direction.

      “search for xxx on Spotify” works in my case. I’m almost sure that in the past also “play xxx from spotify” had worked, but now I got no more an open.spotify.com link backs. Would be interesting how it works for you.

      FYI - I identified that the Device parameter does not work proper in the current github version. need to work on this…

      posted in Bug Hunt
      M
      mantha
    • RE: Spotify Play?

      Hi @rasmus-rytter,

      if two or more people came to the same conclusion, its an indication that its not an to bad idea 🙂
      independent from this post i just had setup my mirror exactly the way @yawns and @richland007 described to you.

      I enhanced MMM-NowPlayingOnSpotify and MMM-AssistantMk2 to make them capable to control Spotify. It´s still in development but if you like you can have a look on my git forks.

      MMM-NowPlayingOnSpotify
      MMM-AssistantMk2

      you need to redo your authorization (Step 2) because we require now also the authorization user-modify-playback-state and you should add “deviceName” into your config-file.

      Im looking forward to your feedback dear alpha-tester 😉

      posted in Bug Hunt
      M
      mantha
    • RE: My SmartMirror based on Goldjunge_Chriz glass

      @strawberry-3.141 you are right, I also struggled to find a accurate “offline” sst solution. Like mentioned in the article I don’t intend to use a “public cloud” solution for STT - due to this I train currently a context aware, tensorflow based “private cloud” STT solution. But it turned out that this is really time consuming… until this is complete I use googles STT API.

      This project is for me just a research project to get a better understanding of AI and cloud services and how to deal with the challenges. The intention to post it here was to support Chris with a impression of the used glass

      posted in Show your Mirror
      M
      mantha
    • RE: My SmartMirror based on Goldjunge_Chriz glass

      @Cato

      There is not much more. It’s just a “Film Coated Plywood” (siebdruckplatte) with two U-profiles (better would be a J-Profile, but i was not able to find a fitting one)
      The Monitor is on one side fixed by the mirror glass and on the backside withave a wooden bar what is also the hock to adopt it on the wall…

      0_1497182946652_20170611_140346.jpg

      If everything is final setup I will put into the plate to mount the cam behind the glass.

      posted in Show your Mirror
      M
      mantha
    • RE: My SmartMirror based on Goldjunge_Chriz glass

      @garbleflux

      Like mentioned by lolobyte this is not based on node.js. I started in node.js but swiched than to my primary development plattform java(fx). I belive it would be easy for a skilled node.js developer to migrate it to node.js due to it is primary just connecting cloud API’s.

      You can find some more information see and the high level architecture in this LinkedIn Article

      posted in Show your Mirror
      M
      mantha
    • My SmartMirror based on Goldjunge_Chriz glass

      Hi together,

      my mirror project makes process. Below you can find the result as well of some snapshots of the building process. Looking forward to your feedback 🙂

      Mirror on YouTube

      0_1497025151119_IMG_20170417_104226.jpg

      0_1497025115913_IMG_20170417_102429.jpg

      0_1497025167614_IMG_20170417_104242.jpg

      0_1497025178996_IMG_20170417_110141.jpg

      posted in Show your Mirror
      M
      mantha
    • 1
    • 2
    • 1 / 2