Can i play local audio files with wavelink python? - discord.py

I have a discord bot and music cog made with python and wavelink. It works well. I wonder, can i play local files with wavelink? If i can play, how to do that?

You need FFmpeg To Run Local Files i Think, You can search YouTube for playing Local Files using FFmpeg.

Related

Cannot play song on Heroku using Discord.js

I cannot play music with my bot on Heroku today, its written in Discord.js.
But I can play music very well at yesterday, I don't know what happened.(No any info in console)
At first I thought it was an error in my code. I changed the code to the previous version and the error appeared again...
I am using Node js 15 (14 has this issue too, already tried to use Node js 14)
Discord js fork by Matte(I don't think it's Djs's problem)
Heroku free dyno
discord-ytdl-core 5.0.0 with ytdl-core 4.4.4(Lasted)
You probably haven't installed the FFMPEG Buildpack for Heroku. This allowed me to play music on my bot.
If your bot can play locally and not on Heroku, this may be the solution for you:
Below is the link that gives you information on what this buildpack does.
https://elements.heroku.com/buildpacks/jonathanong/heroku-buildpack-ffmpeg-latest

How to Move from Google Play Music to Plex Music

This is for anyone else who, like me, is mourning the sad, soon-coming death of Google Play (Music) and annoyed w/the forced moved to YouTube Music. The question/goal I had was simply "how do I move from Google Play (Music) to Plex Music?" so I figured I'd share my notes/steps here in case anyone else finds it helpful. Reminder: Once Google Play is turned off officially (date unknown, end of 2020?) you won't be able to perform some or all of these steps anymore.
1) Download Your Music from Google
Use Google's "Music Manager" app to download your entire library to your hard drive somewhere.
While you can download your music from Google Play using the Chrome "Google Play" extension I don't recommend if you can avoid it because it's buggy and it doesn't make Artist and Album folders for you like the "Music Manager" app does which, IMHO, is helpful vs a folder w/thousands of unorganized MP3 files.
(1B) Some people may need to refer to the pycryptodomex docs if they encounter compiler issues with gmusicapi and plexapi. Thanks to Paul for the heads up.
2) Setup Plex Music Library
Assuming you have a Plex server setup and running, create a "Plex Music" library item and pick the folder(s) it should use. Once this is done, copy all your music from step #1 above to it, tell Plex to scan the folders and wait for it to finish scanning everything. Confirm all your albums/artists show up, in general, as they did in Google Play (Music).
3) Pull Google Play (Music) Playlists into Plex Music
Reference: https://www.reddit.com/r/PleX/comments/hfgnvk/import_google_play_music_playlists/
Install python for Windows (if not installed already)
Run this in a command prompt to install the python script dependencies:
python -m pip install --upgrade pip gmusicapi plexapi requests
Download copy of this python script here
Get these 3 things from your Plex server:
Plex URL (e.g. http://10.10.1.10:32400)
Active Plex Token via these instructions
Name of the Plex Music library you're importing your Google playlists to
Add the 3 Plex items from #4 above to the top of your copy of the python script and save the file.
Run your copy of the python script in a command prompt: python gmusic_playlists_to_plex.py
Follow prompt instructions to authenticate on Google and watch the magic happen
(You may have to run it a second time after authenticating if it throws an error on first try)
Note: A few of my playlists were mangled a bit (maybe due to deleted songs or metadata oddities but fortunately most of my most-recent/most-used playlists copied over fine.
4) Enjoy Plex Music!
While I know maintaining a music locally (via Plex) will require hard drive/backup maintenance work over time, I have to say I am loving Plex Music so far. There seems to be a bug w/the offline sync (w/the iOS app) but I'm sure they'll fix and aside from that the entire library/playlist/queue experience in Plex Music is actually faster and better than Google Play (IMHO) - loving it so far. I also just discovered today that they have a cool new iOS app dedicated entirely to the music stuff that seems even better than the Google Play iOS app: Plexamp.
Thanks again to the Reddit guys for elements in #3. LMK if I left anything important out or should add a step.

simple hls server - Streaming from local NAS

I'm using FFMPEG to stream to a synology NAS, I cant open the files in VLC over the network. I assume its some sort of CIFS/SMB thing (edit: I think its actually the paths in the .m38u file). I don't really want to setup a nginx server. This is for local use.
Any thoughts on a lightweight solution?
Cheers in advance
Neil
So turns out that my problems stemmed from a bug playing .m3u8 files in vlc versions greater than 3.0.8
https://forum.videolan.org/viewtopic.php?f=14&t=153329
rolled back, and im now working through a nginx docker container.
Thanks anyway!

PHPVIBE - video doesn't create the thumbnail

I have installed phpvibe4 on my surver my website name is surfoye.com I have enabled FFMPEG settings in the admin area, but still it doesn't create any video thumbnail and time duration after uploading any video from my computer.
if someone has experienced this please assist me. Thanks !
Install ffmpeg you can fix it or get a webhosting company which contains ffmpeg I recommend c-server.jp/en
Are you sure you have ffmpeg installed?
Are the paths edited well to your server's ffmpeg in phpvibe's admin?
Have you searched this in their forum, they have tens of topics.
You can also use the tester under their "Requirements".

Has anyone gotten a windows build of FFMPEG to publish to Akamai's CDN via RTMP?

I am trying to live stream a file to Akamai's servers via RTMP from flash and I cannot get past the authentication step even though I know I am using the right username and password (the credentials work in FMLE). I Have found some posts online but they are older and its difficult because no one ever reports what build of FFMPEG they are using.
Has anyone gotten this to work with Windows binaries?
you can try to use a build of ffmpeg with akamai auth support http://sinclairmediatech.com/building-ffmpeg-for-adobe-media-server-akamai-auth/

Resources