Git Product home page Git Product logo

rajput-hemant / infinitunes Goto Github PK

View Code? Open in Web Editor NEW
70.0 2.0 14.0 5.08 MB

๐ŸŽต A Simple Music Player Web App built using โ–ฒ Next.js, shadcn/ui, TailwindCSS, DrizzleORM and more...

Home Page: https://infinitunes.rajputhemant.me

License: MIT License

JavaScript 0.15% TypeScript 95.44% CSS 4.28% Shell 0.13%
react taiwindcss jiosaavn-api unofficial-api typescript music-streaming app-router nextjs nextjs13 nextjs14

infinitunes's Introduction

Hi there ๐Ÿ‘‹


Expand...
> neofetch
rajput-hemant
            ~~~ I use Arch btw ~~~
โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€ System Information โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
  rajput-hemant@github
  ----------------------
  OS: Arch Linux x86_64
  Shell: zsh 5.9
  Resolution: 1920 x 1080
  CPU: Intel i5-9300 H @ 4.1 GHz
  GPU0: Intel UHD Graphics 630
  GPU1: NVIDIA GeForce GTX 1650 Ti Mobile
โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€ User Information โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค
  Uptime: 20 years, 11 months, 17 days
  Host: GLA University #GLAU
  Kernel: Computer Science and Engineering #CSE
  Languages:
  -----------
  Programming: Java, Python, Dart, ...
  Real: Hindi, English & Kiliki
  Hobbies:
  ---------
  Software: Music, Valorant
  Hardware: Undervolting, Overclocking
  Contact:
  ---------
  Email: hemant.rajput_cs20@gla.ac.in
  LinkedIn: linkedin.com/in/rajput-hemant
  Discord: rajput-hemant#8269
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜

๐Ÿ’ป Tech Stack:

git github arch docker
java py go rs js ts
flutter react nextjs vuejs svelte sveltekit
tailwindcss threejs sh

๐Ÿ“Š GitHub Stats:

Github Stats Streaks
stats streaks

Top Languages

langs

Contribution:

snake
graph

quote
meme

infinitunes's People

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

Watchers

 avatar  avatar

infinitunes's Issues

Undefined properties when playing a song from the homepage

I encountered an issue when attempting to play a song directly from the homepage of my application. The problem occurs when I click on a song card, which dispatches the getSongAsync action to retrieve the song details. After the action is dispatched and fulfilled, I noticed that several properties of the song object are undefined. Here's a code snippet illustrating the problem:

const { song } = useAppSelector((state) => state.root.player);
console.log(song);
// will log the song successfully but still throws an undefined error down in the code

Go to the line

Steps to reproduce:

  • Open the application and navigate to the homepage.
  • Click on a song card to play the corresponding song.
  • The getSongAsync action is dispatched with the appropriate id parameter.
  • After the action is fulfilled, access the song object using useAppSelector.
  • Log the song object or try to access its properties.

Actual behavior:

After dispatching the getSongAsync action, the song object is defined, but several of its properties (including the image property) are undefined.

Expected behavior:

When playing a song from the homepage, the song object should contain all the necessary properties with their respective values after the getSongAsync action is fulfilled.

Additional information:

  • I'm using the thunk middleware to dispatch the getSongAsync action.
  • The action is being dispatched successfully, and the API call retrieves the correct song details.
  • The application state is updated with the fetched song details.
  • However, when accessing the song object after the action is fulfilled, several properties are undefined.

Please let me know if any further information is needed to investigate and resolve this issue. Thank you!

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.