Can I save my Foobar2000 layout to disk?

39

Solution 1

Besides backing up %AppData%\Foobar2000\Theme.fth, you can also use the Preferences / Default User Interface / Export Theme option.

Solution 2

Yes indeed you can :)

Your layout lives in

%appdata%\foobar2000

Copy everything in that directory and paste it in the same directory on the other machines to transfer layouts/settings.

Share:
39

Related videos on Youtube

Silas Nicholls
Author by

Silas Nicholls

Updated on September 18, 2022

Comments

  • Silas Nicholls
    Silas Nicholls almost 2 years

    I was following this tutorial and trying to implement a profile updating tool. One piece of code they provided was as follows:

    @login_required
    @transaction.atomic
    def update_profile(request):
        if request.method == 'POST':
            user_form = UserForm(request.POST, instance=request.user)
            profile_form = ProfileForm(request.POST, instance=request.user.profile)
            if user_form.is_valid() and profile_form.is_valid():
                user_form.save()
                profile_form.save()
                messages.success(request, _('Your profile was successfully updated!'))
                return redirect('settings:profile')
            else:
                messages.error(request, _('Please correct the error below.'))
        else:
            user_form = UserForm(instance=request.user)
            profile_form = ProfileForm(instance=request.user.profile)
        return render(request, 'profiles/profile.html', {
            'user_form': user_form,
            'profile_form': profile_form
        })
    

    I managed to work out what all of meant apart from the line

    return redirect('settings:profile')
    

    After changing the variables, I get the error :

    NoReverseMatch at /profile/

    'settings' is not a registered namespace

    Do I need to create something else? Any help would be appreciated.

    • Shahid Tariq
      Shahid Tariq over 4 years
      The blog you are following has not mentioned the urls.py file. You need to create a python file named urls.py and add /profile path in there
    • Shahid Tariq
      Shahid Tariq over 4 years
      You can learn how to add urls in your app here [docs.djangoproject.com/en/3.0/topics/http/urls/#example]
  • Silas Nicholls
    Silas Nicholls over 4 years
    Thank you! I ended up just changing the redirect to '/' but your explanation helped me understand.