Coder Social home page Coder Social logo

Comments (7)

marcelveldt avatar marcelveldt commented on August 11, 2024

well, I can just set it to files or something. Point is that you should consider to not use container.content to determine the content type. Better to use listitem.dbtype instead.

from script.skin.helper.widgets.

jeroenpardon avatar jeroenpardon commented on August 11, 2024

Well, that isn't exactly true and dependant on the situation / location. For viewtype selection for example container.content is advised. Apart from that dbtype can't be used everywhere (yet) and has many practical issues.

from script.skin.helper.widgets.

marcelveldt avatar marcelveldt commented on August 11, 2024

OK, I will set the content type for the favourites widget to "files". To determine what content is in the favourites widget you should use ListItem.DBTYPE if you want.

from script.skin.helper.widgets.

jeroenpardon avatar jeroenpardon commented on August 11, 2024

Thanks. I will, the problems I am referring to only pose a problem when using the paths in library windows.

from script.skin.helper.widgets.

marcelveldt avatar marcelveldt commented on August 11, 2024

I'll check in the change later today

from script.skin.helper.widgets.

jeroenpardon avatar jeroenpardon commented on August 11, 2024

No rush, cheers

from script.skin.helper.widgets.

jeroenpardon avatar jeroenpardon commented on August 11, 2024

btw, my request also applies to the other custom content types that are being used in the various nodes like media and pvr

from script.skin.helper.widgets.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.