#[TFM4N] TruckersFM 4 Neuro [1.0] (first attempt at python and Neuro integration)

1 messages · Page 1 of 1 (latest)

open spruce
#

I'm attempting a basic Neuro integration that updates her about what song is playing on TFM.
I don't have a github atm, I'm contemplating between making an account (and learn how to properly use it lol) and just someone else doing it on their own account for me (idk who's that crazy lule)
Tbh, I don't care even if someone takes this idea and remakes it (better), this was basically an exercise for me.

Update 1: posting the python script that just periodically checks TruckersFM. #1461633923250651218 message

Update 2: Me (and Gemini neuroTroll ) made the base of the integration. #1461633923250651218 message

Update 3: Final integration (1.0) #1461633923250651218 message

open spruce
#

[TFM4N] TruckersFM 4 Neuro [WIP] (first attempt at python and Neuro integration)

#

Update 1: posting the python script that just periodically checks TruckersFM.
-# (partially vibecoded?)
Checks periodically and it isn't really super precise.
edit: newer #1461633923250651218 message

#

How to test:

  1. download python
  2. download truckersfm.py
  3. open cmd or powershell
  4. do pip install truckersfm
  5. run the script
brisk oak
#

What’s in that library? catSUS

open spruce
brisk oak
#

Works on Termux neuroHypers

brisk oak
#

The main

#

Next show?

open spruce
open spruce
open spruce
#

Now I have to figure out Jippity

open spruce
#

Can't instantiate abstract class TrioNeuroAPI without an implementation for abstract method 'handle_action' but I don't have actions to handle neuroCry

open spruce
#

(fixed btw)

#

Jippity seems to react, although the console on python side is getting confusing.

open spruce
#

I had to edited Jippity myself to make him write less lol (and added more lore)

opal basin
#

does this just tell Neuro what song is playing/what the name of the show is? Or does it allow Neuro to know what the DJ is saying in the in-betweens and on the shows?

open spruce
open spruce
#

Can't believe trio gave me hell in python while trying to just catch a keyboard interrupt exception, when all I needed was an asterisk.

#

The answer was 42 indeed.

open spruce
#

the final (messy, redundant and over-engineered) scripts are done (ignore the amount of try except), they are now ready for a dragonball fusion. (postponed for tomorrow)

burnt thicket
open spruce
#

Man, trying to catch exceptions in async is such a pain.

open spruce
open spruce
#

Many every step forward is followed by 3 back.
I'm getting so close.
The reason I'm taking this long is because I got obsessed in adding a direct talking system from the console to Jippity that runs at the same time.

open spruce
#

I've done it.

#

Now all that remains is a bit of cleaning.

#

A job for tomorrow

open spruce
#

nvm, more issues found

open spruce
#

ok, NOW I clean up

open spruce
#

(New) How to test (with Jippity):

  1. download and install python and node.js
  2. download Jippity
  3. open a command prompt window or JavaScript IDE in the jippity folder
  4. follow the instructions from the Jippity git page (create API key, buy credits 5neuros , do npm start)
  5. download my files into another folder
  6. open a command prompt window or Python IDE into that folder
  7. do ⁨⁨pip install -r requirements.txt⁩⁩
  8. do ⁨⁨python [file_name].py⁩⁩ or just double click the python file
#

[TFM4N] TruckersFM 4 Neuro [1.0] (first attempt at python and Neuro integration)

brisk oak
#

I can't test it evilSMH

#

Good job tho vedalCoding

open spruce
#

Fyi, from all the testing I've done and more I still haven't spent 0.01€ 1neuro of credit, so don't be scared of spending a couple of bucks.