Code Monkey home page Code Monkey logo

wisdom-tree's Introduction

About Me:

  • Age 18
  • Programmer
  • Linux user
  • Will code for Monero

Quote

Tech Stack:

C C++ CSS3 HTML5 JavaScript Markdown Python R Rust Shell Script Solidity Heroku Netlify Django Flask FastAPI p5js Nginx MicrosoftSQLServer MySQL SQLite Adobe After Effects Blender Adobe Photoshop Adobe Premiere Pro Gimp Gnu Image Manipulation Program Inkscape NumPy Pandas LINUX

Projects

TUI concentration app, with pomodoro timer, YouTube music player, Lo-fi radio.

18,000 Downloads

250 Stars

Paints an image with vector lines using evolution.

Image processing and basic AI learning project.

Flappy Bird game in Rust.

Rust learning project.

Stupid contacts app.

Api and database learning project.

GitHub Trophies

Top Contributed Repo

GitHub Stats:



wisdom-tree's People

Contributors

benjiko99 avatar coachtinho avatar esamanoaz avatar hacker097 avatar kalvotom avatar noplagiarism avatar yasserfarouk avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

wisdom-tree's Issues

Music tracks overlap on each other

There is a chance to overlap of 2 music tracks.

Steps to reproduce in my case:

  1. Set up custom timer (25 +5)
  2. Play LOFI RADIO 1
  3. After some time music tracks start overlapping

Gobbles a core during breaks

I've seen it multiple times now where, when a break starts, the script grabs and holds an entire core for the duration of the break. I don't have any concrete profiling data yet but am opening this to track and see if anybody else sees this behavior.

Songs suddenly overlap and then the program breaks.

I installed it with PIP. The first time running, it works fine. After that, the music is overlap and I got this error everytime the tree grow:

