'use client';

import { createContext } from 'react';

export type PlayerMeta = {
  src: string;
  title?: string;
  artist?: string;
  album?: string;
  cover?: string;
  hasPrev: boolean;
  hasNext: boolean;
};

export const MetaCtx = createContext<PlayerMeta | null>(null);
MetaCtx.displayName = 'AudioPlayerMetaCtx';
