Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix the name of the song after downloading #89

Open
atuljangra opened this issue Jan 30, 2016 · 7 comments
Open

Fix the name of the song after downloading #89

atuljangra opened this issue Jan 30, 2016 · 7 comments

Comments

@atuljangra
Copy link
Contributor

No description provided.

@atuljangra
Copy link
Contributor Author

Suppose I download : Fun: we are young.
It's a song in mp3 format. So it's name shouldn't be Fun. - We Are Young ft. Janelle Monáe [OFFICIAL VIDEO].mp3
It is problematic while syncing with last.fm and the tags are all messed up.
I tried to use fixalbumart but it doesn't work well too.

@jainaman224
Copy link

How you want your file name to be...? Is it ok if it is same as you have searched for...?

@arsalansaad
Copy link

i would like to work on this.
should i use the same file name as the user searched for?
@yask123

@yask123
Copy link
Owner

yask123 commented Dec 2, 2016

Nopes, try to guess the correct song name using song title.
Clean the title name (Removing artist name, ..other irrelevant stuff from the title)

@swapnil-ss
Copy link

I would like to work on this so if you could suggest where to start as I have already installed the packages and gone through other descriptions till now.

@yask123
Copy link
Owner

yask123 commented Dec 2, 2016

@swapnil-ss Have a look at this file in this line https://github.com/yask123/Instant-Music-Downloader/blob/master/instantmusic-0.1/bin/instantmusic#L163

I am trying to guess the file name of the song to load it for eyed3.

Once you know the file name, you can easily change the file name : http://stackoverflow.com/questions/2759067/rename-files-in-python

@arsalansaad
Copy link

@yask123 can we not use the search query as the filename of the song? it will be easier to implement and more appropriate for the user itself

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants