Giter VIP home page Giter VIP logo

rajput-hemant / infinitunes Goto Github PK

View Code? Open in Web Editor NEW
166.0 3.0 31.0 6.19 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.18% TypeScript 95.68% CSS 3.96% Shell 0.12% Makefile 0.06%
react taiwindcss jiosaavn-api unofficial-api typescript music-streaming app-router nextjs nextjs13 nextjs14 authjs drizzle drizzle-kit drizzle-orm jotai next-auth nextauth nextauthjs shadcn-ui

infinitunes's Introduction

infinitunes

[WIP] ๐ŸŽต A Simple Music Player Web App made with โ–ฒ Next.js + Tailwind.

infinitunes

โ€ƒ
ย Live Demoย 
โ€ƒ

Building from Source

  • Fetch latest source code from master branch.
git clone https://github.com/rajput-hemant/infinitunes
cd infinitunes
  • Rename .env.example => .env.local, add your own environment variables.

  • Run the app with VS Code or the command line:

bun i || pnpm i || npm i || yarn
bun dev || pnpm dev || npm run dev || yarn dev

Docker and Makefile

  • Build the Docker Image and start the container:
make build
make start
  • Stop the Docker container:
make stop

Deploy Your Own

You can deploy your own hosted version of infinitunes. Just click the link below to deploy a ready-to-go version to Vercel.

Deploy with Vercel

Star History

Star History Chart

Disclaimer

This project is independent of any affiliation with JioSaavn or its associated partners. It is created solely for educational purposes. Usage is at your own discretion, and the developer disclaims responsibility for any misuse or potential damage resulting from the use of this program. Please refrain from duplicating this project for commercial purposes.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Contributors:

Note: It may take up to 24h for the contrib.rocks plugin to update because it's refreshed once a day.

infinitunes's People

Contributors

imgbotapp avatar khushal-ag avatar rajput-hemant avatar renovate[bot] avatar viruop 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

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.