mps-youtube bug and fix

Forum Forums News Announcements mps-youtube bug and fix

Tagged: 

  • This topic has 10 replies, 4 voices, and was last updated Mar 13-8:57 am by masinick.
Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #33025
    Forum Admin
    anticapitalistaanticapitalista

    mps-youtube is giving errors about apt_key.

    Short-term fix is to do the following.

    1. delete ~/.config/mps-youtube/cache_py*
    2. Open mps-youtube and type

    set api_key AIzaSyApOW6Ur8oRM_1OACkkhxnNrbtv0e4qfaM

    3. quit mps-youtube
    4. Start mps-youtube

    Philosophers have interpreted the world in many ways; the point is to change it.

    antiX with runit - leaner and meaner.

    #33108
    Member
    Avatargreyowl

    I need some help with this.

    Where will I find ~/.config/mps-youtube/cache_py* so I can delete it?

    Dell Latitude D610 laptop (1.86 GHz, 2G RAM, 32 bit) - antiX 17

    #33109
    Forum Admin
    anticapitalistaanticapitalista

    In your home folder (~/. = hidden files in eg home/me)

    • This reply was modified 5 months, 2 weeks ago by anticapitalista.

    Philosophers have interpreted the world in many ways; the point is to change it.

    antiX with runit - leaner and meaner.

    #33111
    Member
    Avatargreyowl

    Thanks for the help.
    I went to .config/mps-youtube but I do not see a cache_py* file.
    The only files that I see are: config, play_history, playlist_v2, and transcode.

    Dell Latitude D610 laptop (1.86 GHz, 2G RAM, 32 bit) - antiX 17

    #33112
    Forum Admin
    anticapitalistaanticapitalista

    OK. Jump to step 2.

    Philosophers have interpreted the world in many ways; the point is to change it.

    antiX with runit - leaner and meaner.

    #33371
    Member
    Avatargreevous

    | 1. delete ~/.config/mps-youtube/cache_py*

    This file must be deleted daily, else mps-youtube will not start.

    #33419
    Moderator
    masinickmasinick

    | 1. delete ~/.config/mps-youtube/cache_py*

    This file must be deleted daily, else mps-youtube will not start.

    Since the file is not there you don’t need this step – the file has either been previously deleted or never created, so it’s not a concern.

    Start with
    2. Open mps-youtube…
    and perform the remaining steps.

    See if that works (referring to the four step procedure outlined by anticapitalista).

    Brian Masinick

    #33454
    Member
    Avatargreevous

    | 1. delete ~/.config/mps-youtube/cache_py*

    This file must be deleted daily, else mps-youtube will not start.

    Since the file is not there you don’t need this step – the file has either been previously deleted or never created, so it’s not a concern.

    Start with
    2. Open mps-youtube…
    and perform the remaining steps.

    See if that works (referring to the four step procedure outlined by anticapitalista).

    Hello, Brian!

    This file (~/.config/mps-youtube/cache_py_3.7.3) is created after mps-youtube is stopped.
    The next day, I delete it and then run mps-youtube.
    The instruction written by anticapitalista works. I applied it.
    But every day I delete this file again for the normal operation of the program.

    #33456
    Moderator
    masinickmasinick

    In that case it would be ideal if the program itself checked for the existence of the file and automatically cleaned up, either before or after each run.

    Checking beforehand seems like the best option.

    Brian Masinick

    #33482
    Member
    Avatargreevous
    #!/bin/bash
    rm ~/.config/mps-youtube/cache_py_3.7.3
    mpsyt

    🙂

    • This reply was modified 5 months ago by greevous.
    #33488
    Moderator
    masinickmasinick
    #!/bin/bash
    rm ~/.config/mps-youtube/cache_py_3.7.3
    mpsyt

    🙂

    Yes, a convenient script does the job too. Thanks for sharing it with the community.

    Brian Masinick

Viewing 11 posts - 1 through 11 (of 11 total)
  • You must be logged in to reply to this topic.