Traceback (most recent call last):
File "C:\Users\LENOVO\AppData\Local\Programs\Python\Python310\Scripts\wisdom-tree-script.py", line 33, in
sys.exit(load_entry_point('wisdom-tree==0.1.4', 'console_scripts', 'wisdom-tree')())
File "C:\Users\LENOVO\AppData\Local\Programs\Python\Python310\lib\site-packages\wisdom_tree\main.py", line 1030, in run_app
main()
File "C:\Users\LENOVO\AppData\Local\Programs\Python\Python310\lib\site-packages\wisdom_tree\main.py", line 883, in main
addtext(int(maxx / 2), int(maxy * 5 / 6), quote, anilen, stdscr, 2)
File "C:\Users\LENOVO\AppData\Local\Programs\Python\Python310\lib\site-packages\wisdom_tree\main.py", line 109, in addtext
stdscr.addstr(
_curses.error: addwstr() returned ERR

[FEATURE REQUEST] Escape button for going back to the previous menu or escaping input field

After started tree-wisdom, user can change basic song by pressing left or right arrow. If user choose pressing up or down arrow, they will go to select time menu. But then they have no way of going back to the first menu which allow user to change basic song with left and right arrow.

Also, pressing escape doesn't allow going back while the user is in "Custom Timer" or "Select YouTube Song" input field. (I tried to go back by pressing Ctr+C and weird bug happens).

Screencast.from.10-04-2021.09.03.30.AM.mp4

Expected Behavior: Expect escape also allow going back to the previous menu or escape input field.

How to reset age

I made some sort of mistake when first starting this up and it seems that it has aged a day despite me not having put in an actual Pomodoro session yet. This is triggering my OCD hard so is there a way to reset it?

All red in Linux CLI

I don't know why but when I switch to tty3 and run the program from there everything is red for some reason? This doesn't happen in the KDE terminal and I don't know what the problem could be

Unable to play youtube videos

Sorry to post this again, but I am running the same version, and after having fixed the pytube problem, it was working for a while, but now after booting up wisdom-tree for the first time in a while, and I try to play music from youtube it says

“ERROR GETTING AUDIO, PLEASE TRY AGAIN”

Did YouTube change something, rendering the previous PyTube fix now unworkable?

Can't run

Traceback (most recent call last): File "C:\Program Files\Python310\lib\runpy.py", line 196, in _run_module_as_main return _run_code(code, main_globals, None, File "C:\Program Files\Python310\lib\runpy.py", line 86, in _run_code exec(code, run_globals) File "C:\Users\Bhatura\AppData\Roaming\Python\Python310\Scripts\wisdom-tree.exe\__main__.py", line 4, in <module> File "C:\Users\Bhatura\AppData\Roaming\Python\Python310\site-packages\wisdom_tree\__init__.py", line 1, in <module> from .main import * File "C:\Users\Bhatura\AppData\Roaming\Python\Python310\site-packages\wisdom_tree\main.py", line 12, in <module> import vlc File "C:\Users\Bhatura\AppData\Roaming\Python\Python310\site-packages\vlc.py", line 220, in <module> dll, plugin_path = find_lib() File "C:\Users\Bhatura\AppData\Roaming\Python\Python310\site-packages\vlc.py", line 180, in find_lib dll = ctypes.CDLL('.\\' + libname) File "C:\Program Files\Python310\lib\ctypes\__init__.py", line 374, in __init__ self._handle = _dlopen(self._name, mode) FileNotFoundError: Could not find module 'C:\Users\Bhatura\wisdom-tree\libvlc.dll' (or one of its dependencies). Try using the full path with constructor syntax.

connection error when playing playlists

when i select custom playlist and enter a youtube playlist link, it gives me a connection error. this doesn't happen with the play music from youtube option. my firewall is off (yes i know that's stupid but i didn't even realize until now) so that can't be the issue.

[FEATURE REQUEST]

Please integrate the pomodoro data with timewarrior and taskwarrior :) thank you for hard work and dedication towards this beautiful app!

Releases

Hello,

Can you create a release in order to allow users to package wisdom-tree?

Thank you

Unable to play any of the Lo-Fi radios

Hi,

Something has suddenly stopped working and I'm now unable to listen to any of the Lo-Fi radios, I haven't tried playing from youtube yet but lo-fi radio 1 was my jam.

image

What's the best way to get the log output?

End timer now selection is calling breakover

def breakdisplay(self, maxx, maxy):
		self.secondsleft = int(self.breakendtime)-int(time.time())
		timertext = "Break ends in: " + str(int(self.secondsleft/60)).zfill(2) + ":" + str(self.secondsleft%60).zfill(2)
		self.stdscr.addstr(int(maxy*10/11), int(maxx/2-len(timertext)/2), timertext)

		if self.secondsleft == 0:
			mixer.music.unpause()
			self.isbrake = False
			self.breakover = True
			self.alarm.play()

`

Selecting "End timer now" is calling breakover, but ending the timer during pomodoro clock could call a new method.

self.pomodoroover

Then this can display a message about the pomodoro being over instead of the break.

This is Cool

Hey, this is very cool.

Just 1 issue for any mac users, you need to brew install sdl2_mixer or it wont work.

switching tracks doesn't work

Operating system: Windows 10

When I press arrow left/right, or h/l the wisdom tree stops and I get following error:

Traceback (most recent call last): File "C:\Python37\Scripts\wisdom-tree-script.py", line 11, in <module> load_entry_point('wisdom-tree==0.0.1', 'console_scripts', 'wisdom-tree')() File "c:\python37\lib\site-packages\wisdom_tree\main.py", line 514, in run_app main() File "c:\python37\lib\site-packages\wisdom_tree\main.py", line 414, in main + tree1.music_list[tree1.music_list_num].split("/")[0] AttributeError: 'WindowsPath' object has no attribute 'split'

wisdom-tree can’t connect to the internet

I was wondering if anyone knows of a fix for this bug. I’m using the latest version as of Jan 24 2021 at 21:53 UTC. I found wisdom-tree today unable to load music from YouTube, and it seemed to not be connecting to the Internet at all. How would you recommend I fix this issue?

Thank you.

Audio Device Error w/ Pulse Audio on WSL

Upon running the final command to finishing setting up, I'm stuck on this error.
~/wisdom-tree(main) » python3 main.py shared memfd open() failed: Function not implemented ALSA lib confmisc.c:767:(parse_card) cannot find card '0' ALSA lib conf.c:4732:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings ALSA lib conf.c:4732:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory ALSA lib confmisc.c:1246:(snd_func_refer) error evaluating name ALSA lib conf.c:4732:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory ALSA lib conf.c:5220:(snd_config_expand) Evaluate error: No such file or directory ALSA lib pcm.c:2642:(snd_pcm_open_noupdate) Unknown PCM default Traceback (most recent call last): File "main.py", line 11, in <module> mixer.init() pygame.error: ALSA: Couldn't open audio device: No such file or directory

Does wisdom-tree only work on linux based operated systems? I assume it just can't find an audio driver compatible with WSL.

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.