Id' avoid putting any type of pine shavings in contact with your soil.
Do as in a closet, and hang pieces of cedar from strings in among your plants instead!